public static class RangeTombstone.Serializer extends java.lang.Object implements ISSTableSerializer<RangeTombstone>
| Constructor and Description |
|---|
Serializer(CType type) |
| Modifier and Type | Method and Description |
|---|---|
RangeTombstone |
deserializeBody(java.io.DataInput in,
Composite min,
Version version) |
RangeTombstone |
deserializeFromSSTable(java.io.DataInput in,
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,
Version version) |
public Serializer(CType type)
public void serializeForSSTable(RangeTombstone t, DataOutputPlus out) throws java.io.IOException
ISSTableSerializerserializeForSSTable in interface ISSTableSerializer<RangeTombstone>t - type that needs to be serializedout - DataOutput into which serialization needs to happen.java.io.IOExceptionpublic RangeTombstone deserializeFromSSTable(java.io.DataInput in, Version version) throws java.io.IOException
ISSTableSerializerdeserializeFromSSTable in interface ISSTableSerializer<RangeTombstone>in - DataInput from which deserialization needs to happen.version - the version for the sstable we're reading fromjava.io.IOExceptionpublic RangeTombstone deserializeBody(java.io.DataInput in, Composite min, Version version) throws java.io.IOException
java.io.IOExceptionpublic void skipBody(java.io.DataInput in,
Version version)
throws java.io.IOException
java.io.IOExceptionpublic long serializedSizeForSSTable(RangeTombstone t)
Copyright © 2018 The Apache Software Foundation