public class SqlCovarAggFunction extends SqlAggFunction
Covar is an aggregator which returns the Covariance of the
values which go into it. It has precisely two arguments of numeric type
(int, long, float,
double), and the result is the same type.| Modifier and Type | Class and Description |
|---|---|
static class |
SqlCovarAggFunction.Subtype
Enum for defining specific types.
|
kind, MDX_PRECEDENCE, NL| Constructor and Description |
|---|
SqlCovarAggFunction(RelDataType type,
SqlCovarAggFunction.Subtype subtype)
Creates a SqlCovarAggFunction.
|
| Modifier and Type | Method and Description |
|---|---|
List<RelDataType> |
getParameterTypes(RelDataTypeFactory typeFactory) |
RelDataType |
getReturnType(RelDataTypeFactory typeFactory) |
SqlCovarAggFunction.Subtype |
getSubtype()
Returns the specific function, e.g.
|
isAggregator, isQuantifierAllowed, validateCallderiveType, getFunctionType, getNameAsId, getParamTypes, getSqlIdentifier, getSyntax, unparse, validateQuantifieracceptCall, acceptCall, adjustType, allowsFraming, argumentMustBeScalar, checkOperandCount, checkOperandTypes, createCall, createCall, createCall, createCall, equals, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getName, getOperandCountRange, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, getSignatureTemplate, hashCode, inferReturnType, inferReturnType, isDeterministic, isDynamicFunction, isName, leftPrec, preValidateCall, requiresDecimalExpansion, requiresOrder, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperandspublic SqlCovarAggFunction(RelDataType type, SqlCovarAggFunction.Subtype subtype)
type - Data typesubtype - Specific function, e.g. COVAR_POPpublic List<RelDataType> getParameterTypes(RelDataTypeFactory typeFactory)
public RelDataType getReturnType(RelDataTypeFactory typeFactory)
public SqlCovarAggFunction.Subtype getSubtype()
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.