Interface FunctionResolutionStrategy
public interface FunctionResolutionStrategy
Strategy indicating the type of resolution to apply for resolving the actual function definition in a pluggable way.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FunctionResolutionStrategyDefault behavior of standard function calls likeABS(col). -
Method Summary
Modifier and TypeMethodDescriptiondefault FunctionbuildResolved(UnresolvedFunction uf, Configuration cfg, FunctionDefinition def) Build the real function from this one and resolution metadata.default booleanIsdefa valid alternative for function invocations of this kind.default Stringkind()The kind of strategy being applied.
-
Field Details
-
DEFAULT
Default behavior of standard function calls likeABS(col).
-
-
Method Details
-
buildResolved
Build the real function from this one and resolution metadata. -
kind
The kind of strategy being applied. Used when building the error message sent back to the user when they specify a function that doesn't exist. -
isValidAlternative
Isdefa valid alternative for function invocations of this kind. Used to filter the list of "did you mean" options sent back to the user when they specify a missing function.
-