Class SkipBitStreamIndexWriter.TowerData

  • Enclosing class:
    SkipBitStreamIndexWriter

    public static class SkipBitStreamIndexWriter.TowerData
    extends Object
    A structure maintaining statistical data about tower construction.
    • Field Detail

      • bitsForTopBitSkips

        public long bitsForTopBitSkips
        The number of bits written for bit skips at the top of a tower.
      • bitsForTopSkipPointers

        public long bitsForTopSkipPointers
        The number of bits written for skip pointers at the top of a tower.
      • bitsForLowerBitSkips

        public long bitsForLowerBitSkips
        The number of bits written for bit skips in the lower part of a tower.
      • bitsForLowerSkipPointers

        public long bitsForLowerSkipPointers
        The number of bits written for skip pointers in the lower part of a tower.
      • bitsForTowerLengths

        public long bitsForTowerLengths
        The number of bits written for tower lengths.
      • numberOfSkipTowers

        public long numberOfSkipTowers
        The number of written skip towers.
      • numberOfTopEntries

        public long numberOfTopEntries
        The number of written top skip entries.
      • numberOfLowerEntries

        public long numberOfLowerEntries
        The number of written lower skip entries.
    • Constructor Detail

      • TowerData

        public TowerData()
    • Method Detail

      • bitsForSkipPointers

        public long bitsForSkipPointers()
        Returns the overall number of bits used for skip pointers.
        Returns:
        the overall number of bits used for skip pointers.
      • bitsForBitSkips

        public long bitsForBitSkips()
        Returns the overall number of bits used for bit skips.
        Returns:
        the overall number of bits used for bit skips.
      • bitsForEntries

        public long bitsForEntries()
        Returns the overall number of bits used for tower entries (bits for tower lengths are not included).
        Returns:
        the overall number of bits used for tower entries.
      • bitsForTowers

        public long bitsForTowers()
        Returns the overall number of bits used for towers.
        Returns:
        the overall number of bits used for towers.
      • numberOfEntries

        public long numberOfEntries()
        Returns the overall number of entries.
        Returns:
        the overall number of entries.