Class IsmFormat.Footer
java.lang.Object
org.apache.beam.runners.dataflow.internal.IsmFormat.Footer
- Enclosing class:
 IsmFormat
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final byte - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionabstract longabstract longabstract longabstract bytestatic IsmFormat.Footerof(long indexPosition, long bloomFilterPosition, long numberOfKeys)  
- 
Field Details
- 
LONG_BYTES
public static final int LONG_BYTES- See Also:
 
 - 
FIXED_LENGTH
public static final int FIXED_LENGTH- See Also:
 
 - 
VERSION
public static final byte VERSION- See Also:
 
 
 - 
 - 
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
 
 -