public class ArrayListSerializerSnapshot<T> extends Object implements org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<ArrayList<T>>
ArrayListSerializer.| Constructor and Description |
|---|
ArrayListSerializerSnapshot()
Constructor for read instantiation.
|
ArrayListSerializerSnapshot(org.apache.flink.api.common.typeutils.TypeSerializer<T> elementSerializer)
Constructor for creating the snapshot for writing.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCurrentVersion() |
void |
readSnapshot(int readVersion,
org.apache.flink.core.memory.DataInputView in,
ClassLoader userCodeClassLoader) |
org.apache.flink.api.common.typeutils.TypeSerializerSchemaCompatibility<ArrayList<T>> |
resolveSchemaCompatibility(org.apache.flink.api.common.typeutils.TypeSerializer<ArrayList<T>> newSerializer) |
org.apache.flink.api.common.typeutils.TypeSerializer<ArrayList<T>> |
restoreSerializer() |
void |
writeSnapshot(org.apache.flink.core.memory.DataOutputView out) |
public ArrayListSerializerSnapshot()
public ArrayListSerializerSnapshot(org.apache.flink.api.common.typeutils.TypeSerializer<T> elementSerializer)
public int getCurrentVersion()
public org.apache.flink.api.common.typeutils.TypeSerializer<ArrayList<T>> restoreSerializer()
public org.apache.flink.api.common.typeutils.TypeSerializerSchemaCompatibility<ArrayList<T>> resolveSchemaCompatibility(org.apache.flink.api.common.typeutils.TypeSerializer<ArrayList<T>> newSerializer)
public void writeSnapshot(org.apache.flink.core.memory.DataOutputView out)
throws IOException
writeSnapshot in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<ArrayList<T>>IOExceptionpublic void readSnapshot(int readVersion,
org.apache.flink.core.memory.DataInputView in,
ClassLoader userCodeClassLoader)
throws IOException
readSnapshot in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<ArrayList<T>>IOExceptionCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.