Modifier and Type | Method and Description |
---|---|
TypeInference |
InternalRowMergerFunction.getTypeInference(DataTypeFactory typeFactory) |
TypeInference |
LastDatedValueFunction.getTypeInference(DataTypeFactory typeFactory)
Declares the
TypeInference of this function. |
Modifier and Type | Method and Description |
---|---|
TypeInference |
TemporalTableFunctionImpl.getTypeInference(DataTypeFactory typeFactory) |
TypeInference |
AggregateFunctionDefinition.getTypeInference(DataTypeFactory typeFactory)
Deprecated.
|
abstract TypeInference |
UserDefinedFunction.getTypeInference(DataTypeFactory typeFactory)
Returns the logic for performing type inference of a call to this function definition.
|
TypeInference |
FunctionDefinition.getTypeInference(DataTypeFactory typeFactory)
Returns the logic for performing type inference of a call to this function definition.
|
TypeInference |
TableFunction.getTypeInference(DataTypeFactory typeFactory) |
TypeInference |
AsyncTableFunction.getTypeInference(DataTypeFactory typeFactory) |
TypeInference |
AggregateFunction.getTypeInference(DataTypeFactory typeFactory) |
TypeInference |
TableFunctionDefinition.getTypeInference(DataTypeFactory typeFactory)
Deprecated.
|
TypeInference |
ScalarFunctionDefinition.getTypeInference(DataTypeFactory factory)
Deprecated.
|
TypeInference |
ScalarFunction.getTypeInference(DataTypeFactory typeFactory) |
TypeInference |
TableAggregateFunctionDefinition.getTypeInference(DataTypeFactory typeFactory)
Deprecated.
|
TypeInference |
BuiltInFunctionDefinition.getTypeInference(DataTypeFactory typeFactory) |
TypeInference |
TableAggregateFunction.getTypeInference(DataTypeFactory typeFactory) |
Modifier and Type | Method and Description |
---|---|
default TypeInference |
HiveFunction.createTypeInference()
Creates
TypeInference for the function. |
TypeInference |
HiveGenericUDAF.getTypeInference(DataTypeFactory typeFactory) |
TypeInference |
HiveGenericUDTF.getTypeInference(DataTypeFactory typeFactory) |
TypeInference |
HiveScalarFunction.getTypeInference(DataTypeFactory typeFactory) |
Modifier and Type | Method and Description |
---|---|
TypeInference |
PythonScalarFunction.getTypeInference(DataTypeFactory typeFactory) |
TypeInference |
PythonTableFunction.getTypeInference(DataTypeFactory typeFactory) |
TypeInference |
PythonAggregateFunction.getTypeInference(DataTypeFactory typeFactory) |
TypeInference |
PythonTableAggregateFunction.getTypeInference(DataTypeFactory typeFactory) |
Modifier and Type | Method and Description |
---|---|
TypeInference |
DeclarativeAggregateFunction.getTypeInference(DataTypeFactory factory) |
Modifier and Type | Method and Description |
---|---|
TypeInference |
BridgingSqlAggFunction.getTypeInference() |
TypeInference |
BridgingSqlFunction.getTypeInference() |
Modifier and Type | Method and Description |
---|---|
static BridgingSqlFunction |
BridgingSqlFunction.of(DataTypeFactory dataTypeFactory,
org.apache.flink.table.planner.calcite.FlinkTypeFactory typeFactory,
RexFactory rexFactory,
org.apache.calcite.sql.SqlKind kind,
ContextResolvedFunction resolvedFunction,
TypeInference typeInference)
Creates an instance of a scalar or table function (either a system or user-defined function).
|
static BridgingSqlAggFunction |
BridgingSqlAggFunction.of(DataTypeFactory dataTypeFactory,
org.apache.flink.table.planner.calcite.FlinkTypeFactory typeFactory,
org.apache.calcite.sql.SqlKind kind,
ContextResolvedFunction resolvedFunction,
TypeInference typeInference)
Creates an instance of a aggregating function (either a system or user-defined function).
|
Constructor and Description |
---|
TypeInferenceOperandChecker(DataTypeFactory dataTypeFactory,
FunctionDefinition definition,
TypeInference typeInference) |
TypeInferenceOperandInference(DataTypeFactory dataTypeFactory,
FunctionDefinition definition,
TypeInference typeInference) |
TypeInferenceReturnInference(DataTypeFactory dataTypeFactory,
FunctionDefinition definition,
TypeInference typeInference) |
Modifier and Type | Method and Description |
---|---|
TypeInference |
BuiltInSpecializedFunction.getTypeInference(DataTypeFactory typeFactory) |
Modifier and Type | Method and Description |
---|---|
TypeInference |
BuiltInAggregateFunction.getTypeInference(DataTypeFactory typeFactory) |
Modifier and Type | Method and Description |
---|---|
TypeInference |
BuiltInScalarFunction.getTypeInference(DataTypeFactory typeFactory) |
Modifier and Type | Method and Description |
---|---|
TypeInference |
BuiltInTableFunction.getTypeInference(DataTypeFactory typeFactory) |
Modifier and Type | Method and Description |
---|---|
static TypeInference |
TypeInferenceExtractor.forAggregateFunction(DataTypeFactory typeFactory,
Class<? extends AggregateFunction<?,?>> function)
Extracts a type inference from a
AggregateFunction . |
static TypeInference |
TypeInferenceExtractor.forAsyncTableFunction(DataTypeFactory typeFactory,
Class<? extends AsyncTableFunction<?>> function)
Extracts a type inference from a
AsyncTableFunction . |
static TypeInference |
TypeInferenceExtractor.forScalarFunction(DataTypeFactory typeFactory,
Class<? extends ScalarFunction> function)
Extracts a type inference from a
ScalarFunction . |
static TypeInference |
TypeInferenceExtractor.forTableAggregateFunction(DataTypeFactory typeFactory,
Class<? extends TableAggregateFunction<?,?>> function)
Extracts a type inference from a
TableAggregateFunction . |
static TypeInference |
TypeInferenceExtractor.forTableFunction(DataTypeFactory typeFactory,
Class<? extends TableFunction<?>> function)
Extracts a type inference from a
TableFunction . |
Modifier and Type | Method and Description |
---|---|
TypeInference |
TypeInference.Builder.build() |
Modifier and Type | Method and Description |
---|---|
static CallContext |
TypeInferenceUtil.adaptArguments(TypeInference typeInference,
CallContext callContext,
DataType outputType)
Adapts the call's argument if necessary.
|
static ValidationException |
TypeInferenceUtil.createInvalidInputException(TypeInference typeInference,
CallContext callContext,
ValidationException cause)
Returns an exception for invalid input arguments.
|
static String |
TypeInferenceUtil.generateSignature(TypeInference typeInference,
String name,
FunctionDefinition definition)
Generates a signature of the given
FunctionDefinition . |
static TypeInferenceUtil.SurroundingInfo |
TypeInferenceUtil.SurroundingInfo.of(String name,
FunctionDefinition functionDefinition,
TypeInference typeInference,
int argumentCount,
int innerCallPosition,
boolean isGroupedAggregation) |
static TypeInferenceUtil.Result |
TypeInferenceUtil.runTypeInference(TypeInference typeInference,
CallContext callContext,
TypeInferenceUtil.SurroundingInfo surroundingInfo)
Runs the entire type inference process.
|
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.