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 |
|---|---|
boolean |
allowsNullTreatment()
Returns whether this aggregate function allows specifying null treatment
(
RESPECT NULLS or IGNORE NULLS). |
List<RelDataType> |
getParameterTypes(RelDataTypeFactory typeFactory) |
RelDataType |
getReturnType(RelDataTypeFactory typeFactory) |
allowsFilter, getDistinctOptionality, getRollup, isAggregator, isPercentile, 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, 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, not, preValidateCall, requiresDecimalExpansion, reverse, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperandsclone, finalize, getClass, notify, notifyAll, wait, wait, waitmaybeUnwrap, unwrapOrThrowpublic 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 SqlAggFunctionpublic boolean allowsNullTreatment()
SqlAggFunctionRESPECT NULLS or IGNORE NULLS).allowsNullTreatment in class SqlAggFunctionCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.