public interface WindowSpecificationPartitionByStep extends WindowSpecificationOrderByStep
WindowSpecification
.
Example:
WindowSpecification spec =
DSL.partitionBy(BOOK.AUTHOR_ID)
.orderBy(BOOK.ID)
.rowsBetweenUnboundedPreceding()
.andCurrentRow();
Modifier and Type | Method and Description |
---|---|
WindowSpecificationOrderByStep |
partitionBy(java.util.Collection<? extends Field<?>> fields)
Add a
PARTITION BY clause to the window specification. |
WindowSpecificationOrderByStep |
partitionBy(Field<?>... fields)
Add a
PARTITION BY clause to the window specification. |
WindowSpecificationOrderByStep |
partitionByOne()
Deprecated.
- 3.10 - [#6427] - This synthetic clause is no longer
supported, use
partitionBy(Field...) instead, or
omit the clause entirely. |
orderBy, orderBy
rangeBetweenCurrentRow, rangeBetweenFollowing, rangeBetweenPreceding, rangeBetweenUnboundedFollowing, rangeBetweenUnboundedPreceding, rangeCurrentRow, rangeFollowing, rangePreceding, rangeUnboundedFollowing, rangeUnboundedPreceding, rowsBetweenCurrentRow, rowsBetweenFollowing, rowsBetweenPreceding, rowsBetweenUnboundedFollowing, rowsBetweenUnboundedPreceding, rowsCurrentRow, rowsFollowing, rowsPreceding, rowsUnboundedFollowing, rowsUnboundedPreceding
@Support(value={CUBRID,DB2,FIREBIRD_3_0,HANA,INFORMIX,MYSQL_8_0,POSTGRES,ORACLE,REDSHIFT,SQLSERVER,SYBASE,VERTICA}) WindowSpecificationOrderByStep partitionBy(Field<?>... fields)
PARTITION BY
clause to the window specification.@Support(value={CUBRID,DB2,FIREBIRD_3_0,HANA,INFORMIX,MYSQL_8_0,POSTGRES,ORACLE,REDSHIFT,SQLSERVER,SYBASE,VERTICA}) WindowSpecificationOrderByStep partitionBy(java.util.Collection<? extends Field<?>> fields)
PARTITION BY
clause to the window specification.@Deprecated @Support(value={CUBRID,DB2,FIREBIRD_3_0,HANA,INFORMIX,MYSQL_8_0,POSTGRES,ORACLE,REDSHIFT,SQLSERVER,SYBASE,VERTICA}) WindowSpecificationOrderByStep partitionByOne()
partitionBy(Field...)
instead, or
omit the clause entirely.PARTITION BY 1
clause to the window specification,
where such a clause is required by the syntax of an RDBMS.
This clause is not supported as such in the CUBRID and Sybase dialects. If you use it, jOOQ will simply ignore it.
Copyright © 2018. All Rights Reserved.