@InterfaceAudience.Private public abstract class NonReversedNonLazyKeyValueScanner extends NonLazyKeyValueScanner
Constructor and Description |
---|
NonReversedNonLazyKeyValueScanner() |
Modifier and Type | Method and Description |
---|---|
boolean |
backwardSeek(KeyValue key)
Seek the scanner at or before the row of specified KeyValue, it firstly
tries to seek the scanner at or after the specified KeyValue, return if
peek KeyValue of scanner has the same row with specified KeyValue,
otherwise seek the scanner at the first KeyValue of the row which is the
previous row of specified KeyValue
|
boolean |
seekToLastRow()
Seek the scanner at the first KeyValue of last row
|
boolean |
seekToPreviousRow(KeyValue key)
Seek the scanner at the first KeyValue of the row which is the previous row
of specified key
|
doRealSeek, enforceSeek, isFileScanner, realSeekDone, requestSeek, shouldUseScanner
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getSequenceID, next, peek, reseek, seek
public boolean backwardSeek(KeyValue key) throws IOException
KeyValueScanner
key
- seek KeyValueIOException
public boolean seekToPreviousRow(KeyValue key) throws IOException
KeyValueScanner
key
- seek valueIOException
public boolean seekToLastRow() throws IOException
KeyValueScanner
IOException
Copyright © 2014 The Apache Software Foundation. All rights reserved.