Class EitherTypeInfoFactory<L,R>
- java.lang.Object
-
- org.apache.flink.api.common.typeinfo.TypeInfoFactory<Either<L,R>>
-
- org.apache.flink.api.java.typeutils.EitherTypeInfoFactory<L,R>
-
public class EitherTypeInfoFactory<L,R> extends TypeInfoFactory<Either<L,R>>
-
-
Constructor Summary
Constructors Constructor Description EitherTypeInfoFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeInformation<Either<L,R>>
createTypeInfo(Type t, Map<String,TypeInformation<?>> genericParameters)
Creates type information for the type the factory is targeted for.
-
-
-
Method Detail
-
createTypeInfo
public TypeInformation<Either<L,R>> createTypeInfo(Type t, Map<String,TypeInformation<?>> genericParameters)
Description copied from class:TypeInfoFactory
Creates type information for the type the factory is targeted for. The parameters provide additional information about the type itself as well as the type's generic type parameters.- Specified by:
createTypeInfo
in classTypeInfoFactory<Either<L,R>>
- Parameters:
t
- the exact type the type information is created for; might also be a subclass of <T>genericParameters
- mapping of the type's generic type parameters to type information extracted with Flink's type extraction facilities; null values indicate that type information could not be extracted for this parameter- Returns:
- type information for the type the factory is targeted for
-
-