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