public static class SerializationHeader.Component extends MetadataComponent
Modifier and Type | Method and Description |
---|---|
static SerializationHeader.Component |
buildComponentForTools(AbstractType<?> keyType,
java.util.List<AbstractType<?>> clusteringTypes,
java.util.Map<java.nio.ByteBuffer,AbstractType<?>> staticColumns,
java.util.Map<java.nio.ByteBuffer,AbstractType<?>> regularColumns,
EncodingStats stats)
Only exposed for
SSTableHeaderFix . |
boolean |
equals(java.lang.Object o) |
java.util.List<AbstractType<?>> |
getClusteringTypes() |
EncodingStats |
getEncodingStats() |
AbstractType<?> |
getKeyType() |
java.util.Map<java.nio.ByteBuffer,AbstractType<?>> |
getRegularColumns() |
java.util.Map<java.nio.ByteBuffer,AbstractType<?>> |
getStaticColumns() |
MetadataType |
getType() |
int |
hashCode() |
SerializationHeader |
toHeader(TableMetadata metadata) |
java.lang.String |
toString() |
compareTo
public static SerializationHeader.Component buildComponentForTools(AbstractType<?> keyType, java.util.List<AbstractType<?>> clusteringTypes, java.util.Map<java.nio.ByteBuffer,AbstractType<?>> staticColumns, java.util.Map<java.nio.ByteBuffer,AbstractType<?>> regularColumns, EncodingStats stats)
SSTableHeaderFix
.public MetadataType getType()
getType
in class MetadataComponent
public SerializationHeader toHeader(TableMetadata metadata) throws UnknownColumnException
UnknownColumnException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public AbstractType<?> getKeyType()
public java.util.List<AbstractType<?>> getClusteringTypes()
public java.util.Map<java.nio.ByteBuffer,AbstractType<?>> getStaticColumns()
public java.util.Map<java.nio.ByteBuffer,AbstractType<?>> getRegularColumns()
public EncodingStats getEncodingStats()
Copyright © 2009- The Apache Software Foundation