Class TableAggregateFunctionDefinition
- All Implemented Interfaces:
FunctionDefinition
This class can be dropped once we introduce a new type inference.
-
Constructor Summary
ConstructorsConstructorDescriptionTableAggregateFunctionDefinition(String name, TableAggregateFunction<?, ?> aggregateFunction, org.apache.flink.api.common.typeinfo.TypeInformation<?> resultTypeInfo, org.apache.flink.api.common.typeinfo.TypeInformation<?> accTypeInfo) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.org.apache.flink.api.common.typeinfo.TypeInformation<?>Deprecated.getKind()Deprecated.Returns the kind of function this definition describes.getName()Deprecated.Deprecated.Returns the set of requirements this definition demands.org.apache.flink.api.common.typeinfo.TypeInformation<?>Deprecated.Deprecated.getTypeInference(DataTypeFactory typeFactory) Deprecated.Returns the logic for performing type inference of a call to this function definition.inthashCode()Deprecated.booleanDeprecated.Returns information about the determinism of the function's results.toString()Deprecated.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.flink.table.functions.FunctionDefinition
supportsConstantFolding
-
Constructor Details
-
TableAggregateFunctionDefinition
public TableAggregateFunctionDefinition(String name, TableAggregateFunction<?, ?> aggregateFunction, org.apache.flink.api.common.typeinfo.TypeInformation<?> resultTypeInfo, org.apache.flink.api.common.typeinfo.TypeInformation<?> accTypeInfo) Deprecated.
-
-
Method Details
-
getName
Deprecated. -
getTableAggregateFunction
Deprecated. -
getResultTypeInfo
public org.apache.flink.api.common.typeinfo.TypeInformation<?> getResultTypeInfo()Deprecated. -
getAccumulatorTypeInfo
public org.apache.flink.api.common.typeinfo.TypeInformation<?> getAccumulatorTypeInfo()Deprecated. -
getKind
Deprecated.Description copied from interface:FunctionDefinitionReturns the kind of function this definition describes.- Specified by:
getKindin interfaceFunctionDefinition
-
getTypeInference
Deprecated.Description copied from interface:FunctionDefinitionReturns the logic for performing type inference of a call to this function definition.The type inference process is responsible for inferring unknown types of input arguments, validating input arguments, and producing result types. The type inference process happens independent of a function body. The output of the type inference is used to search for a corresponding runtime implementation.
Instances of type inference can be created by using
TypeInference.newBuilder().See
BuiltInFunctionDefinitionsfor concrete usage examples.- Specified by:
getTypeInferencein interfaceFunctionDefinition
-
getRequirements
Deprecated.Description copied from interface:FunctionDefinitionReturns the set of requirements this definition demands.- Specified by:
getRequirementsin interfaceFunctionDefinition
-
isDeterministic
public boolean isDeterministic()Deprecated.Description copied from interface:FunctionDefinitionReturns information about the determinism of the function's results.It returns
trueif and only if a call to this function is guaranteed to always return the same result given the same parameters.trueis assumed by default. If the function is not purely functional likerandom(), date(), now(), ...this method must returnfalse.Furthermore, return
falseif the planner should always execute this function on the cluster side. In other words: the planner should not perform constant expression reduction during planning for constant calls to this function.- Specified by:
isDeterministicin interfaceFunctionDefinition
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-