Class IndexSummary.IndexSummarySerializer

  • Enclosing class:
    IndexSummary

    public static class IndexSummary.IndexSummarySerializer
    extends java.lang.Object
    • Constructor Detail

      • IndexSummarySerializer

        public IndexSummarySerializer()
    • 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