Uses of Interface
org.apache.flink.table.catalog.DataTypeFactory
Packages that use DataTypeFactory
Package
Description
-
Uses of DataTypeFactory in org.apache.flink.table.functions
Methods in org.apache.flink.table.functions with parameters of type DataTypeFactoryModifier and TypeMethodDescriptionAggregateFunction.getTypeInference(DataTypeFactory typeFactory) AggregateFunctionDefinition.getTypeInference(DataTypeFactory typeFactory) Deprecated.AsyncScalarFunction.getTypeInference(DataTypeFactory typeFactory) AsyncTableFunction.getTypeInference(DataTypeFactory typeFactory) BuiltInFunctionDefinition.getTypeInference(DataTypeFactory typeFactory) FunctionDefinition.getTypeInference(DataTypeFactory typeFactory) Returns the logic for performing type inference of a call to this function definition.ProcessTableFunction.getTypeInference(DataTypeFactory typeFactory) ScalarFunction.getTypeInference(DataTypeFactory typeFactory) ScalarFunctionDefinition.getTypeInference(DataTypeFactory factory) Deprecated.TableAggregateFunction.getTypeInference(DataTypeFactory typeFactory) TableAggregateFunctionDefinition.getTypeInference(DataTypeFactory typeFactory) Deprecated.TableFunction.getTypeInference(DataTypeFactory typeFactory) TableFunctionDefinition.getTypeInference(DataTypeFactory typeFactory) Deprecated.abstract TypeInferenceUserDefinedFunction.getTypeInference(DataTypeFactory typeFactory) Returns the logic for performing type inference of a call to this function definition. -
Uses of DataTypeFactory in org.apache.flink.table.functions.python
Methods in org.apache.flink.table.functions.python with parameters of type DataTypeFactoryModifier and TypeMethodDescriptionPythonAggregateFunction.getTypeInference(DataTypeFactory typeFactory) PythonScalarFunction.getTypeInference(DataTypeFactory typeFactory) PythonTableAggregateFunction.getTypeInference(DataTypeFactory typeFactory) PythonTableFunction.getTypeInference(DataTypeFactory typeFactory) -
Uses of DataTypeFactory in org.apache.flink.table.procedures
Methods in org.apache.flink.table.procedures with parameters of type DataTypeFactoryModifier and TypeMethodDescriptionProcedureDefinition.getTypeInference(DataTypeFactory typeFactory) -
Uses of DataTypeFactory in org.apache.flink.table.types
Methods in org.apache.flink.table.types with parameters of type DataTypeFactoryModifier and TypeMethodDescriptionUnresolvedDataType.toDataType(DataTypeFactory factory) Converts this instance to a resolvedDataTypepossibly enriched with additional nullability and conversion class information.Constructor parameters in org.apache.flink.table.types with type arguments of type DataTypeFactoryModifierConstructorDescriptionUnresolvedDataType(Supplier<String> description, Function<DataTypeFactory, DataType> resolutionFactory) -
Uses of DataTypeFactory in org.apache.flink.table.types.extraction
Methods in org.apache.flink.table.types.extraction with parameters of type DataTypeFactoryModifier and TypeMethodDescriptionstatic DataTypeDataTypeExtractor.extractFromGeneric(DataTypeFactory typeFactory, Class<?> baseClass, int genericPos, Type contextType) Extracts a data type from a type variable atgenericPosofbaseClassusing the information of the most specific typecontextType.static DataTypeDataTypeExtractor.extractFromGenericMethodParameter(DataTypeFactory typeFactory, Class<?> baseClass, Method method, int paramPos, int genericPos) Extracts a data type from a method parameter by considering surrounding classes and parameter annotation.static DataTypeDataTypeExtractor.extractFromMethodParameter(DataTypeFactory typeFactory, Class<?> baseClass, Method method, int paramPos) Extracts a data type from a method parameter by considering surrounding classes and parameter annotation.static DataTypeDataTypeExtractor.extractFromMethodReturnType(DataTypeFactory typeFactory, Class<?> baseClass, Method method) Extracts a data type from a method return type by considering surrounding classes and method annotation.static DataTypeDataTypeExtractor.extractFromMethodReturnType(DataTypeFactory typeFactory, Class<?> baseClass, Method method, Type methodReturnType) Extracts a data type from a method return type with specifying the method's type explicitly by considering surrounding classes and method annotation.static DataTypeDataTypeExtractor.extractFromType(DataTypeFactory typeFactory, Type type) Extracts a data type from a type without considering surrounding classes or templates.static DataTypeDataTypeExtractor.extractFromType(DataTypeFactory typeFactory, org.apache.flink.table.types.extraction.DataTypeTemplate template, Type type) Extracts a data type from a type without considering surrounding classes but templates.static TypeInferenceTypeInferenceExtractor.forAggregateFunction(DataTypeFactory typeFactory, Class<? extends AggregateFunction<?, ?>> function) Extracts a type inference from aAggregateFunction.static TypeInferenceTypeInferenceExtractor.forAsyncScalarFunction(DataTypeFactory typeFactory, Class<? extends AsyncScalarFunction> function) Extracts a type inference from aAsyncScalarFunction.static TypeInferenceTypeInferenceExtractor.forAsyncTableFunction(DataTypeFactory typeFactory, Class<? extends AsyncTableFunction<?>> function) Extracts a type inference from aAsyncTableFunction.static TypeInferenceTypeInferenceExtractor.forProcedure(DataTypeFactory typeFactory, Class<? extends Procedure> procedure) Extracts a type in inference from aProcedure.static TypeInferenceTypeInferenceExtractor.forProcessTableFunction(DataTypeFactory typeFactory, Class<? extends ProcessTableFunction<?>> function) Extracts a type inference from aProcessTableFunction.static TypeInferenceTypeInferenceExtractor.forScalarFunction(DataTypeFactory typeFactory, Class<? extends ScalarFunction> function) Extracts a type inference from aScalarFunction.static TypeInferenceTypeInferenceExtractor.forTableAggregateFunction(DataTypeFactory typeFactory, Class<? extends TableAggregateFunction<?, ?>> function) Extracts a type inference from aTableAggregateFunction.static TypeInferenceTypeInferenceExtractor.forTableFunction(DataTypeFactory typeFactory, Class<? extends TableFunction<?>> function) Extracts a type inference from aTableFunction. -
Uses of DataTypeFactory in org.apache.flink.table.types.inference
Methods in org.apache.flink.table.types.inference that return DataTypeFactoryModifier and TypeMethodDescriptionCallContext.getDataTypeFactory()Enables to lookup types in a catalog and resolve RAW types.Methods in org.apache.flink.table.types.inference with parameters of type DataTypeFactoryModifier and TypeMethodDescriptionTypeInferenceUtil.SurroundingInfo.inferOutputType(DataTypeFactory typeFactory) default DataTypeTypeTransformation.transform(DataTypeFactory factory, DataType typeToTransform) Transforms the given data type to a different data type. -
Uses of DataTypeFactory in org.apache.flink.table.types.inference.transforms
Methods in org.apache.flink.table.types.inference.transforms with parameters of type DataTypeFactoryModifier and TypeMethodDescriptionLegacyToNonLegacyTransformation.transform(DataTypeFactory factory, DataType dataType) -
Uses of DataTypeFactory in org.apache.flink.table.types.inference.utils
Methods in org.apache.flink.table.types.inference.utils that return DataTypeFactoryModifier and TypeMethodDescriptionAdaptedCallContext.getDataTypeFactory()UnknownCallContext.getDataTypeFactory()Constructors in org.apache.flink.table.types.inference.utils with parameters of type DataTypeFactoryModifierConstructorDescriptionUnknownCallContext(DataTypeFactory typeFactory, String name, FunctionDefinition functionDefinition, int argumentCount, boolean isGroupedAggregation) -
Uses of DataTypeFactory in org.apache.flink.table.types.utils
Methods in org.apache.flink.table.types.utils with parameters of type DataTypeFactoryModifier and TypeMethodDescriptionstatic DataTypeTypeInfoDataTypeConverter.toDataType(DataTypeFactory dataTypeFactory, org.apache.flink.api.common.typeinfo.TypeInformation<?> typeInfo) Converts the givenTypeInformationintoDataType.static DataTypeTypeInfoDataTypeConverter.toDataType(DataTypeFactory dataTypeFactory, org.apache.flink.api.common.typeinfo.TypeInformation<?> typeInfo, boolean forceNullability) Converts the givenTypeInformationintoDataTypebut allows to make all fields nullable independent of the nullability in the serialization stack.static DataTypeDataTypeUtils.transform(DataTypeFactory factory, DataType typeToTransform, TypeTransformation... transformations) Transforms the given data type to a different data type using the given transformations.