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