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
ISerializer
serialize
in interface ISerializer<IndexHelper.IndexInfo>
info
- type that needs to be serializedout
- DataOutput into which serialization needs to happen.java.io.IOException
public IndexHelper.IndexInfo deserialize(java.io.DataInput in) throws java.io.IOException
ISerializer
deserialize
in interface ISerializer<IndexHelper.IndexInfo>
in
- DataInput from which deserialization needs to happen.java.io.IOException
public long serializedSize(IndexHelper.IndexInfo info, TypeSizes typeSizes)
serializedSize
in interface ISerializer<IndexHelper.IndexInfo>
Copyright © 2016 The Apache Software Foundation