protected static class HFileReaderV3.ScannerV3 extends HFileReaderV2.ScannerV2
HFileScanner
interface.block, nextIndexedKey
blockBuffer, 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, updateCurrBlock
readNextDataBlock, reseekTo, seekBefore, seekTo, seekTo
assertSeeked, getReader, isSeeked, reseekTo, seekBefore, seekTo, toString
public HFileReaderV3.ScannerV3(HFileReaderV3 r, boolean cacheBlocks, boolean pread, boolean isCompaction)
protected int getCellBufSize()
getCellBufSize
in class HFileReaderV2.ScannerV2
protected void setNonSeekedState()
setNonSeekedState
in class HFileReaderV2.ScannerV2
protected int getNextCellStartPosition()
getNextCellStartPosition
in class HFileReaderV2.ScannerV2
protected void readKeyValueLen()
readKeyValueLen
in class HFileReaderV2.ScannerV2
protected int blockSeek(byte[] key, int offset, int length, boolean seekBefore)
blockSeek
in class HFileReaderV2.ScannerV2
key
- 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.