public interface ISSTableSerializer<T>
Modifier and Type | Method and Description |
---|---|
T |
deserializeFromSSTable(java.io.DataInput in,
Descriptor.Version version)
Deserialize into the specified DataInputStream instance in the format
suited for SSTables.
|
void |
serializeForSSTable(T t,
DataOutputPlus out)
Serialize the specified type into the specified DataOutputStream
instance in the format suited for SSTables.
|
void serializeForSSTable(T t, DataOutputPlus out) throws java.io.IOException
t
- type that needs to be serializedout
- DataOutput into which serialization needs to happen.java.io.IOException
T deserializeFromSSTable(java.io.DataInput in, Descriptor.Version version) throws java.io.IOException
in
- DataInput from which deserialization needs to happen.version
- the version for the sstable we're reading fromjava.io.IOException
Copyright © 2017 The Apache Software Foundation