public static class IndexSummary.IndexSummarySerializer
extends java.lang.Object
Constructor and Description |
---|
IndexSummarySerializer() |
Modifier and Type | Method and 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) |
public void serialize(IndexSummary t, DataOutputPlus out) throws java.io.IOException
java.io.IOException
public IndexSummary deserialize(java.io.DataInputStream in, IPartitioner partitioner, int expectedMinIndexInterval, int maxIndexInterval) throws java.io.IOException
java.io.IOException
public Pair<DecoratedKey,DecoratedKey> deserializeFirstLastKey(java.io.DataInputStream in, IPartitioner partitioner) throws java.io.IOException
java.io.IOException
Copyright © 2009- The Apache Software Foundation