public class SqlSingleValueAggFunction extends SqlAggFunction
SINGLE_VALUE aggregate function returns the input value if there
is only one value in the input; Otherwise it triggers a run-time error.kind, MDX_PRECEDENCE, NL| Constructor and Description |
|---|
SqlSingleValueAggFunction(RelDataType type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsFilter()
Whether this aggregate function allows a
FILTER (WHERE ...) |
List<RelDataType> |
getParameterTypes(RelDataTypeFactory typeFactory) |
RelDataType |
getReturnType(RelDataTypeFactory typeFactory) |
RelDataType |
getType()
Deprecated.
|
allowsNullTreatment, getDistinctOptionality, isAggregator, isQuantifierAllowed, requiresGroupOrder, 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, getStrongPolicyInference, hashCode, inferReturnType, inferReturnType, isDeterministic, isDynamicFunction, isGroup, isGroupAuxiliary, isName, isSymmetrical, leftPrec, preValidateCall, requiresDecimalExpansion, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperandspublic SqlSingleValueAggFunction(RelDataType type)
public boolean allowsFilter()
SqlAggFunctionFILTER (WHERE ...)
clause.allowsFilter in class SqlAggFunctionpublic List<RelDataType> getParameterTypes(RelDataTypeFactory typeFactory)
getParameterTypes in class SqlAggFunctionpublic RelDataType getReturnType(RelDataTypeFactory typeFactory)
getReturnType in class SqlAggFunction@Deprecated public RelDataType getType()
Copyright © 2012-2020 Apache Software Foundation. All Rights Reserved.