| Modifier and Type | Method and Description |
|---|---|
abstract TypeInference |
UserDefinedFunction.getTypeInference(DataTypeFactory typeFactory)
Returns the logic for performing type inference of a call to this function definition.
|
TypeInference |
TableAggregateFunction.getTypeInference(DataTypeFactory typeFactory) |
TypeInference |
AggregateFunction.getTypeInference(DataTypeFactory typeFactory) |
TypeInference |
AsyncTableFunction.getTypeInference(DataTypeFactory typeFactory) |
TypeInference |
ScalarFunctionDefinition.getTypeInference(DataTypeFactory factory)
Deprecated.
|
TypeInference |
AggregateFunctionDefinition.getTypeInference(DataTypeFactory typeFactory)
Deprecated.
|
TypeInference |
AsyncScalarFunction.getTypeInference(DataTypeFactory typeFactory) |
TypeInference |
TableFunction.getTypeInference(DataTypeFactory typeFactory) |
TypeInference |
BuiltInFunctionDefinition.getTypeInference(DataTypeFactory typeFactory) |
TypeInference |
FunctionDefinition.getTypeInference(DataTypeFactory typeFactory)
Returns the logic for performing type inference of a call to this function definition.
|
TypeInference |
TableFunctionDefinition.getTypeInference(DataTypeFactory typeFactory)
Deprecated.
|
TypeInference |
ScalarFunction.getTypeInference(DataTypeFactory typeFactory) |
TypeInference |
TableAggregateFunctionDefinition.getTypeInference(DataTypeFactory typeFactory)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
TypeInference |
PythonTableFunction.getTypeInference(DataTypeFactory typeFactory) |
TypeInference |
PythonTableAggregateFunction.getTypeInference(DataTypeFactory typeFactory) |
TypeInference |
PythonScalarFunction.getTypeInference(DataTypeFactory typeFactory) |
TypeInference |
PythonAggregateFunction.getTypeInference(DataTypeFactory typeFactory) |
| Modifier and Type | Method and Description |
|---|---|
TypeInference |
ProcedureDefinition.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.forAsyncScalarFunction(DataTypeFactory typeFactory,
Class<? extends AsyncScalarFunction> function)
Extracts a type inference from a
AsyncScalarFunction. |
static TypeInference |
TypeInferenceExtractor.forAsyncTableFunction(DataTypeFactory typeFactory,
Class<? extends AsyncTableFunction<?>> function)
Extracts a type inference from a
AsyncTableFunction. |
static TypeInference |
TypeInferenceExtractor.forProcedure(DataTypeFactory typeFactory,
Class<? extends Procedure> procedure)
Extracts a type in inference from a
Procedure. |
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–2025 The Apache Software Foundation. All rights reserved.