Class AbstractTokenTreeBuilder.Node

    • Constructor Detail

      • Node

        public Node​(java.lang.Long minToken,
                    java.lang.Long maxToken)
    • Method Detail

      • isSerializable

        public abstract boolean isSerializable()
      • serialize

        public abstract void serialize​(long childBlockIndex,
                                       java.nio.ByteBuffer buf)
      • childCount

        public abstract int childCount()
      • tokenCount

        public abstract int tokenCount()
      • smallestToken

        public java.lang.Long smallestToken()
      • largestToken

        public java.lang.Long largestToken()
      • isLeaf

        public boolean isLeaf()
      • isLastLeaf

        protected boolean isLastLeaf()
      • isRoot

        protected boolean isRoot()
      • updateTokenRange

        protected void updateTokenRange​(long token)
      • serializeHeader

        protected void serializeHeader​(java.nio.ByteBuffer buf)