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, nodeExists
private 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.IndexTree
clone
in class BKDReader.IndexTree
public void pushLeft()
pushLeft
in class BKDReader.IndexTree
public void pushRight()
pushRight
in class BKDReader.IndexTree
public void pop()
pop
in class BKDReader.IndexTree
public long getLeafBlockFP()
BKDReader.IndexTree
getLeafBlockFP
in class BKDReader.IndexTree
public BytesRef getSplitDimValue()
BKDReader.IndexTree
getSplitDimValue
in class BKDReader.IndexTree
private void readNodeData(boolean isLeft)