public static class SerializingCacheProvider.RowCacheSerializer extends java.lang.Object implements ISerializer<IRowCacheEntry>
| Constructor and Description |
|---|
RowCacheSerializer() |
| Modifier and Type | Method and Description |
|---|---|
IRowCacheEntry |
deserialize(DataInputPlus in)
Deserialize from the specified DataInput instance.
|
void |
serialize(IRowCacheEntry entry,
DataOutputPlus out)
Serialize the specified type into the specified DataOutput instance.
|
long |
serializedSize(IRowCacheEntry entry) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitskippublic void serialize(IRowCacheEntry entry, DataOutputPlus out) throws java.io.IOException
ISerializerserialize in interface ISerializer<IRowCacheEntry>entry - type that needs to be serializedout - DataOutput into which serialization needs to happen.java.io.IOExceptionpublic IRowCacheEntry deserialize(DataInputPlus in) throws java.io.IOException
ISerializerdeserialize in interface ISerializer<IRowCacheEntry>in - DataInput from which deserialization needs to happen.java.io.IOExceptionpublic long serializedSize(IRowCacheEntry entry)
serializedSize in interface ISerializer<IRowCacheEntry>Copyright © 2009-2020 The Apache Software Foundation