public static class RangeTombstoneList.Serializer extends java.lang.Object implements IVersionedSerializer<RangeTombstoneList>
Constructor and Description |
---|
Serializer(CType type) |
Modifier and Type | Method and Description |
---|---|
RangeTombstoneList |
deserialize(java.io.DataInput in,
int version)
Deserialize into the specified DataInputStream instance.
|
void |
serialize(RangeTombstoneList tombstones,
DataOutputPlus out,
int version)
Serialize the specified type into the specified DataOutputStream instance.
|
long |
serializedSize(RangeTombstoneList tombstones,
int version)
Calculate serialized size of object without actually serializing.
|
long |
serializedSize(RangeTombstoneList tombstones,
TypeSizes typeSizes,
int version) |
public Serializer(CType type)
public void serialize(RangeTombstoneList tombstones, DataOutputPlus out, int version) throws java.io.IOException
IVersionedSerializer
serialize
in interface IVersionedSerializer<RangeTombstoneList>
tombstones
- type that needs to be serializedout
- DataOutput into which serialization needs to happen.version
- protocol versionjava.io.IOException
public RangeTombstoneList deserialize(java.io.DataInput in, int version) throws java.io.IOException
IVersionedSerializer
deserialize
in interface IVersionedSerializer<RangeTombstoneList>
in
- DataInput from which deserialization needs to happen.version
- protocol versionjava.io.IOException
public long serializedSize(RangeTombstoneList tombstones, TypeSizes typeSizes, int version)
public long serializedSize(RangeTombstoneList tombstones, int version)
IVersionedSerializer
serializedSize
in interface IVersionedSerializer<RangeTombstoneList>
tombstones
- object to calculate serialized sizeversion
- protocol versionCopyright © 2017 The Apache Software Foundation