Class UdfImplReflectiveFunctionBase
java.lang.Object
org.apache.beam.sdk.extensions.sql.impl.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 Object
implements org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Function
Beam-customized version from
ReflectiveFunctionBase, to address BEAM-5921.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classHelps build lists ofFunctionParameter. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUdfImplReflectiveFunctionBase(Method method) UdfImplReflectiveFunctionBaseconstructor. -
Method Summary
-
Field Details
-
method
Method that implements the function. -
parameters
public final List<org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.FunctionParameter> parametersTypes of parameter for the function call.
-
-
Constructor Details
-
UdfImplReflectiveFunctionBase
UdfImplReflectiveFunctionBaseconstructor.- Parameters:
method- method that is used to get type information from
-
-
Method Details
-
getParameters
public List<org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.FunctionParameter> getParameters()Returns the parameters of this function.- Specified by:
getParametersin interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Function- Returns:
- Parameters; never null
-
builder
Creates a ParameterListBuilder.
-