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

        @Deprecated
        public SqlLeadLagAggFunction​(boolean isLead)
        Deprecated.
    • 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).
        Overrides:
        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).
        Overrides:
        allowsNullTreatment in class SqlAggFunction