Package | Description |
---|---|
org.apache.cassandra.db | |
org.apache.cassandra.io.sstable.format | |
org.apache.cassandra.io.sstable.metadata |
Modifier and Type | Class and Description |
---|---|
static class |
SerializationHeader.Component
We need the TableMetadata 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.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<MetadataType,MetadataComponent> |
SSTableWriter.finalizeMetadata() |
Modifier and Type | Interface and Description |
---|---|
interface |
IMetadataComponentSerializer<T extends MetadataComponent>
Metadata component serializer
|
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.
|
Modifier and Type | Field and Description |
---|---|
IMetadataComponentSerializer<MetadataComponent> |
MetadataType.serializer |
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) |
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> |
MetadataSerializer.deserialize(Descriptor descriptor,
java.util.EnumSet<MetadataType> types) |
java.util.Map<MetadataType,MetadataComponent> |
MetadataSerializer.deserialize(Descriptor descriptor,
FileDataInput in,
java.util.EnumSet<MetadataType> selectedTypes) |
java.util.Map<MetadataType,MetadataComponent> |
MetadataCollector.finalizeMetadata(java.lang.String partitioner,
double bloomFilterFPChance,
long repairedAt,
java.util.UUID pendingRepair,
boolean isTransient,
SerializationHeader header) |
Modifier and Type | Method and Description |
---|---|
int |
MetadataComponent.compareTo(MetadataComponent o) |
Modifier and Type | Method and Description |
---|---|
void |
IMetadataSerializer.rewriteSSTableMetadata(Descriptor descriptor,
java.util.Map<MetadataType,MetadataComponent> currentComponents)
Replace the sstable metadata file (
-Statistics.db ) with the given components. |
void |
MetadataSerializer.rewriteSSTableMetadata(Descriptor descriptor,
java.util.Map<MetadataType,MetadataComponent> currentComponents) |
void |
IMetadataSerializer.serialize(java.util.Map<MetadataType,MetadataComponent> components,
DataOutputPlus out,
Version version)
Serialize given metadata components
|
void |
MetadataSerializer.serialize(java.util.Map<MetadataType,MetadataComponent> components,
DataOutputPlus out,
Version version) |
Copyright © 2009-2020 The Apache Software Foundation