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(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.
|
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, 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
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
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-2016 The Apache Software Foundation. All Rights Reserved.