public class SqlRankFunction extends SqlAggFunction
kind, MDX_PRECEDENCE, NL| Constructor and Description |
|---|
SqlRankFunction(String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsFraming()
Returns whether this is a window function that allows framing (i.e.
|
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, 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 SqlRankFunction(String name)
public 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 boolean allowsFraming()
SqlOperatorallowsFraming in class SqlOperatorpublic RelDataType getReturnType(RelDataTypeFactory typeFactory)
public List<RelDataType> getParameterTypes(RelDataTypeFactory typeFactory)
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.