protected static class HFileReaderV3.ScannerV3 extends HFileReaderV2.ScannerV2
HFileScanner interface.block, nextIndexedKeyblockBuffer, blockFetches, cacheBlocks, currKeyLen, currMemstoreTS, currMemstoreTSLen, currValueLen, isCompaction, pread| Constructor and Description |
|---|
HFileReaderV3.ScannerV3(HFileReaderV3 r,
boolean cacheBlocks,
boolean pread,
boolean isCompaction) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
blockSeek(byte[] key,
int offset,
int length,
boolean seekBefore)
Within a loaded block, seek looking for the last key that is smaller than
(or equal to?) the key we are interested in.
|
protected int |
getCellBufSize() |
protected int |
getNextCellStartPosition() |
protected void |
readKeyValueLen() |
protected void |
setNonSeekedState() |
compareKey, getFirstKeyInBlock, getKey, getKeyString, getKeyValue, getValue, getValueString, loadBlockAndSeekToKey, next, readMvccVersion, seekTo, updateCurrBlockreadNextDataBlock, reseekTo, seekBefore, seekTo, seekToassertSeeked, getReader, isSeeked, reseekTo, seekBefore, seekTo, toStringpublic HFileReaderV3.ScannerV3(HFileReaderV3 r, boolean cacheBlocks, boolean pread, boolean isCompaction)
protected int getCellBufSize()
getCellBufSize in class HFileReaderV2.ScannerV2protected void setNonSeekedState()
setNonSeekedState in class HFileReaderV2.ScannerV2protected int getNextCellStartPosition()
getNextCellStartPosition in class HFileReaderV2.ScannerV2protected void readKeyValueLen()
readKeyValueLen in class HFileReaderV2.ScannerV2protected int blockSeek(byte[] key,
int offset,
int length,
boolean seekBefore)
blockSeek in class HFileReaderV2.ScannerV2key - the key to findseekBefore - find the key before the given key in case of exact match.offset - Offset to find the key in the given bytebufferlength - Length of the key to be foundCopyright © 2014 The Apache Software Foundation. All rights reserved.