Class IsmFormat.Footer

java.lang.Object
org.apache.beam.runners.dataflow.internal.IsmFormat.Footer
Enclosing class:
IsmFormat

public abstract static class IsmFormat.Footer extends 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)
  • Field Details

  • Constructor Details

    • Footer

      public Footer()
  • Method Details

    • 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)