public class DelegatingKeyValueScanner extends Object implements KeyValueScanner
| Modifier and Type | Field and Description |
|---|---|
protected KeyValueScanner |
delegate |
NO_NEXT_INDEXED_KEY| Constructor and Description |
|---|
DelegatingKeyValueScanner(KeyValueScanner delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
backwardSeek(Cell key) |
void |
close() |
void |
enforceSeek() |
org.apache.hadoop.fs.Path |
getFilePath() |
Cell |
getNextIndexedKey() |
long |
getScannerOrder() |
boolean |
isFileScanner() |
Cell |
next() |
Cell |
peek() |
boolean |
realSeekDone() |
boolean |
requestSeek(Cell kv,
boolean forward,
boolean useBloom) |
boolean |
reseek(Cell key) |
boolean |
seek(Cell key) |
boolean |
seekToLastRow() |
boolean |
seekToPreviousRow(Cell key) |
void |
shipped() |
boolean |
shouldUseScanner(Scan scan,
HStore store,
long oldestUnexpiredTS) |
protected KeyValueScanner delegate
public DelegatingKeyValueScanner(KeyValueScanner delegate)
public void shipped() throws IOException
shipped in interface ShipperIOExceptionpublic Cell peek()
peek in interface KeyValueScannerpublic Cell next() throws IOException
next in interface KeyValueScannerIOExceptionpublic boolean seek(Cell key) throws IOException
seek in interface KeyValueScannerIOExceptionpublic boolean reseek(Cell key) throws IOException
reseek in interface KeyValueScannerIOExceptionpublic long getScannerOrder()
getScannerOrder in interface KeyValueScannerpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface KeyValueScannerpublic boolean shouldUseScanner(Scan scan, HStore store, long oldestUnexpiredTS)
shouldUseScanner in interface KeyValueScannerpublic boolean requestSeek(Cell kv, boolean forward, boolean useBloom) throws IOException
requestSeek in interface KeyValueScannerIOExceptionpublic boolean realSeekDone()
realSeekDone in interface KeyValueScannerpublic void enforceSeek() throws IOException
enforceSeek in interface KeyValueScannerIOExceptionpublic boolean isFileScanner()
isFileScanner in interface KeyValueScannerpublic org.apache.hadoop.fs.Path getFilePath()
getFilePath in interface KeyValueScannerpublic boolean backwardSeek(Cell key) throws IOException
backwardSeek in interface KeyValueScannerIOExceptionpublic boolean seekToPreviousRow(Cell key) throws IOException
seekToPreviousRow in interface KeyValueScannerIOExceptionpublic boolean seekToLastRow() throws IOException
seekToLastRow in interface KeyValueScannerIOExceptionpublic Cell getNextIndexedKey()
getNextIndexedKey in interface KeyValueScannerCopyright © 2007–2019 Cloudera. All rights reserved.