Package org.apache.calcite.sql.fun
Class SqlLeadLagAggFunction
java.lang.Object
org.apache.calcite.sql.SqlOperator
org.apache.calcite.sql.SqlFunction
org.apache.calcite.sql.SqlAggFunction
org.apache.calcite.sql.fun.SqlLeadLagAggFunction
LEAD and LAG aggregate functions
 return the value of given expression evaluated at given offset.- 
Field SummaryFields inherited from class org.apache.calcite.sql.SqlOperatorkind, MDX_PRECEDENCE, NL
- 
Constructor SummaryConstructorsConstructorDescriptionSqlLeadLagAggFunction(boolean isLead) Deprecated.SqlLeadLagAggFunction(SqlKind kind) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturns whether this is a window function that allows framing (i.e.booleanReturns whether this aggregate function allows specifying null treatment (RESPECT NULLSorIGNORE NULLS).Methods inherited from class org.apache.calcite.sql.SqlAggFunctionallowsFilter, getDistinctOptionality, getParameterTypes, getReturnType, getRollup, isAggregator, isPercentile, isQuantifierAllowed, requiresGroupOrder, requiresOrder, requiresOver, unwrap, validateCallMethods inherited from class org.apache.calcite.sql.SqlFunctionderiveType, getFunctionType, getNameAsId, getParamNames, getParamTypes, getSqlIdentifier, getSyntax, unparse, validateQuantifierMethods inherited from class org.apache.calcite.sql.SqlOperatoracceptCall, acceptCall, adjustType, argumentMustBeScalar, checkOperandCount, checkOperandTypes, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, createCall, createCall, createCall, createCall, deriveOperandType, equals, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getMonotonicity, getName, getOperandCountRange, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, getSignatureTemplate, getSqlCallFactory, getStrongPolicyInference, hashCode, inferReturnType, inferReturnType, isDeterministic, isDynamicFunction, isGroup, isGroupAuxiliary, isName, isSymmetrical, leftPrec, not, preValidateCall, requiresDecimalExpansion, reverse, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperandsMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.calcite.schema.WrappermaybeUnwrap, unwrapOrThrow
- 
Constructor Details- 
SqlLeadLagAggFunction
- 
SqlLeadLagAggFunctionDeprecated.
 
- 
- 
Method Details- 
allowsFramingpublic boolean allowsFraming()Description copied from class:SqlOperatorReturns whether this is a window function that allows framing (i.e. a ROWS or RANGE clause in the window specification).- Overrides:
- allowsFramingin class- SqlOperator
 
- 
allowsNullTreatmentpublic boolean allowsNullTreatment()Description copied from class:SqlAggFunctionReturns whether this aggregate function allows specifying null treatment (RESPECT NULLSorIGNORE NULLS).- Overrides:
- allowsNullTreatmentin class- SqlAggFunction
 
 
-