protected static class HFileReaderV3.ScannerV3 extends HFileReaderV2.ScannerV2
HFileScanner
interface.Modifier and Type | Field and Description |
---|---|
private int |
currTagsLen |
private HFileReaderV3 |
reader |
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(Cell key,
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.
|
private void |
checkTagsLen() |
protected int |
getCellBufSize() |
Cell |
getKeyValue() |
protected int |
getNextCellStartPosition() |
protected void |
readKeyValueLen() |
protected void |
setNonSeekedState() |
checkKeyValueLen, checkLen, compareKey, compareKey, formNoTagsKeyValue, getFirstKeyInBlock, getKey, getKeyString, getValue, getValueString, loadBlockAndSeekToKey, next, readMvccVersion, readMvccVersion, seekTo, updateCurrBlock
getEffectiveDataBlockEncoding, getNextIndexedKey, readNextDataBlock, reseekTo, reseekTo, seekBefore, seekBefore, seekTo, seekTo, seekTo
assertSeeked, close, getReader, isSeeked, reseekTo, seekBefore, seekTo, toString
private HFileReaderV3 reader
private int currTagsLen
public HFileReaderV3.ScannerV3(HFileReaderV3 r, boolean cacheBlocks, boolean pread, boolean isCompaction)
protected int getCellBufSize()
getCellBufSize
in class HFileReaderV2.ScannerV2
public Cell getKeyValue()
getKeyValue
in interface HFileScanner
getKeyValue
in class HFileReaderV2.ScannerV2
KeyValue
.protected void setNonSeekedState()
setNonSeekedState
in class HFileReaderV2.ScannerV2
protected int getNextCellStartPosition()
getNextCellStartPosition
in class HFileReaderV2.ScannerV2
private final void checkTagsLen()
protected final void readKeyValueLen()
readKeyValueLen
in class HFileReaderV2.ScannerV2
protected int blockSeek(Cell key, boolean seekBefore)
blockSeek
in class HFileReaderV2.ScannerV2
key
- the key to findseekBefore
- find the key before the given key in case of exact match.Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.