@InterfaceAudience.Private public class RowNodeReader extends Object
Modifier and Type | Field and Description |
---|---|
protected byte[] |
block
fields
|
protected int |
familyOffsetsOffset |
protected int |
fanIndex |
protected int |
fanOffset |
protected int |
fanOut |
protected int |
mvccVersionIndexesOffset |
protected int |
nextNodeOffsetsOffset |
protected int |
numCells |
protected int |
offset |
protected int |
operationTypesOffset |
protected int |
qualifierOffsetsOffset |
protected int |
tagOffsetsOffset |
protected int |
timestampIndexesOffset |
protected int |
tokenLength |
protected int |
tokenOffset |
protected int |
valueLengthsOffset |
protected int |
valueOffsetsOffset |
Constructor and Description |
---|
RowNodeReader() |
protected byte[] block
protected int offset
protected int fanIndex
protected int numCells
protected int tokenOffset
protected int tokenLength
protected int fanOffset
protected int fanOut
protected int familyOffsetsOffset
protected int qualifierOffsetsOffset
protected int timestampIndexesOffset
protected int mvccVersionIndexesOffset
protected int operationTypesOffset
protected int valueOffsetsOffset
protected int valueLengthsOffset
protected int tagOffsetsOffset
protected int nextNodeOffsetsOffset
public void initOnBlock(PrefixTreeBlockMeta blockMeta, byte[] block, int offset)
public boolean isLeaf()
public boolean isNub()
public boolean isBranch()
public boolean hasOccurrences()
public int getTokenArrayOffset()
public int getTokenLength()
public byte getFanByte(int i)
protected String getFanByteReadable(int i)
public int getFamilyOffset(int index, PrefixTreeBlockMeta blockMeta)
public int getColumnOffset(int index, PrefixTreeBlockMeta blockMeta)
public int getTagOffset(int index, PrefixTreeBlockMeta blockMeta)
public int getTimestampIndex(int index, PrefixTreeBlockMeta blockMeta)
public int getMvccVersionIndex(int index, PrefixTreeBlockMeta blockMeta)
public int getType(int index, PrefixTreeBlockMeta blockMeta)
public int getValueOffset(int index, PrefixTreeBlockMeta blockMeta)
public int getValueLength(int index, PrefixTreeBlockMeta blockMeta)
public int getNextNodeOffset(int index, PrefixTreeBlockMeta blockMeta)
public String getBranchNubLeafIndicator()
public boolean hasChildren()
public int getLastFanIndex()
public int getLastCellIndex()
public int getNumCells()
public int getFanOut()
public byte[] getToken()
public int getOffset()
public int whichFanNode(byte searchForByte)
public void resetFanIndex()
public int getFanIndex()
public void setFanIndex(int fanIndex)
public boolean hasFan()
public boolean hasPreviousFanNodes()
public boolean hasMoreFanNodes()
public boolean isOnLastFanNode()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.