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,
           boolean haveSamplingLevel,
           int expectedMinIndexInterval,
           int maxIndexInterval) | 
| Pair<DecoratedKey,DecoratedKey> | deserializeFirstLastKey(java.io.DataInputStream in,
                       IPartitioner partitioner,
                       boolean haveSamplingLevel)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,
         boolean withSamplingLevel) | 
public void serialize(IndexSummary t, DataOutputPlus out, boolean withSamplingLevel) throws java.io.IOException
java.io.IOExceptionpublic IndexSummary deserialize(java.io.DataInputStream in, IPartitioner partitioner, boolean haveSamplingLevel, int expectedMinIndexInterval, int maxIndexInterval) throws java.io.IOException
java.io.IOExceptionpublic Pair<DecoratedKey,DecoratedKey> deserializeFirstLastKey(java.io.DataInputStream in, IPartitioner partitioner, boolean haveSamplingLevel) throws java.io.IOException
java.io.IOExceptionCopyright © 2018 The Apache Software Foundation