Uses of Class org.apache.cassandra.io.sstable.metadata.MetadataComponent (apache-cassandra API)
Date: 2018-02-14

## Uses of Class
org.apache.cassandra.io.sstable.metadata.MetadataComponent

- Packages that use MetadataComponent
  Package | Description
  --- | ---
  org.apache.cassandra.db |
  org.apache.cassandra.io.sstable.format |
  org.apache.cassandra.io.sstable.metadata |

- - ### Uses of MetadataComponent in org.apache.cassandra.db

    Subclasses of MetadataComponent in org.apache.cassandra.db
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `SerializationHeader.Component` We need the CFMetadata to properly deserialize a SerializationHeader but it's clunky to pass that to a SSTable component, so we use this temporary object to delay the actual need for the metadata.

  - ### Uses of MetadataComponent in org.apache.cassandra.io.sstable.format

    Methods in org.apache.cassandra.io.sstable.format that return types with arguments of type MetadataComponent
    Modifier and Type | Method and Description
    --- | ---
    `protected java.util.Map<MetadataType,MetadataComponent>` | SSTableWriter.`finalizeMetadata()`

  - ### Uses of MetadataComponent in org.apache.cassandra.io.sstable.metadata

    Classes in org.apache.cassandra.io.sstable.metadata with type parameters of type MetadataComponent
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `IMetadataComponentSerializer<T extends MetadataComponent>` Metadata component serializer

    Subclasses of MetadataComponent in org.apache.cassandra.io.sstable.metadata
    Modifier and Type | Class and Description
    --- | ---
    `class` | `CompactionMetadata` Compaction related SSTable metadata.
    `class` | `StatsMetadata` SSTable metadata that always stay on heap.
    `class` | `ValidationMetadata` SSTable metadata component used only for validating SSTable.

    Fields in org.apache.cassandra.io.sstable.metadata with type parameters of type MetadataComponent
    Modifier and Type | Field and Description
    --- | ---
    `IMetadataComponentSerializer<MetadataComponent>` | MetadataType.`serializer`

    Methods in org.apache.cassandra.io.sstable.metadata that return MetadataComponent
    Modifier and Type | Method and Description
    --- | ---
    `MetadataComponent` | IMetadataSerializer.`deserialize(Descriptor descriptor, MetadataType type)` Deserialized only metadata component specified from given descriptor.
    `MetadataComponent` | MetadataSerializer.`deserialize(Descriptor descriptor, MetadataType type)`

    Methods in org.apache.cassandra.io.sstable.metadata that return types with arguments of type MetadataComponent
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Map<MetadataType,MetadataComponent>` | IMetadataSerializer.`deserialize(Descriptor descriptor, java.util.EnumSet<MetadataType> types)` Deserialize specified metadata components from given descriptor.
    `java.util.Map<MetadataType,MetadataComponent>` | LegacyMetadataSerializer.`deserialize(Descriptor descriptor, java.util.EnumSet<MetadataType> types)` Deprecated. Legacy serializer deserialize all components no matter what types are specified.
    `java.util.Map<MetadataType,MetadataComponent>` | MetadataSerializer.`deserialize(Descriptor descriptor, java.util.EnumSet<MetadataType> types)`
    `java.util.Map<MetadataType,MetadataComponent>` | MetadataSerializer.`deserialize(Descriptor descriptor, FileDataInput in, java.util.EnumSet<MetadataType> types)`
    `java.util.Map<MetadataType,MetadataComponent>` | MetadataCollector.`finalizeMetadata(java.lang.String partitioner, double bloomFilterFPChance, long repairedAt, SerializationHeader header)`

    Methods in org.apache.cassandra.io.sstable.metadata with parameters of type MetadataComponent
    Modifier and Type | Method and Description
    --- | ---
    `int` | MetadataComponent.`compareTo(MetadataComponent o)`

    Method parameters in org.apache.cassandra.io.sstable.metadata with type arguments of type MetadataComponent
    Modifier and Type | Method and Description
    --- | ---
    `void` | IMetadataSerializer.`serialize(java.util.Map<MetadataType,MetadataComponent> components, DataOutputPlus out, Version version)` Serialize given metadata components
    `void` | LegacyMetadataSerializer.`serialize(java.util.Map<MetadataType,MetadataComponent> components, DataOutputPlus out, Version version)` Deprecated. Legacy serialization is only used for SSTable level reset.
    `void` | MetadataSerializer.`serialize(java.util.Map<MetadataType,MetadataComponent> components, DataOutputPlus out, Version version)`

Copyright © 2018 The Apache Software Foundation