public class SqlFirstLastValueAggFunction extends SqlAggFunction
FIRST_VALUE and LAST_VALUE aggregate functions
return the first or the last value in a list of values that are input to the
function.kind, MDX_PRECEDENCE, NL| Constructor and Description |
|---|
SqlFirstLastValueAggFunction(boolean firstFlag)
Deprecated.
|
SqlFirstLastValueAggFunction(SqlKind kind) |
| Modifier and Type | Method and Description |
|---|---|
List<RelDataType> |
getParameterTypes(RelDataTypeFactory typeFactory) |
RelDataType |
getReturnType(RelDataTypeFactory typeFactory) |
allowsFilter, isAggregator, isQuantifierAllowed, 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, hashCode, inferReturnType, inferReturnType, isDeterministic, isDynamicFunction, isGroup, isGroupAuxiliary, isName, leftPrec, preValidateCall, requiresDecimalExpansion, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperandspublic SqlFirstLastValueAggFunction(SqlKind kind)
@Deprecated public SqlFirstLastValueAggFunction(boolean firstFlag)
public List<RelDataType> getParameterTypes(RelDataTypeFactory typeFactory)
getParameterTypes in class SqlAggFunctionpublic RelDataType getReturnType(RelDataTypeFactory typeFactory)
getReturnType in class SqlAggFunctionCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.