private final class BKDReader.PackedIndexTree extends BKDReader.IndexTree
| Modifier and Type | Field and Description |
|---|---|
private ByteArrayDataInput |
in |
private long[] |
leafBlockFPStack |
private int[] |
leftNodePositions |
private boolean[] |
negativeDeltas |
private int[] |
rightNodePositions |
private BytesRef |
scratch |
private int[] |
splitDims |
private byte[][] |
splitValuesStack |
level, nodeID, splitDim, splitPackedValueStack| Constructor and Description |
|---|
PackedIndexTree() |
| Modifier and Type | Method and Description |
|---|---|
BKDReader.PackedIndexTree |
clone()
Clone, but you are not allowed to pop up past the point where the clone happened.
|
long |
getLeafBlockFP()
Only valid after pushLeft or pushRight, not pop!
|
BytesRef |
getSplitDimValue()
Only valid after pushLeft or pushRight, not pop!
|
void |
pop() |
void |
pushLeft() |
void |
pushRight() |
private void |
readNodeData(boolean isLeft) |
getNodeID, getNumLeaves, getSplitDim, getSplitPackedValue, isLeafNode, nodeExistsprivate final ByteArrayDataInput in
private final long[] leafBlockFPStack
private final int[] leftNodePositions
private final int[] rightNodePositions
private final int[] splitDims
private final boolean[] negativeDeltas
private final byte[][] splitValuesStack
private final BytesRef scratch
public BKDReader.PackedIndexTree clone()
BKDReader.IndexTreeclone in class BKDReader.IndexTreepublic void pushLeft()
pushLeft in class BKDReader.IndexTreepublic void pushRight()
pushRight in class BKDReader.IndexTreepublic void pop()
pop in class BKDReader.IndexTreepublic long getLeafBlockFP()
BKDReader.IndexTreegetLeafBlockFP in class BKDReader.IndexTreepublic BytesRef getSplitDimValue()
BKDReader.IndexTreegetSplitDimValue in class BKDReader.IndexTreeprivate void readNodeData(boolean isLeft)