Class IsmFormat.Footer

  • Enclosing class:
    IsmFormat

    public abstract static class IsmFormat.Footer
    extends java.lang.Object
    The footer stores the relevant information required to locate the index and bloom filter. It also stores a version byte and the number of keys stored.

    The footer is encoded as the value containing:

    • start of bloom filter offset (big endian long coding)
    • start of shard index position offset (big endian long coding)
    • number of keys in file (big endian long coding)
    • 0x01 (version key as a single byte)
    • Constructor Detail

      • Footer

        public Footer()
    • Method Detail

      • getVersion

        public abstract byte getVersion()
      • getIndexPosition

        public abstract long getIndexPosition()
      • getBloomFilterPosition

        public abstract long getBloomFilterPosition()
      • getNumberOfKeys

        public abstract long getNumberOfKeys()
      • of

        public static IsmFormat.Footer of​(long indexPosition,
                                          long bloomFilterPosition,
                                          long numberOfKeys)