|
||||||||||
| 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. |
boolean |
seekExactly(KeyValue kv,
boolean forward)
Similar to seek(org.apache.hadoop.hbase.KeyValue) (or reseek(org.apache.hadoop.hbase.KeyValue) if forward is true) but only
does a seek operation after checking that it is really necessary for the
row/column combination specified by the kv parameter. |
| 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
boolean seekExactly(KeyValue kv,
boolean forward)
throws IOException
seek(org.apache.hadoop.hbase.KeyValue) (or reseek(org.apache.hadoop.hbase.KeyValue) if forward is true) but only
does a seek operation after checking that it is really necessary for the
row/column combination specified by the kv parameter. This function was
added to avoid unnecessary disk seeks on multi-column get queries using
Bloom filter checking. Should only be used for queries where the set of
columns is specified exactly.
IOExceptionlong getSequenceID()
void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||