public static final class TtlStateFactory.TtlSerializerSnapshot<T> extends CompositeTypeSerializerSnapshot<TtlValue<T>,TtlStateFactory.TtlSerializer<T>>
TypeSerializerSnapshot
for TtlSerializer.CompositeTypeSerializerSnapshot.OuterSchemaCompatibility
Constructor and Description |
---|
TtlSerializerSnapshot() |
Modifier and Type | Method and Description |
---|---|
protected TtlStateFactory.TtlSerializer<T> |
createOuterSerializerWithNestedSerializers(TypeSerializer<?>[] nestedSerializers)
Creates an instance of the outer serializer with a given array of its nested serializers.
|
protected int |
getCurrentOuterSnapshotVersion()
Returns the version of the current outer snapshot's written binary format.
|
protected TypeSerializer<?>[] |
getNestedSerializers(TtlStateFactory.TtlSerializer<T> outerSerializer)
Gets the nested serializers from the outer serializer.
|
getCurrentVersion, getNestedSerializerSnapshots, isOuterSnapshotCompatible, readOuterSnapshot, readSnapshot, resolveOuterSchemaCompatibility, resolveSchemaCompatibility, restoreSerializer, writeOuterSnapshot, writeSnapshot
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readVersionedSnapshot, writeVersionedSnapshot
protected int getCurrentOuterSnapshotVersion()
CompositeTypeSerializerSnapshot
getCurrentOuterSnapshotVersion
in class CompositeTypeSerializerSnapshot<TtlValue<T>,TtlStateFactory.TtlSerializer<T>>
protected TypeSerializer<?>[] getNestedSerializers(TtlStateFactory.TtlSerializer<T> outerSerializer)
CompositeTypeSerializerSnapshot
getNestedSerializers
in class CompositeTypeSerializerSnapshot<TtlValue<T>,TtlStateFactory.TtlSerializer<T>>
outerSerializer
- the outer serializer.protected TtlStateFactory.TtlSerializer<T> createOuterSerializerWithNestedSerializers(TypeSerializer<?>[] nestedSerializers)
CompositeTypeSerializerSnapshot
createOuterSerializerWithNestedSerializers
in class CompositeTypeSerializerSnapshot<TtlValue<T>,TtlStateFactory.TtlSerializer<T>>
nestedSerializers
- array of nested serializers to create the outer serializer with.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.