public class SqlNtileAggFunction extends SqlAggFunction
NTILE aggregate function
return the value of given expression evaluated at given offset.kind, MDX_PRECEDENCE, NL| Constructor and Description |
|---|
SqlNtileAggFunction() |
| Modifier and Type | Method and Description |
|---|---|
List<RelDataType> |
getParameterTypes(RelDataTypeFactory typeFactory) |
RelDataType |
getReturnType(RelDataTypeFactory typeFactory) |
boolean |
requiresOrder()
Returns whether this is a window function that requires ordering.
|
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, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperandspublic boolean requiresOrder()
SqlOperatorPer SQL:2011, 2, 6.10: "If <ntile function>, <lead or lag function>, RANK or DENSE_RANK is specified, then the window ordering clause shall be present."
requiresOrder in class SqlOperatorSqlOperator.isAggregator()public List<RelDataType> getParameterTypes(RelDataTypeFactory typeFactory)
public RelDataType getReturnType(RelDataTypeFactory typeFactory)
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.