| | |
| | | * specified. |
| | | * @return The set of entry IDs. |
| | | */ |
| | | public EntryIDSet readRange(ByteSequence lower, ByteSequence upper, |
| | | boolean lowerIncluded, boolean upperIncluded) |
| | | public EntryIDSet readRange(ReadableStorage txn, |
| | | ByteSequence lower, ByteSequence upper, boolean lowerIncluded, boolean upperIncluded) |
| | | { |
| | | // If this index is not trusted, then just return an undefined id set. |
| | | if(rebuildRunning || !trusted) |
| | |
| | | |
| | | ArrayList<EntryIDSet> lists = new ArrayList<EntryIDSet>(); |
| | | |
| | | Cursor cursor = storage.openCursor(treeName); |
| | | Cursor cursor = txn.openCursor(treeName); |
| | | try |
| | | { |
| | | ByteSequence key = ByteString.empty(); |