|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KeyValueScanner
Scanner that returns the next KeyValue.
Method Summary | |
---|---|
void |
close()
Close the KeyValue scanner. |
long |
getSequenceID()
Get the sequence id associated with this KeyValueScanner. |
KeyValue |
next()
Return the next KeyValue in this scanner, iterating the scanner |
KeyValue |
peek()
Look at the next KeyValue in this scanner, but do not iterate scanner. |
boolean |
reseek(KeyValue key)
Reseek the scanner at or after the specified KeyValue. |
boolean |
seek(KeyValue key)
Seek the scanner at or after the specified KeyValue. |
Method Detail |
---|
KeyValue peek()
KeyValue next() throws IOException
IOException
boolean seek(KeyValue key) throws IOException
key
- seek value
IOException
boolean reseek(KeyValue key) throws IOException
key
- seek value (should be non-null)
IOException
long getSequenceID()
void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |