public static class RangeTombstone.Serializer extends java.lang.Object implements ISSTableSerializer<RangeTombstone>
Constructor and Description |
---|
RangeTombstone.Serializer() |
Modifier and Type | Method and Description |
---|---|
RangeTombstone |
deserializeBody(java.io.DataInput in,
java.nio.ByteBuffer 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.
|
void |
serializeForSSTable(RangeTombstone t,
java.io.DataOutput out)
Serialize the specified type into the specified DataOutputStream
instance in the format suited for SSTables.
|
public void serializeForSSTable(RangeTombstone t, java.io.DataOutput 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, java.nio.ByteBuffer min, Descriptor.Version version) throws java.io.IOException
java.io.IOException
Copyright © 2014 The Apache Software Foundation