public class HiveSqlSumAggFunction extends org.apache.calcite.sql.SqlAggFunction implements CanAggregateDistinct
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.| Constructor and Description |
|---|
HiveSqlSumAggFunction(boolean isDistinct,
org.apache.calcite.sql.type.SqlReturnTypeInference returnTypeInference,
org.apache.calcite.sql.type.SqlOperandTypeInference operandTypeInference,
org.apache.calcite.sql.type.SqlOperandTypeChecker operandTypeChecker) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDistinct() |
<T> T |
unwrap(Class<T> clazz) |
allowsFilter, getParameterTypes, getReturnType, isAggregator, isQuantifierAllowed, requiresOrder, requiresOver, validateCallderiveType, getFunctionType, getNameAsId, getParamNames, getParamTypes, getSqlIdentifier, getSyntax, unparse, validateQuantifieracceptCall, acceptCall, adjustType, allowsFraming, argumentMustBeScalar, checkOperandCount, checkOperandTypes, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, createCall, equals, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getMonotonicity, getName, getOperandCountRange, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, getSignatureTemplate, hashCode, inferReturnType, inferReturnType, isDeterministic, isDynamicFunction, isGroup, isGroupAuxiliary, isName, leftPrec, preValidateCall, requiresDecimalExpansion, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperandspublic HiveSqlSumAggFunction(boolean isDistinct,
org.apache.calcite.sql.type.SqlReturnTypeInference returnTypeInference,
org.apache.calcite.sql.type.SqlOperandTypeInference operandTypeInference,
org.apache.calcite.sql.type.SqlOperandTypeChecker operandTypeChecker)
public boolean isDistinct()
isDistinct in interface CanAggregateDistinctpublic <T> T unwrap(Class<T> clazz)
unwrap in interface org.apache.calcite.schema.Wrapperunwrap in class org.apache.calcite.sql.SqlAggFunctionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.