T- type for which
TypeInformationinto the Flink type system. The factory is called during the type extraction phase if the corresponding type has been annotated with
TypeInfo. In a hierarchy of types the closest factory will be chosen while traversing upwards, however, a globally registered factory has highest precedence (see
|Constructor and Description|
|Modifier and Type||Method and Description|
Creates type information for the type the factory is targeted for.
public abstract TypeInformation<T> createTypeInfo(Type t, Map<String,TypeInformation<?>> genericParameters)
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
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.