Class DelegatingKeyValueScanner
java.lang.Object
org.apache.hadoop.hbase.regionserver.DelegatingKeyValueScanner
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.hadoop.hbase.regionserver.KeyValueScanner
,org.apache.hadoop.hbase.regionserver.Shipper
public class DelegatingKeyValueScanner
extends Object
implements org.apache.hadoop.hbase.regionserver.KeyValueScanner
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.apache.hadoop.hbase.regionserver.KeyValueScanner
Fields inherited from interface org.apache.hadoop.hbase.regionserver.KeyValueScanner
NO_NEXT_INDEXED_KEY
-
Constructor Summary
ConstructorDescriptionDelegatingKeyValueScanner
(org.apache.hadoop.hbase.regionserver.KeyValueScanner delegate) -
Method Summary
Modifier and TypeMethodDescriptionboolean
backwardSeek
(org.apache.hadoop.hbase.ExtendedCell key) void
close()
void
org.apache.hadoop.fs.Path
org.apache.hadoop.hbase.ExtendedCell
long
boolean
org.apache.hadoop.hbase.ExtendedCell
next()
org.apache.hadoop.hbase.ExtendedCell
peek()
boolean
void
recordBlockSize
(IntConsumer blockSizeConsumer) boolean
requestSeek
(org.apache.hadoop.hbase.ExtendedCell kv, boolean forward, boolean useBloom) boolean
reseek
(org.apache.hadoop.hbase.ExtendedCell key) boolean
seek
(org.apache.hadoop.hbase.ExtendedCell key) boolean
boolean
seekToPreviousRow
(org.apache.hadoop.hbase.ExtendedCell key) void
shipped()
boolean
shouldUseScanner
(org.apache.hadoop.hbase.client.Scan scan, org.apache.hadoop.hbase.regionserver.HStore store, long oldestUnexpiredTS)
-
Field Details
-
delegate
-
-
Constructor Details
-
DelegatingKeyValueScanner
-
-
Method Details
-
shipped
- Specified by:
shipped
in interfaceorg.apache.hadoop.hbase.regionserver.Shipper
- Throws:
IOException
-
peek
- Specified by:
peek
in interfaceorg.apache.hadoop.hbase.regionserver.KeyValueScanner
-
next
- Specified by:
next
in interfaceorg.apache.hadoop.hbase.regionserver.KeyValueScanner
- Throws:
IOException
-
seek
- Specified by:
seek
in interfaceorg.apache.hadoop.hbase.regionserver.KeyValueScanner
- Throws:
IOException
-
reseek
- Specified by:
reseek
in interfaceorg.apache.hadoop.hbase.regionserver.KeyValueScanner
- Throws:
IOException
-
getScannerOrder
- Specified by:
getScannerOrder
in interfaceorg.apache.hadoop.hbase.regionserver.KeyValueScanner
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceorg.apache.hadoop.hbase.regionserver.KeyValueScanner
-
shouldUseScanner
public boolean shouldUseScanner(org.apache.hadoop.hbase.client.Scan scan, org.apache.hadoop.hbase.regionserver.HStore store, long oldestUnexpiredTS) - Specified by:
shouldUseScanner
in interfaceorg.apache.hadoop.hbase.regionserver.KeyValueScanner
-
requestSeek
public boolean requestSeek(org.apache.hadoop.hbase.ExtendedCell kv, boolean forward, boolean useBloom) throws IOException - Specified by:
requestSeek
in interfaceorg.apache.hadoop.hbase.regionserver.KeyValueScanner
- Throws:
IOException
-
realSeekDone
- Specified by:
realSeekDone
in interfaceorg.apache.hadoop.hbase.regionserver.KeyValueScanner
-
enforceSeek
- Specified by:
enforceSeek
in interfaceorg.apache.hadoop.hbase.regionserver.KeyValueScanner
- Throws:
IOException
-
isFileScanner
- Specified by:
isFileScanner
in interfaceorg.apache.hadoop.hbase.regionserver.KeyValueScanner
-
getFilePath
- Specified by:
getFilePath
in interfaceorg.apache.hadoop.hbase.regionserver.KeyValueScanner
-
backwardSeek
- Specified by:
backwardSeek
in interfaceorg.apache.hadoop.hbase.regionserver.KeyValueScanner
- Throws:
IOException
-
seekToPreviousRow
- Specified by:
seekToPreviousRow
in interfaceorg.apache.hadoop.hbase.regionserver.KeyValueScanner
- Throws:
IOException
-
seekToLastRow
- Specified by:
seekToLastRow
in interfaceorg.apache.hadoop.hbase.regionserver.KeyValueScanner
- Throws:
IOException
-
getNextIndexedKey
- Specified by:
getNextIndexedKey
in interfaceorg.apache.hadoop.hbase.regionserver.KeyValueScanner
-
recordBlockSize
- Specified by:
recordBlockSize
in interfaceorg.apache.hadoop.hbase.regionserver.KeyValueScanner
-