Class IndexSummary.IndexSummarySerializer
java.lang.Object
org.apache.cassandra.io.sstable.indexsummary.IndexSummary.IndexSummarySerializer
- Enclosing class:
- IndexSummary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends InputStream & DataInputPlus>
IndexSummarydeserialize(T in, IPartitioner partitioner, int expectedMinIndexInterval, int maxIndexInterval) deserializeFirstLastKey(DataInputPlus.DataInputStreamPlus in, IPartitioner partitioner) Deserializes the first and last key stored in the summaryvoidserialize(IndexSummary t, DataOutputPlus out)
-
Constructor Details
-
IndexSummarySerializer
public IndexSummarySerializer()
-
-
Method Details
-
serialize
- Throws:
IOException
-
deserialize
public <T extends InputStream & DataInputPlus> IndexSummary deserialize(T in, IPartitioner partitioner, int expectedMinIndexInterval, int maxIndexInterval) throws IOException - Throws:
IOException
-
deserializeFirstLastKey
public Pair<DecoratedKey,DecoratedKey> deserializeFirstLastKey(DataInputPlus.DataInputStreamPlus in, IPartitioner partitioner) throws IOException Deserializes the first and last key stored in the summaryOnly for use by offline tools like SSTableMetadataViewer, otherwise SSTable.first/last should be used.
- Throws:
IOException
-