Class MetadataSerializer

  • All Implemented Interfaces:
    IMetadataSerializer

    public class MetadataSerializer
    extends java.lang.Object
    implements IMetadataSerializer
    Metadata serializer for SSTables version >= 'na'.
     File format := | number of components (4 bytes) | crc | toc | crc | component1 | c1 crc | component2 | c2 crc | ... |
     toc         := | component type (4 bytes) | position of component |
     
    IMetadataComponent.Type's ordinal() defines the order of serialization.