Package org.apache.drill.exec.resolver
Class ExactFunctionResolver
java.lang.Object
org.apache.drill.exec.resolver.ExactFunctionResolver
- All Implemented Interfaces:
FunctionResolver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBestMatch
(List<DrillFuncHolder> methods, FunctionCall call) Creates a placeholder SqlFunction for an invocation of a function with a possibly qualified name.
-
Constructor Details
-
ExactFunctionResolver
public ExactFunctionResolver()
-
-
Method Details
-
getBestMatch
Description copied from interface:FunctionResolver
Creates a placeholder SqlFunction for an invocation of a function with a possibly qualified name. This name must be resolved into either a builtin function or a user-defined function.- Specified by:
getBestMatch
in interfaceFunctionResolver
- Parameters:
methods
- a list of candidates of DrillFuncHolder to be chosen fromcall
- a given function call whose DrillFuncHolder is to be determined via this method- Returns:
- DrillFuncHolder the chosen DrillFuncHolder
-