Package org.apache.drill.exec.expr.fn
Interface FunctionLookupContext
- All Known Implementing Classes:
FunctionImplementationRegistry
public interface FunctionLookupContext
-
Method Summary
Modifier and TypeMethodDescriptionfindDrillFunction(FunctionResolver functionResolver, FunctionCall functionCall) Method returns the materialized drill function corresponding to the functioncall that is passed infindNonDrillFunction(FunctionCall functionCall) Find function implementation for givenfunctionCallin non-Drill function registries such as Hive UDF registry.
-
Method Details
-
findDrillFunction
Method returns the materialized drill function corresponding to the functioncall that is passed in- Parameters:
functionResolver- - Type of resolver to use. Specifies if the arguments should match exactly or can use implicit castfunctionCall- - Specifies function name and type of arguments- Returns:
- DrillFuncHolder
-
findNonDrillFunction
Find function implementation for givenfunctionCallin non-Drill function registries such as Hive UDF registry. Note: Order of searching is same as order ofPluggableFunctionRegistryimplementations found on classpath.- Parameters:
functionCall- - Specifies function name and type of arguments- Returns:
- AbstractFuncHolder
-