public class SqlJsonValueFunction extends SqlFunction
JSON_VALUE function.kind, MDX_PRECEDENCE, NL| Constructor and Description |
|---|
SqlJsonValueFunction(String name) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAllowedSignatures(String opNameToUse)
Returns a string describing the expected operand types of a call, e.g.
|
SqlOperandCountRange |
getOperandCountRange()
Returns a constraint on the number of operands expected by this operator.
|
static boolean |
hasExplicitTypeSpec(@Nullable SqlNode[] operands)
Returns whether there is an explicit return type specification.
|
static List<SqlNode> |
removeTypeSpecOperands(SqlCall call)
Returns new operand list with type specification removed.
|
void |
unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec)
Writes a SQL representation of a call to this operator to a writer,
including parentheses if the operators on either side are of greater
precedence.
|
deriveType, getFunctionType, getNameAsId, getParamNames, getParamTypes, getSqlIdentifier, getSyntax, isQuantifierAllowed, validateCall, validateQuantifieracceptCall, acceptCall, adjustType, allowsFraming, argumentMustBeScalar, checkOperandCount, checkOperandTypes, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, createCall, createCall, createCall, createCall, equals, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getMonotonicity, getName, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, getSignatureTemplate, getStrongPolicyInference, hashCode, inferReturnType, inferReturnType, isAggregator, isDeterministic, isDynamicFunction, isGroup, isGroupAuxiliary, isName, isSymmetrical, leftPrec, not, preValidateCall, requiresDecimalExpansion, requiresOrder, requiresOver, reverse, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperandspublic SqlJsonValueFunction(String name)
public static List<SqlNode> removeTypeSpecOperands(SqlCall call)
public SqlOperandCountRange getOperandCountRange()
SqlOperatorSqlOperandTypeChecker associated with this
operator.getOperandCountRange in class SqlOperatorpublic static boolean hasExplicitTypeSpec(@Nullable SqlNode[] operands)
public String getAllowedSignatures(String opNameToUse)
SqlOperatorgetAllowedSignatures in class SqlOperatorpublic void unparse(SqlWriter writer, SqlCall call, int leftPrec, int rightPrec)
SqlOperatorThe default implementation of this method delegates to
SqlSyntax.unparse(org.apache.calcite.sql.SqlWriter, org.apache.calcite.sql.SqlOperator, org.apache.calcite.sql.SqlCall, int, int).
unparse in class SqlFunctionCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.