Class ExactFunctionResolver

java.lang.Object
org.apache.drill.exec.resolver.ExactFunctionResolver
All Implemented Interfaces:
FunctionResolver

public class ExactFunctionResolver extends Object implements FunctionResolver
  • Constructor Details

    • ExactFunctionResolver

      public ExactFunctionResolver()
  • Method Details

    • getBestMatch

      public DrillFuncHolder getBestMatch(List<DrillFuncHolder> methods, FunctionCall call)
      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 interface FunctionResolver
      Parameters:
      methods - a list of candidates of DrillFuncHolder to be chosen from
      call - a given function call whose DrillFuncHolder is to be determined via this method
      Returns:
      DrillFuncHolder the chosen DrillFuncHolder