Uses of Interface
org.apache.flink.table.functions.FunctionDefinition
Packages that use FunctionDefinition
Package
Description
-
Uses of FunctionDefinition in org.apache.flink.table.expressions
Methods in org.apache.flink.table.expressions that return FunctionDefinitionModifier and TypeMethodDescriptionAggregateExpression.getFunctionDefinition()CallExpression.getFunctionDefinition()Methods in org.apache.flink.table.expressions with parameters of type FunctionDefinitionModifier and TypeMethodDescriptionstatic CallExpressionCallExpression.anonymous(FunctionDefinition functionDefinition, List<ResolvedExpression> args, DataType dataType) Creates aCallExpressionto an anonymous function that has been declared inline without aFunctionIdentifier.static CallExpressionCallExpression.permanent(FunctionIdentifier functionIdentifier, FunctionDefinition functionDefinition, List<ResolvedExpression> args, DataType dataType) static CallExpressionCallExpression.temporary(FunctionIdentifier functionIdentifier, FunctionDefinition functionDefinition, List<ResolvedExpression> args, DataType dataType) Creates aCallExpressionto a temporary function (potentially shadowing aCatalogfunction or providing a system function).Constructors in org.apache.flink.table.expressions with parameters of type FunctionDefinitionModifierConstructorDescriptionAggregateExpression(FunctionDefinition functionDefinition, List<FieldReferenceExpression> args, CallExpression filterExpression, DataType resultType, boolean distinct, boolean approximate, boolean ignoreNulls) CallExpression(boolean isTemporary, FunctionIdentifier functionIdentifier, FunctionDefinition functionDefinition, List<ResolvedExpression> args, DataType dataType) -
Uses of FunctionDefinition in org.apache.flink.table.factories
Methods in org.apache.flink.table.factories that return FunctionDefinitionModifier and TypeMethodDescriptionFunctionDefinitionFactory.createFunctionDefinition(String name, CatalogFunction catalogFunction, FunctionDefinitionFactory.Context context) Creates aFunctionDefinitionfrom givenCatalogFunctionwith the givenFunctionDefinitionFactory.Contextcontaining the class loader of the current session, which is useful when it's needed to load class from class name. -
Uses of FunctionDefinition in org.apache.flink.table.functions
Subinterfaces of FunctionDefinition in org.apache.flink.table.functionsModifier and TypeInterfaceDescriptioninterfaceAFunctionDefinitionthat can provide a runtime implementation (i.e. the function's body) that is specialized for the given call and session.Classes in org.apache.flink.table.functions that implement FunctionDefinitionModifier and TypeClassDescriptionclassAggregateFunction<T,ACC> Base class for a user-defined aggregate function.final classDeprecated.Non-legacy functions can simply omit this wrapper for declarations.classA wrapper class ofAsyncTableFunctionfor asynchronously lookup rows matching the lookup keys from external system.classBase class for a user-defined scalar function which returns results asynchronously.classBase class for a user-defined asynchronous table function.final classDefinition of a built-in function.classImperativeAggregateFunction<T,ACC> Base class for user-definedAggregateFunctionandTableAggregateFunction.classA wrapper class ofTableFunctionfor synchronously lookup rows matching the lookup keys from external system.classBase class for a user-defined process table function.classBase class for a user-defined scalar function.final classDeprecated.Non-legacy functions can simply omit this wrapper for declarations.classTableAggregateFunction<T,ACC> Base class for a user-defined table aggregate function.final classDeprecated.Non-legacy functions can simply omit this wrapper for declarations.classBase class for a user-defined table function.final classDeprecated.Non-legacy functions can simply omit this wrapper for declarations.classClass representing temporal table function over some history table.classBase class for all user-defined functions.Fields in org.apache.flink.table.functions with type parameters of type FunctionDefinitionModifier and TypeFieldDescriptionstatic final List<FunctionDefinition>BuiltInFunctionDefinitions.ORDERINGstatic final Set<FunctionDefinition>BuiltInFunctionDefinitions.TIME_ATTRIBUTESstatic final Set<FunctionDefinition>BuiltInFunctionDefinitions.WINDOW_PROPERTIESMethods in org.apache.flink.table.functions with parameters of type FunctionDefinitionModifier and TypeMethodDescriptionstatic UserDefinedFunctionUserDefinedFunctionHelper.createSpecializedFunction(String functionName, FunctionDefinition definition, CallContext callContext, ClassLoader builtInClassLoader, org.apache.flink.configuration.ReadableConfig configuration, SpecializedFunction.ExpressionEvaluatorFactory evaluatorFactory) Creates the runtime implementation of aFunctionDefinitionas an instance ofUserDefinedFunction. -
Uses of FunctionDefinition in org.apache.flink.table.functions.python
Classes in org.apache.flink.table.functions.python that implement FunctionDefinitionModifier and TypeClassDescriptionclassThe wrapper of user defined python aggregate function.classThe wrapper of user defined python scalar function.classThe wrapper of user defined python table aggregate function.classThe wrapper of user defined python table function. -
Uses of FunctionDefinition in org.apache.flink.table.module
Methods in org.apache.flink.table.module that return types with arguments of type FunctionDefinitionModifier and TypeMethodDescriptionCoreModule.getFunctionDefinition(String name) default Optional<FunctionDefinition>Module.getFunctionDefinition(String name) Get an optional ofFunctionDefinitionby a given name. -
Uses of FunctionDefinition in org.apache.flink.table.procedures
Classes in org.apache.flink.table.procedures that implement FunctionDefinition -
Uses of FunctionDefinition in org.apache.flink.table.types.inference
Methods in org.apache.flink.table.types.inference that return FunctionDefinitionModifier and TypeMethodDescriptionCallContext.getFunctionDefinition()Returns the function definition that defines the function currently being called.Methods in org.apache.flink.table.types.inference with parameters of type FunctionDefinitionModifier and TypeMethodDescriptionstatic StringTypeInferenceUtil.generateSignature(TypeInference typeInference, String name, FunctionDefinition definition) Generates a signature of the givenFunctionDefinition.ArgumentTypeStrategy.getExpectedArgument(FunctionDefinition functionDefinition, int argumentPos) Returns a summary of the function's expected argument atargumentPos.InputTypeStrategy.getExpectedSignatures(FunctionDefinition definition) Returns a summary of the function's expected signatures.TypeInferenceUtil.SurroundingInfo.of(String name, FunctionDefinition functionDefinition, TypeInference typeInference, int argumentCount, int innerCallPosition, boolean isGroupedAggregation) -
Uses of FunctionDefinition in org.apache.flink.table.types.inference.strategies
Methods in org.apache.flink.table.types.inference.strategies with parameters of type FunctionDefinitionModifier and TypeMethodDescriptionAndArgumentTypeStrategy.getExpectedArgument(FunctionDefinition functionDefinition, int argumentPos) AnyArgumentTypeStrategy.getExpectedArgument(FunctionDefinition functionDefinition, int argumentPos) ArrayComparableElementArgumentTypeStrategy.getExpectedArgument(FunctionDefinition functionDefinition, int argumentPos) ArrayOfStringArgumentTypeStrategy.getExpectedArgument(FunctionDefinition functionDefinition, int argumentPos) CommonArgumentTypeStrategy.getExpectedArgument(FunctionDefinition functionDefinition, int argumentPos) CompositeArgumentTypeStrategy.getExpectedArgument(FunctionDefinition functionDefinition, int argumentPos) ConstraintArgumentTypeStrategy.getExpectedArgument(FunctionDefinition functionDefinition, int argumentPos) ExplicitArgumentTypeStrategy.getExpectedArgument(FunctionDefinition functionDefinition, int argumentPos) FamilyArgumentTypeStrategy.getExpectedArgument(FunctionDefinition functionDefinition, int argumentPos) IndexArgumentTypeStrategy.getExpectedArgument(FunctionDefinition functionDefinition, int argumentPos) ItemAtIndexArgumentTypeStrategy.getExpectedArgument(FunctionDefinition functionDefinition, int argumentPos) JsonQueryOnErrorEmptyArgumentTypeStrategy.getExpectedArgument(FunctionDefinition functionDefinition, int argumentPos) LiteralArgumentTypeStrategy.getExpectedArgument(FunctionDefinition functionDefinition, int argumentPos) OrArgumentTypeStrategy.getExpectedArgument(FunctionDefinition functionDefinition, int argumentPos) OutputArgumentTypeStrategy.getExpectedArgument(FunctionDefinition functionDefinition, int argumentPos) PercentageArgumentTypeStrategy.getExpectedArgument(FunctionDefinition functionDefinition, int argumentPos) PercentageArrayArgumentTypeStrategy.getExpectedArgument(FunctionDefinition functionDefinition, int argumentPos) RootArgumentTypeStrategy.getExpectedArgument(FunctionDefinition functionDefinition, int argumentPos) SymbolArgumentTypeStrategy.getExpectedArgument(FunctionDefinition functionDefinition, int argumentPos) TypeLiteralArgumentTypeStrategy.getExpectedArgument(FunctionDefinition functionDefinition, int argumentPos) CommonCollectionInputTypeStrategy.getExpectedSignatures(FunctionDefinition definition) CommonInputTypeStrategy.getExpectedSignatures(FunctionDefinition definition) ComparableTypeStrategy.getExpectedSignatures(FunctionDefinition definition) LeadLagInputTypeStrategy.getExpectedSignatures(FunctionDefinition definition) OrInputTypeStrategy.getExpectedSignatures(FunctionDefinition definition) OverTypeStrategy.getExpectedSignatures(FunctionDefinition definition) ReinterpretCastInputTypeStrategy.getExpectedSignatures(FunctionDefinition definition) RepeatingSequenceInputTypeStrategy.getExpectedSignatures(FunctionDefinition definition) SequenceInputTypeStrategy.getExpectedSignatures(FunctionDefinition definition) SubQueryInputTypeStrategy.getExpectedSignatures(FunctionDefinition definition) SubsequenceInputTypeStrategy.getExpectedSignatures(FunctionDefinition definition) VaryingSequenceInputTypeStrategy.getExpectedSignatures(FunctionDefinition definition) WildcardInputTypeStrategy.getExpectedSignatures(FunctionDefinition definition) WindowTimeIndictorInputTypeStrategy.getExpectedSignatures(FunctionDefinition definition) -
Uses of FunctionDefinition in org.apache.flink.table.types.inference.utils
Methods in org.apache.flink.table.types.inference.utils that return FunctionDefinitionModifier and TypeMethodDescriptionAdaptedCallContext.getFunctionDefinition()UnknownCallContext.getFunctionDefinition()Constructors in org.apache.flink.table.types.inference.utils with parameters of type FunctionDefinitionModifierConstructorDescriptionUnknownCallContext(DataTypeFactory typeFactory, String name, FunctionDefinition functionDefinition, int argumentCount, boolean isGroupedAggregation)