Package org.apache.cassandra.db
Class SerializationHeader.Component
java.lang.Object
org.apache.cassandra.io.sstable.metadata.MetadataComponent
org.apache.cassandra.db.SerializationHeader.Component
- All Implemented Interfaces:
Comparable<MetadataComponent>
- Enclosing class:
- SerializationHeader
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.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanList<AbstractType<?>>AbstractType<?>getType()inthashCode()toHeader(TableMetadata metadata) toString()Methods inherited from class org.apache.cassandra.io.sstable.metadata.MetadataComponent
compareTo
-
Method Details
-
getType
- Specified by:
getTypein classMetadataComponent- Returns:
- Metadata component type
-
toHeader
- Throws:
UnknownColumnException
-
equals
-
hashCode
public int hashCode() -
toString
-
getKeyType
-
getClusteringTypes
-
getStaticColumns
-
getRegularColumns
-
getEncodingStats
-