Class BuiltInSpecializedFunction
java.lang.Object
org.apache.flink.table.runtime.functions.BuiltInSpecializedFunction
- All Implemented Interfaces:
org.apache.flink.table.functions.FunctionDefinition,org.apache.flink.table.functions.SpecializedFunction
- Direct Known Subclasses:
UnnestRowsFunction
@Internal
public abstract class BuiltInSpecializedFunction
extends Object
implements org.apache.flink.table.functions.SpecializedFunction
Base class for built-in functions that need another level of specialization via
BuiltInFunctionDefinition.specialize(SpecializedContext).
Subclasses can create a specific UDF runtime implementation targeted to the given (fully known) arguments and derived output type. Subclasses must provide a default constructor.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.table.functions.SpecializedFunction
org.apache.flink.table.functions.SpecializedFunction.ExpressionEvaluator, org.apache.flink.table.functions.SpecializedFunction.ExpressionEvaluatorFactory, org.apache.flink.table.functions.SpecializedFunction.SpecializedContext -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuiltInSpecializedFunction(org.apache.flink.table.functions.BuiltInFunctionDefinition definition) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.table.functions.FunctionKindgetKind()Set<org.apache.flink.table.functions.FunctionRequirement>org.apache.flink.table.types.inference.TypeInferencegetTypeInference(org.apache.flink.table.catalog.DataTypeFactory typeFactory) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.table.functions.FunctionDefinition
supportsConstantFoldingMethods inherited from interface org.apache.flink.table.functions.SpecializedFunction
specialize
-
Constructor Details
-
BuiltInSpecializedFunction
protected BuiltInSpecializedFunction(org.apache.flink.table.functions.BuiltInFunctionDefinition definition)
-
-
Method Details
-
getKind
public org.apache.flink.table.functions.FunctionKind getKind()- Specified by:
getKindin interfaceorg.apache.flink.table.functions.FunctionDefinition
-
getTypeInference
public org.apache.flink.table.types.inference.TypeInference getTypeInference(org.apache.flink.table.catalog.DataTypeFactory typeFactory) - Specified by:
getTypeInferencein interfaceorg.apache.flink.table.functions.FunctionDefinition
-
getRequirements
- Specified by:
getRequirementsin interfaceorg.apache.flink.table.functions.FunctionDefinition
-
isDeterministic
public boolean isDeterministic()- Specified by:
isDeterministicin interfaceorg.apache.flink.table.functions.FunctionDefinition
-