Class IndexInfo.Serializer

    • Constructor Detail

      • Serializer

        public Serializer​(Version version,
                          java.util.List<AbstractType<?>> clusteringTypes)
    • Method Detail

      • serialize

        public void serialize​(IndexInfo info,
                              DataOutputPlus out)
                       throws java.io.IOException
        Description copied from interface: ISerializer
        Serialize the specified type into the specified DataOutput instance.
        Specified by:
        serialize in interface ISerializer<IndexInfo>
        Parameters:
        info - type that needs to be serialized
        out - DataOutput into which serialization needs to happen.
        Throws:
        java.io.IOException
      • deserialize

        public IndexInfo deserialize​(DataInputPlus in)
                              throws java.io.IOException
        Description copied from interface: ISerializer
        Deserialize from the specified DataInput instance.
        Specified by:
        deserialize in interface ISerializer<IndexInfo>
        Parameters:
        in - DataInput from which deserialization needs to happen.
        Returns:
        the type that was deserialized
        Throws:
        java.io.IOException