Class OffHeapStarTreeNode
- java.lang.Object
-
- org.apache.pinot.segment.local.startree.OffHeapStarTreeNode
-
- All Implemented Interfaces:
StarTreeNode
public class OffHeapStarTreeNode extends Object implements StarTreeNode
-
-
Field Summary
Fields Modifier and Type Field Description static intNUM_SERIALIZABLE_FIELDSstatic longSERIALIZABLE_SIZE_IN_BYTES-
Fields inherited from interface org.apache.pinot.segment.spi.index.startree.StarTreeNode
ALL
-
-
Constructor Summary
Constructors Constructor Description OffHeapStarTreeNode(PinotDataBuffer dataBuffer, int nodeId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAggregatedDocId()intgetChildDimensionId()StarTreeNodegetChildForDimensionValue(int dimensionValue)Iterator<OffHeapStarTreeNode>getChildrenIterator()intgetDimensionId()intgetDimensionValue()intgetEndDocId()intgetNumChildren()intgetStartDocId()booleanisLeaf()
-
-
-
Field Detail
-
NUM_SERIALIZABLE_FIELDS
public static final int NUM_SERIALIZABLE_FIELDS
- See Also:
- Constant Field Values
-
SERIALIZABLE_SIZE_IN_BYTES
public static final long SERIALIZABLE_SIZE_IN_BYTES
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OffHeapStarTreeNode
public OffHeapStarTreeNode(PinotDataBuffer dataBuffer, int nodeId)
-
-
Method Detail
-
getDimensionId
public int getDimensionId()
- Specified by:
getDimensionIdin interfaceStarTreeNode
-
getDimensionValue
public int getDimensionValue()
- Specified by:
getDimensionValuein interfaceStarTreeNode
-
getChildDimensionId
public int getChildDimensionId()
- Specified by:
getChildDimensionIdin interfaceStarTreeNode
-
getStartDocId
public int getStartDocId()
- Specified by:
getStartDocIdin interfaceStarTreeNode
-
getEndDocId
public int getEndDocId()
- Specified by:
getEndDocIdin interfaceStarTreeNode
-
getAggregatedDocId
public int getAggregatedDocId()
- Specified by:
getAggregatedDocIdin interfaceStarTreeNode
-
getNumChildren
public int getNumChildren()
- Specified by:
getNumChildrenin interfaceStarTreeNode
-
isLeaf
public boolean isLeaf()
- Specified by:
isLeafin interfaceStarTreeNode
-
getChildForDimensionValue
public StarTreeNode getChildForDimensionValue(int dimensionValue)
- Specified by:
getChildForDimensionValuein interfaceStarTreeNode
-
getChildrenIterator
public Iterator<OffHeapStarTreeNode> getChildrenIterator()
- Specified by:
getChildrenIteratorin interfaceStarTreeNode
-
-