Class SqlWindow

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class SqlWindow
    extends SqlCall
    SQL window specification.

    For example, the query

    SELECT sum(a) OVER (w ROWS 3 PRECEDING)
     FROM t
     WINDOW w AS (PARTITION BY x, y ORDER BY z),
         w1 AS (w ROWS 5 PRECEDING UNBOUNDED FOLLOWING)

    declares windows w and w1, and uses a window in an OVER clause. It thus contains 3 SqlWindow objects.