Class UdfImplReflectiveFunctionBase

  • All Implemented Interfaces:
    org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Function
    Direct Known Subclasses:
    ScalarFunctionImpl

    public abstract class UdfImplReflectiveFunctionBase
    extends java.lang.Object
    implements org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Function
    Beam-customized version from ReflectiveFunctionBase, to address BEAM-5921.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.reflect.Method method
      Method that implements the function.
      java.util.List<org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.FunctionParameter> parameters
      Types of parameter for the function call.
    • Constructor Summary

      Constructors 
      Constructor Description
      UdfImplReflectiveFunctionBase​(java.lang.reflect.Method method)
      UdfImplReflectiveFunctionBase constructor.
    • Field Detail

      • method

        public final java.lang.reflect.Method method
        Method that implements the function.
      • parameters

        public final java.util.List<org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.FunctionParameter> parameters
        Types of parameter for the function call.
    • Constructor Detail

      • UdfImplReflectiveFunctionBase

        public UdfImplReflectiveFunctionBase​(java.lang.reflect.Method method)
        UdfImplReflectiveFunctionBase constructor.
        Parameters:
        method - method that is used to get type information from
    • Method Detail

      • getParameters

        public java.util.List<org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.FunctionParameter> getParameters()
        Returns the parameters of this function.
        Specified by:
        getParameters in interface org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Function
        Returns:
        Parameters; never null