public interface FunctionLookupContext
| Modifier and Type | Method and Description |
|---|---|
DrillFuncHolder |
findDrillFunction(FunctionResolver functionResolver,
FunctionCall functionCall)
Method returns the materialized drill function corresponding to the functioncall that
is passed in
|
AbstractFuncHolder |
findNonDrillFunction(FunctionCall functionCall)
Find function implementation for given
functionCall in non-Drill function registries such as Hive UDF
registry. |
DrillFuncHolder findDrillFunction(FunctionResolver functionResolver, FunctionCall functionCall)
functionResolver - - Type of resolver to use.
Specifies if the arguments should match exactly or can use implicit castfunctionCall - - Specifies function name and type of argumentsAbstractFuncHolder findNonDrillFunction(FunctionCall functionCall)
functionCall in non-Drill function registries such as Hive UDF
registry.
Note: Order of searching is same as order of PluggableFunctionRegistry
implementations found on classpath.functionCall - - Specifies function name and type of argumentsCopyright © 2022 The Apache Software Foundation. All rights reserved.