Interface FunctionLookupContext

All Known Implementing Classes:
FunctionImplementationRegistry

public interface FunctionLookupContext
  • Method Details

    • findDrillFunction

      DrillFuncHolder findDrillFunction(FunctionResolver functionResolver, FunctionCall functionCall)
      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 cast
      functionCall - - Specifies function name and type of arguments
      Returns:
      DrillFuncHolder
    • findNonDrillFunction

      AbstractFuncHolder findNonDrillFunction(FunctionCall functionCall)
      Find function implementation for given 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.
      Parameters:
      functionCall - - Specifies function name and type of arguments
      Returns:
      AbstractFuncHolder