public static class IndexInfo.Serializer extends java.lang.Object implements ISerializer<IndexInfo>
| Modifier and Type | Field and Description | 
|---|---|
| static long | WIDTH_BASE | 
| Constructor and Description | 
|---|
| Serializer(Version version,
          ISerializer<ClusteringPrefix> clusteringSerializer) | 
| Modifier and Type | Method and Description | 
|---|---|
| IndexInfo | deserialize(DataInputPlus in)Deserialize from the specified DataInput instance. | 
| void | serialize(IndexInfo info,
         DataOutputPlus out)Serialize the specified type into the specified DataOutput instance. | 
| long | serializedSize(IndexInfo info) | 
| void | skip(DataInputPlus in) | 
public static final long WIDTH_BASE
public Serializer(Version version, ISerializer<ClusteringPrefix> clusteringSerializer)
public void serialize(IndexInfo info, DataOutputPlus out) throws java.io.IOException
ISerializerserialize in interface ISerializer<IndexInfo>info - type that needs to be serializedout - DataOutput into which serialization needs to happen.java.io.IOExceptionpublic void skip(DataInputPlus in) throws java.io.IOException
skip in interface ISerializer<IndexInfo>java.io.IOExceptionpublic IndexInfo deserialize(DataInputPlus in) throws java.io.IOException
ISerializerdeserialize in interface ISerializer<IndexInfo>in - DataInput from which deserialization needs to happen.java.io.IOExceptionpublic long serializedSize(IndexInfo info)
serializedSize in interface ISerializer<IndexInfo>Copyright © 2018 The Apache Software Foundation