Class BuiltInSqlFunction.Builder
- java.lang.Object
-
- org.apache.flink.table.planner.functions.sql.BuiltInSqlFunction.Builder
-
- Enclosing class:
- BuiltInSqlFunction
public static class BuiltInSqlFunction.Builder extends Object
Builder for fluent definition of built-in functions.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuiltInSqlFunction
build()
BuiltInSqlFunction.Builder
category(org.apache.calcite.sql.SqlFunctionCategory category)
BuiltInSqlFunction.Builder
internal()
BuiltInSqlFunction.Builder
kind(org.apache.calcite.sql.SqlKind kind)
BuiltInSqlFunction.Builder
monotonicity(Function<org.apache.calcite.sql.SqlOperatorBinding,org.apache.calcite.sql.validate.SqlMonotonicity> monotonicity)
BuiltInSqlFunction.Builder
monotonicity(org.apache.calcite.sql.validate.SqlMonotonicity staticMonotonicity)
BuiltInSqlFunction.Builder
name(String name)
BuiltInSqlFunction.Builder
notDeterministic()
BuiltInSqlFunction.Builder
operandTypeChecker(org.apache.calcite.sql.type.SqlOperandTypeChecker operandTypeChecker)
BuiltInSqlFunction.Builder
operandTypeInference(org.apache.calcite.sql.type.SqlOperandTypeInference operandTypeInference)
BuiltInSqlFunction.Builder
returnType(org.apache.calcite.sql.type.SqlReturnTypeInference returnTypeInference)
BuiltInSqlFunction.Builder
version(int version)
-
-
-
Method Detail
-
name
public BuiltInSqlFunction.Builder name(String name)
-
version
public BuiltInSqlFunction.Builder version(int version)
-
kind
public BuiltInSqlFunction.Builder kind(org.apache.calcite.sql.SqlKind kind)
-
returnType
public BuiltInSqlFunction.Builder returnType(org.apache.calcite.sql.type.SqlReturnTypeInference returnTypeInference)
-
operandTypeInference
public BuiltInSqlFunction.Builder operandTypeInference(org.apache.calcite.sql.type.SqlOperandTypeInference operandTypeInference)
-
operandTypeChecker
public BuiltInSqlFunction.Builder operandTypeChecker(org.apache.calcite.sql.type.SqlOperandTypeChecker operandTypeChecker)
-
category
public BuiltInSqlFunction.Builder category(org.apache.calcite.sql.SqlFunctionCategory category)
-
notDeterministic
public BuiltInSqlFunction.Builder notDeterministic()
-
internal
public BuiltInSqlFunction.Builder internal()
-
monotonicity
public BuiltInSqlFunction.Builder monotonicity(org.apache.calcite.sql.validate.SqlMonotonicity staticMonotonicity)
-
monotonicity
public BuiltInSqlFunction.Builder monotonicity(Function<org.apache.calcite.sql.SqlOperatorBinding,org.apache.calcite.sql.validate.SqlMonotonicity> monotonicity)
-
build
public BuiltInSqlFunction build()
-
-