public class SqlHistogramAggFunction extends SqlAggFunction
HISTOGRAM
is the base operator that supports the Histogram
MIN/MAX aggregate functions. It returns the sum of the values which go
into it. It has precisely one argument of numeric type (int
,
long
, float
, double
); results are
retrieved using (HistogramMin
) and (HistogramMax
).Modifier and Type | Field and Description |
---|---|
private RelDataType |
type
Deprecated.
|
kind, MDX_PRECEDENCE, NL
Constructor and Description |
---|
SqlHistogramAggFunction(RelDataType type) |
Modifier and Type | Method and Description |
---|---|
java.util.List<RelDataType> |
getParameterTypes(RelDataTypeFactory typeFactory) |
RelDataType |
getReturnType(RelDataTypeFactory typeFactory) |
RelDataType |
getType()
Deprecated.
|
allowsFilter, allowsNullTreatment, 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
@Deprecated private final RelDataType type
public SqlHistogramAggFunction(RelDataType type)
public java.util.List<RelDataType> getParameterTypes(RelDataTypeFactory typeFactory)
getParameterTypes
in class SqlAggFunction
@Deprecated public RelDataType getType()
public RelDataType getReturnType(RelDataTypeFactory typeFactory)
getReturnType
in class SqlAggFunction
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.