Class DefaultFunctionResolver

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

public class DefaultFunctionResolver extends Object implements FunctionResolver
  • Constructor Details

    • DefaultFunctionResolver

      public DefaultFunctionResolver()
  • 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