public class SqlSumAggFunction extends SqlAggFunction
Sum is an aggregator which returns the sum of the values which
go into it. It has precisely one argument of numeric type (int,
long, float, double), and the result
is the same type.kind, MDX_PRECEDENCE, NL| Constructor and Description |
|---|
SqlSumAggFunction(RelDataType type) |
| Modifier and Type | Method and Description |
|---|---|
List<RelDataType> |
getParameterTypes(RelDataTypeFactory typeFactory) |
RelDataType |
getReturnType(RelDataTypeFactory typeFactory) |
SqlAggFunction |
getRollup()
Gets rollup aggregation function.
|
RelDataType |
getType()
Deprecated.
|
<T> T |
unwrap(Class<T> clazz)
Finds an instance of an interface implemented by this object,
or returns null if this object does not support that interface.
|
allowsFilter, allowsNullTreatment, getDistinctOptionality, isAggregator, isPercentile, isQuantifierAllowed, requiresGroupOrder, requiresOrder, requiresOver, validateCallderiveType, getFunctionType, getNameAsId, getParamNames, getParamTypes, getSqlIdentifier, getSyntax, unparse, 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 SqlSumAggFunction(RelDataType type)
public List<RelDataType> getParameterTypes(RelDataTypeFactory typeFactory)
getParameterTypes in class SqlAggFunction@Deprecated public RelDataType getType()
public RelDataType getReturnType(RelDataTypeFactory typeFactory)
getReturnType in class SqlAggFunctionpublic <T> T unwrap(Class<T> clazz)
Wrapperunwrap in interface Wrapperunwrap in class SqlAggFunctionpublic SqlAggFunction getRollup()
SqlAggFunctiongetRollup in class SqlAggFunctionCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.