Uses of Class
org.apache.flink.types.Either
-
Packages that use Either Package Description org.apache.flink.api.common.typeinfo org.apache.flink.api.java.typeutils org.apache.flink.api.java.typeutils.runtime org.apache.flink.types -
-
Uses of Either in org.apache.flink.api.common.typeinfo
Methods in org.apache.flink.api.common.typeinfo that return types with arguments of type Either Modifier and Type Method Description static <L,R>
TypeInformation<Either<L,R>>Types. EITHER(TypeInformation<L> leftType, TypeInformation<R> rightType)Returns type information for Flink'sEithertype. -
Uses of Either in org.apache.flink.api.java.typeutils
Methods in org.apache.flink.api.java.typeutils that return types with arguments of type Either Modifier and Type Method Description TypeSerializer<Either<L,R>>EitherTypeInfo. createSerializer(ExecutionConfig config)TypeInformation<Either<L,R>>EitherTypeInfoFactory. createTypeInfo(Type t, Map<String,TypeInformation<?>> genericParameters)Class<Either<L,R>>EitherTypeInfo. getTypeClass() -
Uses of Either in org.apache.flink.api.java.typeutils.runtime
Methods in org.apache.flink.api.java.typeutils.runtime that return Either Modifier and Type Method Description Either<L,R>EitherSerializer. copy(Either<L,R> from)Either<L,R>EitherSerializer. copy(Either<L,R> from, Either<L,R> reuse)Either<L,R>EitherSerializer. createInstance()Either<L,R>EitherSerializer. deserialize(DataInputView source)Either<L,R>EitherSerializer. deserialize(Either<L,R> reuse, DataInputView source)Methods in org.apache.flink.api.java.typeutils.runtime that return types with arguments of type Either Modifier and Type Method Description TypeSerializer<Either<L,R>>EitherSerializer. duplicate()TypeSerializerSchemaCompatibility<Either<L,R>>EitherSerializerSnapshot. resolveSchemaCompatibility(TypeSerializer<Either<L,R>> newSerializer)Deprecated.Methods in org.apache.flink.api.java.typeutils.runtime with parameters of type Either Modifier and Type Method Description Either<L,R>EitherSerializer. copy(Either<L,R> from)Either<L,R>EitherSerializer. copy(Either<L,R> from, Either<L,R> reuse)Either<L,R>EitherSerializer. deserialize(Either<L,R> reuse, DataInputView source)voidEitherSerializer. serialize(Either<L,R> record, DataOutputView target)Method parameters in org.apache.flink.api.java.typeutils.runtime with type arguments of type Either Modifier and Type Method Description TypeSerializerSchemaCompatibility<Either<L,R>>EitherSerializerSnapshot. resolveSchemaCompatibility(TypeSerializer<Either<L,R>> newSerializer)Deprecated. -
Uses of Either in org.apache.flink.types
Subclasses of Either in org.apache.flink.types Modifier and Type Class Description static classEither.Left<L,R>A left value ofEitherstatic classEither.Right<L,R>A right value ofEitherMethods in org.apache.flink.types that return Either Modifier and Type Method Description static <L,R>
Either<L,R>Either. Left(L value)Create a Left value of Eitherstatic <L,R>
Either<L,R>Either. Right(R value)Create a Right value of EitherMethods in org.apache.flink.types with parameters of type Either Modifier and Type Method Description static <L,R>
Either.Left<L,R>Either. obtainLeft(Either<L,R> input, TypeSerializer<L> leftSerializer)Utility function forEitherSerializerto support object reuse.static <L,R>
Either.Right<L,R>Either. obtainRight(Either<L,R> input, TypeSerializer<R> rightSerializer)Utility function forEitherSerializerto support object reuse.
-