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(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()
Add a
PARTITION BY 1 clause to the window specification,
where such a clause is required by the syntax of an RDBMS. |
orderBy, 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,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,POSTGRES,ORACLE,REDSHIFT,SQLSERVER,SYBASE,VERTICA}) WindowSpecificationOrderByStep partitionBy(Collection<? extends Field<?>> fields)
PARTITION BY
clause to the window specification.@Support(value={CUBRID,DB2,FIREBIRD_3_0,HANA,INFORMIX,POSTGRES,ORACLE,REDSHIFT,SQLSERVER,SYBASE,VERTICA}) WindowSpecificationOrderByStep partitionByOne()
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 © 2017. All Rights Reserved.