Uses of Interface
org.apache.flink.table.types.inference.CallContext
Packages that use CallContext
Package
Description
-
Uses of CallContext in org.apache.flink.table.functions
Methods in org.apache.flink.table.functions that return CallContextModifier and TypeMethodDescriptionSpecializedFunction.SpecializedContext.getCallContext()Returns the context of the current call.Methods in org.apache.flink.table.functions with parameters of type CallContextModifier 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 CallContext in org.apache.flink.table.types.inference
Methods in org.apache.flink.table.types.inference that return CallContextModifier and TypeMethodDescriptionstatic CallContextTypeInferenceUtil.adaptArguments(TypeInference typeInference, CallContext callContext, DataType outputType) Adapts the call's argument if necessary.Methods in org.apache.flink.table.types.inference with parameters of type CallContextModifier and TypeMethodDescriptionstatic CallContextTypeInferenceUtil.adaptArguments(TypeInference typeInference, CallContext callContext, DataType outputType) Adapts the call's argument if necessary.static ValidationExceptionTypeInferenceUtil.createInvalidCallException(CallContext callContext, ValidationException cause) Returns an exception for an invalid call to a function.static ValidationExceptionTypeInferenceUtil.createInvalidInputException(TypeInference typeInference, CallContext callContext, ValidationException cause) Returns an exception for invalid input arguments.static TableExceptionTypeInferenceUtil.createUnexpectedException(CallContext callContext, Throwable cause) Returns an exception for an unexpected error during type inference.ArgumentTypeStrategy.inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure) Main logic for inferring and validating an argument.InputTypeStrategy.inferInputTypes(CallContext callContext, boolean throwOnFailure) Main logic for inferring and validating the input arguments.static DataTypeTypeInferenceUtil.inferOutputType(CallContext callContext, TypeStrategy outputTypeStrategy) Infers an output type using the givenTypeStrategy.TypeStrategy.inferType(CallContext callContext) Infers a type from the given function call.static TypeInferenceUtil.ResultTypeInferenceUtil.runTypeInference(TypeInference typeInference, CallContext callContext, TypeInferenceUtil.SurroundingInfo surroundingInfo) Runs the entire type inference process. -
Uses of CallContext in org.apache.flink.table.types.inference.strategies
Methods in org.apache.flink.table.types.inference.strategies with parameters of type CallContextModifier and TypeMethodDescriptionAndArgumentTypeStrategy.inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure) AnyArgumentTypeStrategy.inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure) ArrayComparableElementArgumentTypeStrategy.inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure) ArrayOfStringArgumentTypeStrategy.inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure) CommonArgumentTypeStrategy.inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure) CompositeArgumentTypeStrategy.inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure) ConstraintArgumentTypeStrategy.inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure) ExplicitArgumentTypeStrategy.inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure) FamilyArgumentTypeStrategy.inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure) IndexArgumentTypeStrategy.inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure) ItemAtIndexArgumentTypeStrategy.inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure) JsonQueryOnErrorEmptyArgumentTypeStrategy.inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure) LiteralArgumentTypeStrategy.inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure) OrArgumentTypeStrategy.inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure) OutputArgumentTypeStrategy.inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure) PercentageArgumentTypeStrategy.inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure) PercentageArrayArgumentTypeStrategy.inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure) RootArgumentTypeStrategy.inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure) SymbolArgumentTypeStrategy.inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure) TypeLiteralArgumentTypeStrategy.inferArgumentType(CallContext callContext, int argumentPos, boolean throwOnFailure) CommonCollectionInputTypeStrategy.inferInputTypes(CallContext callContext, boolean throwOnFailure) CommonInputTypeStrategy.inferInputTypes(CallContext callContext, boolean throwOnFailure) ComparableTypeStrategy.inferInputTypes(CallContext callContext, boolean throwOnFailure) LeadLagInputTypeStrategy.inferInputTypes(CallContext callContext, boolean throwOnFailure) OrInputTypeStrategy.inferInputTypes(CallContext callContext, boolean throwOnFailure) OverTypeStrategy.inferInputTypes(CallContext callContext, boolean throwOnFailure) ReinterpretCastInputTypeStrategy.inferInputTypes(CallContext callContext, boolean throwOnFailure) RepeatingSequenceInputTypeStrategy.inferInputTypes(CallContext callContext, boolean throwOnFailure) SequenceInputTypeStrategy.inferInputTypes(CallContext callContext, boolean throwOnFailure) SubQueryInputTypeStrategy.inferInputTypes(CallContext callContext, boolean throwOnFailure) SubsequenceInputTypeStrategy.inferInputTypes(CallContext callContext, boolean throwOnFailure) VaryingSequenceInputTypeStrategy.inferInputTypes(CallContext callContext, boolean throwOnFailure) WildcardInputTypeStrategy.inferInputTypes(CallContext callContext, boolean throwOnFailure) WindowTimeIndictorInputTypeStrategy.inferInputTypes(CallContext callContext, boolean throwOnFailure) ArgumentMappingTypeStrategy.inferType(CallContext callContext) ArrayAppendPrependTypeStrategy.inferType(CallContext callContext) ArrayElementTypeStrategy.inferType(CallContext callContext) CollectTypeStrategy.inferType(CallContext callContext) CommonTypeStrategy.inferType(CallContext callContext) ExplicitTypeStrategy.inferType(CallContext callContext) FirstTypeStrategy.inferType(CallContext callContext) ForceNullableTypeStrategy.inferType(CallContext callContext) HiveAggDecimalPlusTypeStrategy.inferType(CallContext callContext) ItemAtTypeStrategy.inferType(CallContext callContext) MappingTypeStrategy.inferType(CallContext callContext) MatchFamilyTypeStrategy.inferType(CallContext callContext) MissingTypeStrategy.inferType(CallContext callContext) NullableIfArgsTypeStrategy.inferType(CallContext callContext) RowtimeTypeStrategy.inferType(CallContext callContext) ToTimestampLtzTypeStrategy.inferType(CallContext callContext) VaryingStringTypeStrategy.inferType(CallContext callContext) -
Uses of CallContext in org.apache.flink.table.types.inference.utils
Classes in org.apache.flink.table.types.inference.utils that implement CallContextModifier and TypeClassDescriptionfinal classHelper context that deals with adapted arguments.final classACallContextwith unknown data types.Constructors in org.apache.flink.table.types.inference.utils with parameters of type CallContextModifierConstructorDescriptionAdaptedCallContext(CallContext originalContext, DataType outputDataType)