Class SerializationDelegate<T>
java.lang.Object
org.apache.flink.runtime.plugable.SerializationDelegate<T>
- Type Parameters:
T- The type to be represented as an IOReadableWritable.
- All Implemented Interfaces:
org.apache.flink.core.io.IOReadableWritable
public class SerializationDelegate<T>
extends Object
implements org.apache.flink.core.io.IOReadableWritable
The serialization delegate exposes an arbitrary element as a
IOReadableWritable for
serialization, with the help of a type serializer.-
Constructor Summary
ConstructorsConstructorDescriptionSerializationDelegate(org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer) -
Method Summary
Modifier and TypeMethodDescriptionvoidread(org.apache.flink.core.memory.DataInputView in) voidsetInstance(T instance) voidwrite(org.apache.flink.core.memory.DataOutputView out)
-
Constructor Details
-
SerializationDelegate
-
-
Method Details
-
setInstance
-
getInstance
-
write
- Specified by:
writein interfaceorg.apache.flink.core.io.IOReadableWritable- Throws:
IOException
-
read
- Specified by:
readin interfaceorg.apache.flink.core.io.IOReadableWritable- Throws:
IOException
-