Class BKDReader.IndexTree

  • All Implemented Interfaces:
    Enclosing class:

    public abstract class BKDReader.IndexTree
    extends Object
    implements Cloneable
    Used to walk the in-heap index
    NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
    • Field Detail

      • nodeID

        protected int nodeID
      • level

        protected int level
      • splitDim

        protected int splitDim
      • splitPackedValueStack

        protected final byte[][] splitPackedValueStack
    • Constructor Detail

      • IndexTree

        protected IndexTree()
    • 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.
        clone in class Object
      • 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.