Class ReftableWriter.IndexBuilder

  • Enclosing class:
    ReftableWriter

    private class ReftableWriter.IndexBuilder
    extends java.lang.Object
    • Field Detail

      • keyType

        final byte keyType
      • rootPosition

        long rootPosition
      • bytes

        int bytes
      • levels

        int levels
    • Constructor Detail

      • IndexBuilder

        IndexBuilder​(byte kt)
    • Method Detail

      • estimateBytes

        int estimateBytes​(long curBlockPos)
      • writeIndex

        void writeIndex()
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • writeMultiLevelIndex

        private void writeMultiLevelIndex​(java.util.List<BlockWriter.IndexEntry> keys)
                                   throws java.io.IOException
        Throws:
        java.io.IOException