## Uses of Class
com.snowflake.snowpark_java.WindowSpec

- Packages that use WindowSpec
  Package | Description
  --- | ---
  com.snowflake.snowpark_java | Provides most of the classes for the Snowpark Java API.

- - ### Uses of WindowSpec in com.snowflake.snowpark_java

    Methods in com.snowflake.snowpark_java that return WindowSpec
    Modifier and Type | Method | Description
    --- | --- | ---
    `static WindowSpec` | Window.`orderBy​(Column... cols)` | Returns WindowSpec object with order by clause.
    `WindowSpec` | WindowSpec.`orderBy​(Column... cols)` | Returns a new WindowSpec object with the new order by clause.
    `static WindowSpec` | Window.`partitionBy​(Column... cols)` | Returns WindowSpec object with partition by clause.
    `WindowSpec` | WindowSpec.`partitionBy​(Column... cols)` | Returns a new WindowSpec object with the new partition by clause.
    `static WindowSpec` | Window.`rangeBetween​(long start, long end)` | Returns WindowSpec object with range frame clause.
    `WindowSpec` | WindowSpec.`rangeBetween​(long start, long end)` | Returns a new WindowSpec object with the new range frame clause.
    `static WindowSpec` | Window.`rowsBetween​(long start, long end)` | Returns WindowSpec object with row frame clause.
    `WindowSpec` | WindowSpec.`rowsBetween​(long start, long end)` | Returns a new WindowSpec object with the new row frame clause.

    Methods in com.snowflake.snowpark_java with parameters of type WindowSpec
    Modifier and Type | Method | Description
    --- | --- | ---
    `Column` | Column.`over​(WindowSpec windowSpec)` | Returns a windows frame, based on the specified WindowSpec.