public class SqlJsonObjectAggAggFunction extends SqlAggFunction
JSON_OBJECTAGG aggregate function.kind, MDX_PRECEDENCE, NL| Constructor and Description |
|---|
SqlJsonObjectAggAggFunction(SqlKind kind,
SqlJsonConstructorNullClause nullClause)
Creates a SqlJsonObjectAggAggFunction.
|
| Modifier and Type | Method and Description |
|---|---|
RelDataType |
deriveType(SqlValidator validator,
SqlValidatorScope scope,
SqlCall call)
Derives the type of a call to this operator.
|
SqlJsonConstructorNullClause |
getNullClause() |
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.
|
SqlJsonObjectAggAggFunction |
with(SqlJsonConstructorNullClause nullClause) |
allowsFilter, allowsNullTreatment, getDistinctOptionality, getParameterTypes, getReturnType, getRollup, isAggregator, isPercentile, isQuantifierAllowed, requiresGroupOrder, requiresOrder, requiresOver, unwrap, validateCallgetFunctionType, getNameAsId, getParamNames, getParamTypes, getSqlIdentifier, getSyntax, validateQuantifieracceptCall, acceptCall, adjustType, allowsFraming, argumentMustBeScalar, checkOperandCount, checkOperandTypes, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, createCall, createCall, createCall, createCall, equals, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getMonotonicity, getName, getOperandCountRange, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, getSignatureTemplate, getStrongPolicyInference, hashCode, inferReturnType, inferReturnType, isDeterministic, isDynamicFunction, isGroup, isGroupAuxiliary, isName, isSymmetrical, leftPrec, not, preValidateCall, requiresDecimalExpansion, reverse, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperandsclone, finalize, getClass, notify, notifyAll, wait, wait, waitmaybeUnwrap, unwrapOrThrowpublic SqlJsonObjectAggAggFunction(SqlKind kind, SqlJsonConstructorNullClause nullClause)
public 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 SqlFunctionpublic RelDataType deriveType(SqlValidator validator, SqlValidatorScope scope, SqlCall call)
SqlOperatorThis method is an intrinsic part of the validation process so, unlike
SqlOperator.inferReturnType(org.apache.calcite.sql.SqlOperatorBinding), specific operators would not typically override
this method.
deriveType in class SqlFunctionvalidator - Validatorscope - Scope of validationcall - Call to this operatorpublic SqlJsonObjectAggAggFunction with(SqlJsonConstructorNullClause nullClause)
public SqlJsonConstructorNullClause getNullClause()
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.