protected static class HFileReaderV3.ScannerV3 extends HFileReaderV2.ScannerV2
HFileScanner interface.| Modifier and Type | Field and Description |
|---|---|
private int |
currTagsLen |
private HFileReaderV3 |
reader |
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(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, updateCurrBlockgetEffectiveDataBlockEncoding, getNextIndexedKey, readNextDataBlock, reseekTo, reseekTo, seekBefore, seekBefore, seekTo, seekTo, seekToassertSeeked, close, getReader, isSeeked, reseekTo, seekBefore, seekTo, toStringprivate HFileReaderV3 reader
private int currTagsLen
public HFileReaderV3.ScannerV3(HFileReaderV3 r, boolean cacheBlocks, boolean pread, boolean isCompaction)
protected int getCellBufSize()
getCellBufSize in class HFileReaderV2.ScannerV2public Cell getKeyValue()
getKeyValue in interface HFileScannergetKeyValue in class HFileReaderV2.ScannerV2KeyValue.protected void setNonSeekedState()
setNonSeekedState in class HFileReaderV2.ScannerV2protected int getNextCellStartPosition()
getNextCellStartPosition in class HFileReaderV2.ScannerV2private final void checkTagsLen()
protected final void readKeyValueLen()
readKeyValueLen in class HFileReaderV2.ScannerV2protected int blockSeek(Cell key, boolean seekBefore)
blockSeek in class HFileReaderV2.ScannerV2key - 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.