Class SqlLeadLagAggFunction

  • All Implemented Interfaces:
    Context, Wrapper

    public class SqlLeadLagAggFunction
    extends SqlAggFunction
    LEAD and LAG aggregate functions return the value of given expression evaluated at given offset.
    • Constructor Detail

      • SqlLeadLagAggFunction

        public SqlLeadLagAggFunction​(SqlKind kind)
      • SqlLeadLagAggFunction

        public SqlLeadLagAggFunction​(boolean isLead)
    • Method Detail

      • allowsFraming

        public boolean allowsFraming()
        Description copied from class: SqlOperator
        Returns whether this is a window function that allows framing (i.e. a ROWS or RANGE clause in the window specification).
        allowsFraming in class SqlOperator
      • allowsNullTreatment

        public boolean allowsNullTreatment()
        Description copied from class: SqlAggFunction
        Returns whether this aggregate function allows specifying null treatment (RESPECT NULLS or IGNORE NULLS).
        allowsNullTreatment in class SqlAggFunction