public class AscendingRangeIterator extends Object implements DbIterator
| Constructor and Description |
|---|
AscendingRangeIterator(org.rocksdb.RocksIterator it,
byte[] rangeStart,
boolean strictStart,
byte[] rangeStop,
boolean strictStop)
Constructs an iterator restricted to a range.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
isValid() |
byte[] |
key() |
void |
next() |
void |
prev() |
byte[] |
value() |
public AscendingRangeIterator(org.rocksdb.RocksIterator it,
byte[] rangeStart,
boolean strictStart,
byte[] rangeStop,
boolean strictStop)
public boolean isValid()
isValid in interface DbIteratorpublic void next()
next in interface DbIteratorpublic byte[] key()
key in interface DbIteratorpublic byte[] value()
value in interface DbIteratorpublic void close()
close in interface AutoCloseableclose in interface DbIteratorpublic void prev()
prev in interface DbIteratorCopyright © 2018 Space Applications Services. All rights reserved.