public class DelegatingKeyValueScanner extends Object implements org.apache.hadoop.hbase.regionserver.KeyValueScanner
Modifier and Type | Field and Description |
---|---|
protected org.apache.hadoop.hbase.regionserver.KeyValueScanner |
delegate |
Constructor and Description |
---|
DelegatingKeyValueScanner(org.apache.hadoop.hbase.regionserver.KeyValueScanner delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
backwardSeek(org.apache.hadoop.hbase.Cell key) |
void |
close() |
void |
enforceSeek() |
org.apache.hadoop.fs.Path |
getFilePath() |
org.apache.hadoop.hbase.Cell |
getNextIndexedKey() |
long |
getScannerOrder() |
boolean |
isFileScanner() |
org.apache.hadoop.hbase.Cell |
next() |
org.apache.hadoop.hbase.Cell |
peek() |
boolean |
realSeekDone() |
boolean |
requestSeek(org.apache.hadoop.hbase.Cell kv,
boolean forward,
boolean useBloom) |
boolean |
reseek(org.apache.hadoop.hbase.Cell key) |
boolean |
seek(org.apache.hadoop.hbase.Cell key) |
boolean |
seekToLastRow() |
boolean |
seekToPreviousRow(org.apache.hadoop.hbase.Cell key) |
void |
shipped() |
boolean |
shouldUseScanner(org.apache.hadoop.hbase.client.Scan scan,
org.apache.hadoop.hbase.regionserver.HStore store,
long oldestUnexpiredTS) |
protected org.apache.hadoop.hbase.regionserver.KeyValueScanner delegate
public DelegatingKeyValueScanner(org.apache.hadoop.hbase.regionserver.KeyValueScanner delegate)
public void shipped() throws IOException
shipped
in interface org.apache.hadoop.hbase.regionserver.Shipper
IOException
public org.apache.hadoop.hbase.Cell peek()
peek
in interface org.apache.hadoop.hbase.regionserver.KeyValueScanner
public org.apache.hadoop.hbase.Cell next() throws IOException
next
in interface org.apache.hadoop.hbase.regionserver.KeyValueScanner
IOException
public boolean seek(org.apache.hadoop.hbase.Cell key) throws IOException
seek
in interface org.apache.hadoop.hbase.regionserver.KeyValueScanner
IOException
public boolean reseek(org.apache.hadoop.hbase.Cell key) throws IOException
reseek
in interface org.apache.hadoop.hbase.regionserver.KeyValueScanner
IOException
public long getScannerOrder()
getScannerOrder
in interface org.apache.hadoop.hbase.regionserver.KeyValueScanner
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.apache.hadoop.hbase.regionserver.KeyValueScanner
public boolean shouldUseScanner(org.apache.hadoop.hbase.client.Scan scan, org.apache.hadoop.hbase.regionserver.HStore store, long oldestUnexpiredTS)
shouldUseScanner
in interface org.apache.hadoop.hbase.regionserver.KeyValueScanner
public boolean requestSeek(org.apache.hadoop.hbase.Cell kv, boolean forward, boolean useBloom) throws IOException
requestSeek
in interface org.apache.hadoop.hbase.regionserver.KeyValueScanner
IOException
public boolean realSeekDone()
realSeekDone
in interface org.apache.hadoop.hbase.regionserver.KeyValueScanner
public void enforceSeek() throws IOException
enforceSeek
in interface org.apache.hadoop.hbase.regionserver.KeyValueScanner
IOException
public boolean isFileScanner()
isFileScanner
in interface org.apache.hadoop.hbase.regionserver.KeyValueScanner
public org.apache.hadoop.fs.Path getFilePath()
getFilePath
in interface org.apache.hadoop.hbase.regionserver.KeyValueScanner
public boolean backwardSeek(org.apache.hadoop.hbase.Cell key) throws IOException
backwardSeek
in interface org.apache.hadoop.hbase.regionserver.KeyValueScanner
IOException
public boolean seekToPreviousRow(org.apache.hadoop.hbase.Cell key) throws IOException
seekToPreviousRow
in interface org.apache.hadoop.hbase.regionserver.KeyValueScanner
IOException
public boolean seekToLastRow() throws IOException
seekToLastRow
in interface org.apache.hadoop.hbase.regionserver.KeyValueScanner
IOException
public org.apache.hadoop.hbase.Cell getNextIndexedKey()
getNextIndexedKey
in interface org.apache.hadoop.hbase.regionserver.KeyValueScanner
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.