org.apache.cassandra.db
Class RangeTombstone.Serializer
java.lang.Object
org.apache.cassandra.db.RangeTombstone.Serializer
- All Implemented Interfaces:
- ISSTableSerializer<RangeTombstone>
- Enclosing class:
- RangeTombstone
public static class RangeTombstone.Serializer
- extends java.lang.Object
- implements ISSTableSerializer<RangeTombstone>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RangeTombstone.Serializer
public RangeTombstone.Serializer()
serializeForSSTable
public void serializeForSSTable(RangeTombstone t,
java.io.DataOutput dos)
throws java.io.IOException
- Description copied from interface:
ISSTableSerializer
- Serialize the specified type into the specified DataOutputStream
instance in the format suited for SSTables.
- Specified by:
serializeForSSTable
in interface ISSTableSerializer<RangeTombstone>
- Parameters:
t
- type that needs to be serializeddos
- DataOutput into which serialization needs to happen.
- Throws:
java.io.IOException
deserializeFromSSTable
public RangeTombstone deserializeFromSSTable(java.io.DataInput dis,
Descriptor.Version version)
throws java.io.IOException
- Description copied from interface:
ISSTableSerializer
- Deserialize into the specified DataInputStream instance in the format
suited for SSTables.
- Specified by:
deserializeFromSSTable
in interface ISSTableSerializer<RangeTombstone>
- Parameters:
dis
- DataInput from which deserialization needs to happen.version
- the version for the sstable we're reading from
- Returns:
- the type that was deserialized
- Throws:
java.io.IOException
deserializeBody
public RangeTombstone deserializeBody(java.io.DataInput dis,
java.nio.ByteBuffer min,
Descriptor.Version version)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2013 The Apache Software Foundation