public class SqlJsonQueryFunction
extends org.apache.calcite.sql.SqlFunction
JSON_QUERY
function.
This class was copied over from Calcite to support RETURNING clause in JSON_QUERY (CALCITE-6365). When upgrading to Calcite 1.38.0 version, please remove the entire class.
Constructor and Description |
---|
SqlJsonQueryFunction() |
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.sql.SqlCall |
createCall(@Nullable org.apache.calcite.sql.SqlLiteral functionQualifier,
org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlNode... operands) |
@Nullable String |
getSignatureTemplate(int operandsCount) |
static boolean |
hasExplicitTypeSpec(@Nullable org.apache.calcite.sql.SqlNode[] operands) |
static List<org.apache.calcite.sql.SqlNode> |
removeTypeSpecOperands(org.apache.calcite.sql.SqlCall call) |
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, checkOperandCount, checkOperandTypes, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, createCall, createCall, createCall, equals, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getMonotonicity, getName, getOperandCountRange, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, getStrongPolicyInference, hashCode, inferReturnType, inferReturnType, isAggregator, isDeterministic, isDynamicFunction, isGroup, isGroupAuxiliary, isName, isSymmetrical, leftPrec, not, preValidateCall, requiresDecimalExpansion, requiresOrder, requiresOver, reverse, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperands
public @Nullable 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
public org.apache.calcite.sql.SqlCall createCall(@Nullable 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 static boolean hasExplicitTypeSpec(@Nullable org.apache.calcite.sql.SqlNode[] operands)
public static List<org.apache.calcite.sql.SqlNode> removeTypeSpecOperands(org.apache.calcite.sql.SqlCall call)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.