@InterfaceAudience.Private public abstract class NonReversedNonLazyKeyValueScanner extends NonLazyKeyValueScanner
NO_NEXT_INDEXED_KEY
Constructor and Description |
---|
NonReversedNonLazyKeyValueScanner() |
Modifier and Type | Method and Description |
---|---|
boolean |
backwardSeek(Cell key)
Seek the scanner at or before the row of specified Cell, it firstly
tries to seek the scanner at or after the specified Cell, return if
peek KeyValue of scanner has the same row with specified Cell,
otherwise seek the scanner at the first Cell 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(Cell key)
Seek the scanner at the first Cell of the row which is the previous row
of specified key
|
doRealSeek, enforceSeek, getFilePath, getNextIndexedKey, isFileScanner, realSeekDone, requestSeek, shipped, shouldUseScanner
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getScannerOrder, next, peek, reseek, seek
public boolean backwardSeek(Cell key) throws IOException
KeyValueScanner
key
- seek KeyValueIOException
public boolean seekToPreviousRow(Cell key) throws IOException
KeyValueScanner
key
- seek valueIOException
public boolean seekToLastRow() throws IOException
KeyValueScanner
IOException
Copyright © 2007–2019 Cloudera. All rights reserved.