|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.regionserver.MemStore.MemStoreScanner
protected class MemStore.MemStoreScanner
Method Summary | |
---|---|
void |
close()
Close the KeyValue scanner. |
protected KeyValue |
getLower(KeyValue first,
KeyValue second)
|
protected KeyValue |
getLowest()
|
protected KeyValue |
getNext(Iterator<KeyValue> it)
|
long |
getSequenceID()
MemStoreScanner returns max value as sequence id because it will always have the latest data among all files. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
protected KeyValue getNext(Iterator<KeyValue> it)
public boolean seek(KeyValue key)
KeyValueScanner
seek
in interface KeyValueScanner
key
- seek value
public boolean reseek(KeyValue key)
KeyValueScanner
reseek
in interface KeyValueScanner
key
- seek value (should be non-null)
public KeyValue peek()
KeyValueScanner
peek
in interface KeyValueScanner
public KeyValue next()
KeyValueScanner
next
in interface KeyValueScanner
protected KeyValue getLowest()
protected KeyValue getLower(KeyValue first, KeyValue second)
public void close()
KeyValueScanner
close
in interface KeyValueScanner
public long getSequenceID()
getSequenceID
in interface KeyValueScanner
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |