public class SqlAvgAggFunction extends SqlAggFunction
Avg is an aggregator which returns the average 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.| Modifier and Type | Class and Description |
|---|---|
static class |
SqlAvgAggFunction.Subtype
Deprecated.
|
kind, MDX_PRECEDENCE, NL| Constructor and Description |
|---|
SqlAvgAggFunction(RelDataType type,
SqlAvgAggFunction.Subtype subtype)
Deprecated.
|
SqlAvgAggFunction(SqlKind kind)
Creates a SqlAvgAggFunction.
|
SqlAvgAggFunction(String name,
SqlKind kind) |
| Modifier and Type | Method and Description |
|---|---|
SqlAvgAggFunction.Subtype |
getSubtype()
Deprecated.
|
allowsFilter, getParameterTypes, getReturnType, isAggregator, isQuantifierAllowed, requiresOrder, requiresOver, unwrap, 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 SqlAvgAggFunction(SqlKind kind)
@Deprecated public SqlAvgAggFunction(RelDataType type, SqlAvgAggFunction.Subtype subtype)
@Deprecated public SqlAvgAggFunction.Subtype getSubtype()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.