Package org.apache.lucene.util.bkd
Class BKDReader.IndexTree
- java.lang.Object
-
- org.apache.lucene.util.bkd.BKDReader.IndexTree
-
-
Field Summary
Fields Modifier and Type Field Description protected intlevelprotected intnodeIDprotected intsplitDimprotected byte[][]splitPackedValueStack
-
Constructor Summary
Constructors Modifier Constructor Description protectedIndexTree()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract BKDReader.IndexTreeclone()Clone, but you are not allowed to pop up past the point where the clone happened.abstract longgetLeafBlockFP()Only valid after pushLeft or pushRight, not pop!intgetNodeID()intgetNumLeaves()Return the number of leaves below the current node.intgetSplitDim()Only valid after pushLeft or pushRight, not pop!abstract BytesRefgetSplitDimValue()Only valid after pushLeft or pushRight, not pop!byte[]getSplitPackedValue()booleanisLeafNode()booleannodeExists()voidpop()voidpushLeft()voidpushRight()
-
-
-
Method Detail
-
pushLeft
public void pushLeft()
-
clone
public abstract BKDReader.IndexTree clone()
Clone, but you are not allowed to pop up past the point where the clone happened.
-
pushRight
public void pushRight()
-
pop
public void pop()
-
isLeafNode
public boolean isLeafNode()
-
nodeExists
public boolean nodeExists()
-
getNodeID
public int getNodeID()
-
getSplitPackedValue
public byte[] getSplitPackedValue()
-
getSplitDim
public int getSplitDim()
Only valid after pushLeft or pushRight, not pop!
-
getSplitDimValue
public abstract BytesRef getSplitDimValue()
Only valid after pushLeft or pushRight, not pop!
-
getLeafBlockFP
public abstract long getLeafBlockFP()
Only valid after pushLeft or pushRight, not pop!
-
getNumLeaves
public int getNumLeaves()
Return the number of leaves below the current node.
-
-