Interface PluggableFunctionRegistry

All Known Implementing Classes:
HiveFunctionRegistry

public interface PluggableFunctionRegistry
  • Method Summary

    Modifier and Type
    Method
    Description
    getFunction(FunctionCall functionCall)
    If exists return the function implementation holder matching the given functionCall expression, otherwise null.
    void
    Register functions in given operator table.
  • Method Details

    • register

      void register(DrillOperatorTable operatorTable)
      Register functions in given operator table. There are two methods to add operators. One is addOperatorWithInference whose added operators will be used when planner.type_inference.enable is set to true; The other is addOperatorWithoutInference whose added operators will be used when planner.type_inference.enable is set to false;
      Parameters:
      operatorTable -
    • getFunction

      AbstractFuncHolder getFunction(FunctionCall functionCall)
      If exists return the function implementation holder matching the given functionCall expression, otherwise null.
      Parameters:
      functionCall -
      Returns: