public class ZetaSqlScalarFunctionImpl extends ScalarFunctionImpl
ScalarFunctionImpl
.UdfImplReflectiveFunctionBase.ParameterListBuilder
Modifier and Type | Field and Description |
---|---|
java.lang.String |
functionGroup
ZetaSQL function group identifier.
|
method, parameters
Modifier and Type | Method and Description |
---|---|
static org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.schema.Function |
create(java.lang.Class<?> clazz,
java.lang.String methodName,
java.lang.String functionGroup,
java.lang.String jarPath)
Creates
Function from
given class. |
static org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.schema.Function |
create(java.lang.reflect.Method method,
java.lang.String functionGroup,
java.lang.String jarPath)
Creates
Function from
given method. |
create, create, createAll, createImplementor, getImplementor, getJarPath, getReturnType, getReturnType, validateMethod
builder, getParameters
public final java.lang.String functionGroup
public static org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.schema.Function create(java.lang.Class<?> clazz, java.lang.String methodName, java.lang.String functionGroup, java.lang.String jarPath)
Function
from
given class.
If a method of the given name is not found or it does not suit, returns null
.
clazz
- class that is used to implement the functionmethodName
- Method name (typically "eval")functionGroup
- ZetaSQL function group identifier. Different function groups may have
divergent translation paths.ScalarFunction
or nullpublic static org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.schema.Function create(java.lang.reflect.Method method, java.lang.String functionGroup, java.lang.String jarPath)
Function
from
given method. When eval
method does not suit, null
is returned.method
- method that is used to implement the functionfunctionGroup
- ZetaSQL function group identifier. Different function groups may have
divergent translation paths.Function
or null