public class SqlListAggFunction
extends org.apache.calcite.sql.SqlAggFunction
LISTAGG
aggregate function returns the concatenation of a list of values that are
input to the function.
NOTE: The difference between this and SqlStdOperatorTable.LISTAGG
is that: (1).
constraint the second parameter must to be a character literal. (2). not require over clause to
use this aggregate function.
Constructor and Description |
---|
SqlListAggFunction() |
Modifier and Type | Method and Description |
---|---|
List<org.apache.calcite.rel.type.RelDataType> |
getParameterTypes(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) |
org.apache.calcite.rel.type.RelDataType |
getReturnType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) |
allowsFilter, allowsNullTreatment, getDistinctOptionality, getRollup, isAggregator, isPercentile, isQuantifierAllowed, requiresGroupOrder, requiresOrder, requiresOver, unwrap, validateCall
deriveType, getFunctionType, getNameAsId, getParamNames, getParamTypes, getSqlIdentifier, getSyntax, unparse, validateQuantifier
acceptCall, 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, validRexOperands
public List<org.apache.calcite.rel.type.RelDataType> getParameterTypes(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
getParameterTypes
in class org.apache.calcite.sql.SqlAggFunction
public org.apache.calcite.rel.type.RelDataType getReturnType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
getReturnType
in class org.apache.calcite.sql.SqlAggFunction
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.