Package org.apache.cassandra.io.sstable
Class IndexSummary.IndexSummarySerializer
- java.lang.Object
-
- org.apache.cassandra.io.sstable.IndexSummary.IndexSummarySerializer
-
- Enclosing class:
- IndexSummary
public static class IndexSummary.IndexSummarySerializer extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description IndexSummarySerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexSummary
deserialize(java.io.DataInputStream in, IPartitioner partitioner, int expectedMinIndexInterval, int maxIndexInterval)
Pair<DecoratedKey,DecoratedKey>
deserializeFirstLastKey(java.io.DataInputStream in, IPartitioner partitioner)
Deserializes the first and last key stored in the summary Only for use by offline tools like SSTableMetadataViewer, otherwise SSTable.first/last should be used.void
serialize(IndexSummary t, DataOutputPlus out)
-
-
-
Method Detail
-
serialize
public void serialize(IndexSummary t, DataOutputPlus out) throws java.io.IOException
- Throws:
java.io.IOException
-
deserialize
public IndexSummary deserialize(java.io.DataInputStream in, IPartitioner partitioner, int expectedMinIndexInterval, int maxIndexInterval) throws java.io.IOException
- Throws:
java.io.IOException
-
deserializeFirstLastKey
public Pair<DecoratedKey,DecoratedKey> deserializeFirstLastKey(java.io.DataInputStream in, IPartitioner partitioner) throws java.io.IOException
Deserializes the first and last key stored in the summary Only for use by offline tools like SSTableMetadataViewer, otherwise SSTable.first/last should be used.- Throws:
java.io.IOException
-
-