Class ScalaEitherSerializerSnapshot<L,R>
java.lang.Object
org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<scala.util.Either<L,R>,<any>>
org.apache.flink.table.api.typeutils.ScalaEitherSerializerSnapshot<L,R>
- All Implemented Interfaces:
org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<scala.util.Either<L,R>>
@Internal
public class ScalaEitherSerializerSnapshot<L,R>
extends org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<scala.util.Either<L,R>,<any>>
Configuration snapshot for serializers of Scala's
Either type, containing configuration
snapshots of the Left and Right serializers.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot
org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot.OuterSchemaCompatibility -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for read instantiation.ScalaEitherSerializerSnapshot(<any> eitherSerializer) Constructor to create the snapshot for writing. -
Method Summary
Modifier and TypeMethodDescriptionprotected <any>createOuterSerializerWithNestedSerializers(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers) intprotected org.apache.flink.api.common.typeutils.TypeSerializer<?>[]getNestedSerializers(<any> outerSerializer) Methods inherited from class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot
getCurrentVersion, getNestedSerializerSnapshots, isOuterSnapshotCompatible, readOuterSnapshot, readSnapshot, resolveOuterSchemaCompatibility, resolveOuterSchemaCompatibility, resolveSchemaCompatibility, restoreSerializer, writeOuterSnapshot, writeSnapshot
-
Constructor Details
-
ScalaEitherSerializerSnapshot
public ScalaEitherSerializerSnapshot()Constructor for read instantiation. -
ScalaEitherSerializerSnapshot
public ScalaEitherSerializerSnapshot(<any> eitherSerializer) Constructor to create the snapshot for writing.
-
-
Method Details
-
getCurrentOuterSnapshotVersion
public int getCurrentOuterSnapshotVersion() -
createOuterSerializerWithNestedSerializers
protected <any> createOuterSerializerWithNestedSerializers(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers) -
getNestedSerializers
protected org.apache.flink.api.common.typeutils.TypeSerializer<?>[] getNestedSerializers(<any> outerSerializer)
-