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.IOExceptionpublic IndexSummary deserialize(java.io.DataInputStream in, IPartitioner partitioner, int expectedMinIndexInterval, int maxIndexInterval) throws java.io.IOException
java.io.IOExceptionpublic Pair<DecoratedKey,DecoratedKey> deserializeFirstLastKey(java.io.DataInputStream in, IPartitioner partitioner) throws java.io.IOException
java.io.IOExceptionCopyright © 2009-2022 The Apache Software Foundation