Uses of Class
org.apache.druid.sql.calcite.expression.OperatorConversions.OperatorBuilder
Packages that use OperatorConversions.OperatorBuilder
-
Uses of OperatorConversions.OperatorBuilder in org.apache.druid.sql.calcite.expression
Methods in org.apache.druid.sql.calcite.expression that return OperatorConversions.OperatorBuilderModifier and TypeMethodDescriptionstatic OperatorConversions.OperatorBuilder<org.apache.calcite.sql.SqlAggFunction>OperatorConversions.aggregatorBuilder(String name) Returns a builder that helpsSqlAggregatorimplementations create theSqlAggFunctionobjects they need to return fromSqlAggregator.calciteFunction().OperatorConversions.OperatorBuilder.functionCategory(org.apache.calcite.sql.SqlFunctionCategory functionCategory) Sets theSqlKindof the operator.OperatorConversions.OperatorBuilder.literalOperands(int... literalOperands) Equivalent to callingDefaultOperandTypeChecker.Builder.literalOperands(int...); leads to using aDefaultOperandTypeCheckeras our operand type checker.OperatorConversions.OperatorBuilder.operandNames(String... operandNames) Signifies that a function accepts operands with the provided names.OperatorConversions.OperatorBuilder.operandTypeChecker(org.apache.calcite.sql.type.SqlOperandTypeChecker operandTypeChecker) Provide customized operand type checking logic.OperatorConversions.OperatorBuilder.operandTypeInference(org.apache.calcite.sql.type.SqlOperandTypeInference operandTypeInference) OperatorConversions.OperatorBuilder.operandTypes(org.apache.calcite.sql.type.SqlTypeFamily... operandTypes) Equivalent to callingDefaultOperandTypeChecker.Builder.operandTypes(SqlTypeFamily...); leads to using aDefaultOperandTypeCheckeras our operand type checker.static OperatorConversions.OperatorBuilder<org.apache.calcite.sql.SqlFunction>OperatorConversions.operatorBuilder(String name) Returns a builder that helpsSqlOperatorConversionimplementations create theSqlFunctionobjects they need to return fromSqlOperatorConversion.calciteOperator().OperatorConversions.OperatorBuilder.requiredOperandCount(int requiredOperandCount) Equivalent to callingDefaultOperandTypeChecker.Builder.requiredOperandCount(Integer); leads to using aDefaultOperandTypeCheckeras our operand type checker.OperatorConversions.OperatorBuilder.requiredOperands(int requiredOperands) Deprecated.OperatorConversions.OperatorBuilder.returnTypeArrayWithNullableElements(org.apache.calcite.sql.type.SqlTypeName elementTypeName) Sets the return type of the operator to an array type with elements of "typeName", marked as nullable.OperatorConversions.OperatorBuilder.returnTypeCascadeNullable(org.apache.calcite.sql.type.SqlTypeName typeName) Sets the return type of the operator to "typeName", marked as nullable if any of its operands are nullable.OperatorConversions.OperatorBuilder.returnTypeInference(org.apache.calcite.sql.type.SqlReturnTypeInference returnTypeInference) Provides customized return type inference logic.OperatorConversions.OperatorBuilder.returnTypeNonNull(org.apache.calcite.sql.type.SqlTypeName typeName) Sets the return type of the operator to "typeName", marked as non-nullable.OperatorConversions.OperatorBuilder.returnTypeNullable(org.apache.calcite.sql.type.SqlTypeName typeName) Sets the return type of the operator to "typeName", marked as nullable.OperatorConversions.OperatorBuilder.returnTypeNullableArrayWithNullableElements(org.apache.calcite.sql.type.SqlTypeName elementTypeName) Sets the return type of the operator to an array type with elements of "typeName", marked as nullable.