public class EitherTypeInfoFactory<L,R> extends TypeInfoFactory<Either<L,R>>
| Constructor and Description |
|---|
EitherTypeInfoFactory() |
| Modifier and Type | Method and Description |
|---|---|
TypeInformation<Either<L,R>> |
createTypeInfo(Type t,
Map<String,TypeInformation<?>> genericParameters)
Creates type information for the type the factory is targeted for.
|
public TypeInformation<Either<L,R>> createTypeInfo(Type t, Map<String,TypeInformation<?>> genericParameters)
TypeInfoFactorycreateTypeInfo in class TypeInfoFactory<Either<L,R>>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 parameterCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.