T
- the type of the list elements.public final class ListViewSerializerSnapshot<T> extends CompositeTypeSerializerSnapshot<org.apache.flink.table.api.dataview.ListView<T>,org.apache.flink.table.dataview.ListViewSerializer<T>>
TypeSerializerSnapshot
for the ListViewSerializer
.Constructor and Description |
---|
ListViewSerializerSnapshot()
Constructor for read instantiation.
|
ListViewSerializerSnapshot(org.apache.flink.table.dataview.ListViewSerializer<T> listViewSerializer)
Constructor to create the snapshot for writing.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.flink.table.dataview.ListViewSerializer<T> |
createOuterSerializerWithNestedSerializers(TypeSerializer<?>[] nestedSerializers)
Creates an instance of the outer serializer with a given array of its nested serializers.
|
int |
getCurrentOuterSnapshotVersion()
Returns the version of the current outer snapshot's written binary format.
|
protected TypeSerializer<?>[] |
getNestedSerializers(org.apache.flink.table.dataview.ListViewSerializer<T> outerSerializer)
Gets the nested serializers from the outer serializer.
|
getCurrentVersion, isOuterSnapshotCompatible, readOuterSnapshot, readSnapshot, resolveSchemaCompatibility, restoreSerializer, writeOuterSnapshot, writeSnapshot
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readVersionedSnapshot, writeVersionedSnapshot
public ListViewSerializerSnapshot()
public ListViewSerializerSnapshot(org.apache.flink.table.dataview.ListViewSerializer<T> listViewSerializer)
public int getCurrentOuterSnapshotVersion()
CompositeTypeSerializerSnapshot
getCurrentOuterSnapshotVersion
in class CompositeTypeSerializerSnapshot<org.apache.flink.table.api.dataview.ListView<T>,org.apache.flink.table.dataview.ListViewSerializer<T>>
protected org.apache.flink.table.dataview.ListViewSerializer<T> createOuterSerializerWithNestedSerializers(TypeSerializer<?>[] nestedSerializers)
CompositeTypeSerializerSnapshot
createOuterSerializerWithNestedSerializers
in class CompositeTypeSerializerSnapshot<org.apache.flink.table.api.dataview.ListView<T>,org.apache.flink.table.dataview.ListViewSerializer<T>>
nestedSerializers
- array of nested serializers to create the outer serializer with.protected TypeSerializer<?>[] getNestedSerializers(org.apache.flink.table.dataview.ListViewSerializer<T> outerSerializer)
CompositeTypeSerializerSnapshot
getNestedSerializers
in class CompositeTypeSerializerSnapshot<org.apache.flink.table.api.dataview.ListView<T>,org.apache.flink.table.dataview.ListViewSerializer<T>>
outerSerializer
- the outer serializer.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.