Package com.snowflake.snowpark_java
Class WindowSpec
- java.lang.Object
- 
- com.snowflake.snowpark_java.WindowSpec
 
- 
 public class WindowSpec extends Object Represents a window frame clause.- Since:
- 0.9.0
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description WindowSpecorderBy(Column... cols)Returns a new WindowSpec object with the new order by clause.WindowSpecpartitionBy(Column... cols)Returns a new WindowSpec object with the new partition by clause.WindowSpecrangeBetween(long start, long end)Returns a new WindowSpec object with the new range frame clause.WindowSpecrowsBetween(long start, long end)Returns a new WindowSpec object with the new row frame clause.
 
- 
- 
- 
Method Detail- 
partitionBypublic WindowSpec partitionBy(Column... cols) Returns a new WindowSpec object with the new partition by clause.- Parameters:
- cols- A list of input column
- Returns:
- The result WindowSpec
- Since:
- 0.9.0
 
 - 
orderBypublic WindowSpec orderBy(Column... cols) Returns a new WindowSpec object with the new order by clause.- Parameters:
- cols- A list of input column
- Returns:
- The result WindowSpec
- Since:
- 0.9.0
 
 - 
rowsBetweenpublic WindowSpec rowsBetween(long start, long end) Returns a new WindowSpec object with the new row frame clause.- Parameters:
- start- The starting index
- end- The ending index
- Returns:
- The result WindowSpec
- Since:
- 0.9.0
 
 - 
rangeBetweenpublic WindowSpec rangeBetween(long start, long end) Returns a new WindowSpec object with the new range frame clause.- Parameters:
- start- The starting index
- end- The ending index
- Returns:
- The result WindowSpec
- Since:
- 0.9.0
 
 
- 
 
-