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 dis,
java.nio.ByteBuffer min,
Descriptor.Version version) |
RangeTombstone |
deserializeFromSSTable(java.io.DataInput dis,
Descriptor.Version version)
Deserialize into the specified DataInputStream instance in the format
suited for SSTables.
|
void |
serializeForSSTable(RangeTombstone t,
java.io.DataOutput dos)
Serialize the specified type into the specified DataOutputStream
instance in the format suited for SSTables.
|
public void serializeForSSTable(RangeTombstone t, java.io.DataOutput dos) throws java.io.IOException
ISSTableSerializerserializeForSSTable in interface ISSTableSerializer<RangeTombstone>t - type that needs to be serializeddos - DataOutput into which serialization needs to happen.java.io.IOExceptionpublic RangeTombstone deserializeFromSSTable(java.io.DataInput dis, Descriptor.Version version) throws java.io.IOException
ISSTableSerializerdeserializeFromSSTable in interface ISSTableSerializer<RangeTombstone>dis - DataInput from which deserialization needs to happen.version - the version for the sstable we're reading fromjava.io.IOExceptionpublic RangeTombstone deserializeBody(java.io.DataInput dis, java.nio.ByteBuffer min, Descriptor.Version version) throws java.io.IOException
java.io.IOExceptionCopyright © 2014 The Apache Software Foundation