T - the type of the list elements.public final class ListViewSerializerSnapshot<T> extends Object implements org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<org.apache.flink.table.api.dataview.ListView<T>>
TypeSerializerSnapshot for the ListViewSerializer.| Constructor and Description |
|---|
ListViewSerializerSnapshot()
Constructor for read instantiation.
|
ListViewSerializerSnapshot(org.apache.flink.api.common.typeutils.TypeSerializer<List<T>> listSerializer)
Constructor to create 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<org.apache.flink.table.api.dataview.ListView<T>> |
resolveSchemaCompatibility(org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.table.api.dataview.ListView<T>> newSerializer) |
org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.table.api.dataview.ListView<T>> |
restoreSerializer() |
void |
writeSnapshot(org.apache.flink.core.memory.DataOutputView out) |
public ListViewSerializerSnapshot()
public int getCurrentVersion()
getCurrentVersion in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<org.apache.flink.table.api.dataview.ListView<T>>public org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.table.api.dataview.ListView<T>> restoreSerializer()
restoreSerializer in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<org.apache.flink.table.api.dataview.ListView<T>>public org.apache.flink.api.common.typeutils.TypeSerializerSchemaCompatibility<org.apache.flink.table.api.dataview.ListView<T>> resolveSchemaCompatibility(org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.table.api.dataview.ListView<T>> newSerializer)
resolveSchemaCompatibility in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<org.apache.flink.table.api.dataview.ListView<T>>public void writeSnapshot(org.apache.flink.core.memory.DataOutputView out)
throws IOException
writeSnapshot in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<org.apache.flink.table.api.dataview.ListView<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<org.apache.flink.table.api.dataview.ListView<T>>IOExceptionCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.