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(java.lang.String name,
SqlKind kind) |
Modifier and Type | Method and Description |
---|---|
SqlAvgAggFunction.Subtype |
getSubtype()
Deprecated.
|
allowsFilter, allowsNullTreatment, getParameterTypes, getReturnType, isAggregator, 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, 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, validRexOperands
public SqlAvgAggFunction(SqlKind kind)
SqlAvgAggFunction(java.lang.String name, SqlKind kind)
@Deprecated public SqlAvgAggFunction(RelDataType type, SqlAvgAggFunction.Subtype subtype)
@Deprecated public SqlAvgAggFunction.Subtype getSubtype()
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.