Class ReflectiveFunctionBase

java.lang.Object
org.apache.calcite.schema.impl.ReflectiveFunctionBase
All Implemented Interfaces:
Function
Direct Known Subclasses:
ScalarFunctionImpl, TableFunctionImpl, TableMacroImpl

public abstract class ReflectiveFunctionBase extends Object implements Function
Implementation of a function that is based on a method. This class mainly solves conversion of method parameter types to List<FunctionParameter> form.
  • Field Details

    • method

      public final Method method
      Method that implements the function.
    • parameters

      public final List<FunctionParameter> parameters
      Types of parameter for the function call.
  • Constructor Details

    • ReflectiveFunctionBase

      protected ReflectiveFunctionBase(Method method)
      Creates a ReflectiveFunctionBase.
      Parameters:
      method - Method that is used to get type information from
  • Method Details