public static class RangeTombstone.Serializer extends java.lang.Object implements ISSTableSerializer<RangeTombstone>
Constructor and Description |
---|
RangeTombstone.Serializer(CType type) |
Modifier and Type | Method and Description |
---|---|
RangeTombstone |
deserializeBody(java.io.DataInput in,
Composite min,
Descriptor.Version version) |
RangeTombstone |
deserializeFromSSTable(java.io.DataInput in,
Descriptor.Version version)
Deserialize into the specified DataInputStream instance in the format
suited for SSTables.
|
long |
serializedSizeForSSTable(RangeTombstone t) |
void |
serializeForSSTable(RangeTombstone t,
DataOutputPlus out)
Serialize the specified type into the specified DataOutputStream
instance in the format suited for SSTables.
|
void |
skipBody(java.io.DataInput in,
Descriptor.Version version) |
public RangeTombstone.Serializer(CType type)
public void serializeForSSTable(RangeTombstone t, DataOutputPlus out) throws java.io.IOException
ISSTableSerializer
serializeForSSTable
in interface ISSTableSerializer<RangeTombstone>
t
- type that needs to be serializedout
- DataOutput into which serialization needs to happen.java.io.IOException
public RangeTombstone deserializeFromSSTable(java.io.DataInput in, Descriptor.Version version) throws java.io.IOException
ISSTableSerializer
deserializeFromSSTable
in interface ISSTableSerializer<RangeTombstone>
in
- DataInput from which deserialization needs to happen.version
- the version for the sstable we're reading fromjava.io.IOException
public RangeTombstone deserializeBody(java.io.DataInput in, Composite min, Descriptor.Version version) throws java.io.IOException
java.io.IOException
public void skipBody(java.io.DataInput in, Descriptor.Version version) throws java.io.IOException
java.io.IOException
public long serializedSizeForSSTable(RangeTombstone t)
Copyright © 2014 The Apache Software Foundation