public interface ISSTableSerializer<T>
| Modifier and Type | Method and Description |
|---|---|
T |
deserializeFromSSTable(java.io.DataInput in,
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.IOExceptionT deserializeFromSSTable(java.io.DataInput in, 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.IOExceptionCopyright © 2018 The Apache Software Foundation