public class SqlJsonObjectFunction
extends org.apache.calcite.sql.SqlFunction
TODO Remove this class with Calcite 1.27 and replace the SqlJsonObjectFunction
in the
SqlJsonObjectFunctionWrapper
using the VARCHAR_NOT_NULL
return type inference.
Constructor and Description |
---|
SqlJsonObjectFunction() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkOperandCount(org.apache.calcite.sql.validate.SqlValidator validator,
org.apache.calcite.sql.type.SqlOperandTypeChecker argType,
org.apache.calcite.sql.SqlCall call) |
boolean |
checkOperandTypes(org.apache.calcite.sql.SqlCallBinding callBinding,
boolean throwOnFailure) |
org.apache.calcite.sql.SqlCall |
createCall(org.apache.calcite.sql.SqlLiteral functionQualifier,
org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlNode... operands) |
org.apache.calcite.sql.SqlOperandCountRange |
getOperandCountRange() |
String |
getSignatureTemplate(int operandsCount) |
void |
unparse(org.apache.calcite.sql.SqlWriter writer,
org.apache.calcite.sql.SqlCall call,
int leftPrec,
int rightPrec) |
deriveType, getFunctionType, getNameAsId, getParamNames, getParamTypes, getSqlIdentifier, getSyntax, isQuantifierAllowed, validateCall, validateQuantifier
acceptCall, acceptCall, adjustType, allowsFraming, argumentMustBeScalar, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, equals, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getMonotonicity, getName, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, getStrongPolicyInference, hashCode, inferReturnType, inferReturnType, isAggregator, isDeterministic, isDynamicFunction, isGroup, isGroupAuxiliary, isName, isSymmetrical, leftPrec, preValidateCall, requiresDecimalExpansion, requiresOrder, requiresOver, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperands
public org.apache.calcite.sql.SqlOperandCountRange getOperandCountRange()
getOperandCountRange
in class org.apache.calcite.sql.SqlOperator
protected void checkOperandCount(org.apache.calcite.sql.validate.SqlValidator validator, org.apache.calcite.sql.type.SqlOperandTypeChecker argType, org.apache.calcite.sql.SqlCall call)
checkOperandCount
in class org.apache.calcite.sql.SqlOperator
public boolean checkOperandTypes(org.apache.calcite.sql.SqlCallBinding callBinding, boolean throwOnFailure)
checkOperandTypes
in class org.apache.calcite.sql.SqlOperator
public org.apache.calcite.sql.SqlCall createCall(org.apache.calcite.sql.SqlLiteral functionQualifier, org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlNode... operands)
createCall
in class org.apache.calcite.sql.SqlOperator
public String getSignatureTemplate(int operandsCount)
getSignatureTemplate
in class org.apache.calcite.sql.SqlOperator
public void unparse(org.apache.calcite.sql.SqlWriter writer, org.apache.calcite.sql.SqlCall call, int leftPrec, int rightPrec)
unparse
in class org.apache.calcite.sql.SqlFunction
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.