Package org.apache.calcite.sql.fun
Class SqlHistogramAggFunction
- java.lang.Object
-
- org.apache.calcite.sql.SqlOperator
-
- org.apache.calcite.sql.SqlFunction
-
- org.apache.calcite.sql.SqlAggFunction
-
- org.apache.calcite.sql.fun.SqlHistogramAggFunction
-
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
).
-
-
Field Summary
Fields Modifier and Type Field Description private RelDataType
type
Deprecated.-
Fields inherited from class org.apache.calcite.sql.SqlOperator
kind, MDX_PRECEDENCE, NL
-
-
Constructor Summary
Constructors Constructor Description SqlHistogramAggFunction(RelDataType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.List<RelDataType>
getParameterTypes(RelDataTypeFactory typeFactory)
RelDataType
getReturnType(RelDataTypeFactory typeFactory)
RelDataType
getType()
Deprecated.-
Methods inherited from class org.apache.calcite.sql.SqlAggFunction
allowsFilter, isAggregator, isQuantifierAllowed, requiresGroupOrder, requiresOrder, requiresOver, unwrap, validateCall
-
Methods inherited from class org.apache.calcite.sql.SqlFunction
deriveType, getFunctionType, getNameAsId, getParamNames, getParamTypes, getSqlIdentifier, getSyntax, unparse, validateQuantifier
-
Methods inherited from class org.apache.calcite.sql.SqlOperator
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
-
-
-
-
Field Detail
-
type
@Deprecated private final RelDataType type
Deprecated.
-
-
Constructor Detail
-
SqlHistogramAggFunction
public SqlHistogramAggFunction(RelDataType type)
-
-
Method Detail
-
getParameterTypes
public java.util.List<RelDataType> getParameterTypes(RelDataTypeFactory typeFactory)
- Overrides:
getParameterTypes
in classSqlAggFunction
-
getType
@Deprecated public RelDataType getType()
Deprecated.
-
getReturnType
public RelDataType getReturnType(RelDataTypeFactory typeFactory)
- Overrides:
getReturnType
in classSqlAggFunction
-
-