public abstract class UdfImplReflectiveFunctionBase
extends java.lang.Object
implements org.apache.calcite.schema.Function
ReflectiveFunctionBase
, to address BEAM-5921.Modifier and Type | Class and Description |
---|---|
static class |
UdfImplReflectiveFunctionBase.ParameterListBuilder
Helps build lists of
FunctionParameter . |
Modifier and Type | Field and Description |
---|---|
java.lang.reflect.Method |
method
Method that implements the function.
|
java.util.List<org.apache.calcite.schema.FunctionParameter> |
parameters
Types of parameter for the function call.
|
Constructor and Description |
---|
UdfImplReflectiveFunctionBase(java.lang.reflect.Method method)
UdfImplReflectiveFunctionBase constructor. |
Modifier and Type | Method and Description |
---|---|
static UdfImplReflectiveFunctionBase.ParameterListBuilder |
builder()
Creates a ParameterListBuilder.
|
java.util.List<org.apache.calcite.schema.FunctionParameter> |
getParameters()
Returns the parameters of this function.
|
public final java.lang.reflect.Method method
public final java.util.List<org.apache.calcite.schema.FunctionParameter> parameters
public UdfImplReflectiveFunctionBase(java.lang.reflect.Method method)
UdfImplReflectiveFunctionBase
constructor.method
- method that is used to get type information frompublic java.util.List<org.apache.calcite.schema.FunctionParameter> getParameters()
getParameters
in interface org.apache.calcite.schema.Function
public static UdfImplReflectiveFunctionBase.ParameterListBuilder builder()