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, wait
skip
public void serialize(IRowCacheEntry entry, DataOutputPlus out) throws java.io.IOException
ISerializer
serialize
in interface ISerializer<IRowCacheEntry>
entry
- type that needs to be serializedout
- DataOutput into which serialization needs to happen.java.io.IOException
public IRowCacheEntry deserialize(DataInputPlus in) throws java.io.IOException
ISerializer
deserialize
in interface ISerializer<IRowCacheEntry>
in
- DataInput from which deserialization needs to happen.java.io.IOException
public long serializedSize(IRowCacheEntry entry)
serializedSize
in interface ISerializer<IRowCacheEntry>
Copyright © 2009- The Apache Software Foundation