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
rowsBetweenCurrentRow, rowsBetweenFollowing, rowsBetweenPreceding, rowsBetweenUnboundedFollowing, rowsBetweenUnboundedPreceding, rowsCurrentRow, rowsFollowing, rowsPreceding, rowsUnboundedFollowing, rowsUnboundedPreceding
@Support(value={CUBRID,DB2,POSTGRES,ORACLE,SQLSERVER,SYBASE}) WindowSpecificationOrderByStep partitionBy(Field<?>... fields)
PARTITION BY
clause to the window specification.@Support(value={CUBRID,DB2,POSTGRES,ORACLE,SQLSERVER,SYBASE}) WindowSpecificationOrderByStep partitionBy(Collection<? extends Field<?>> fields)
PARTITION BY
clause to the window specification.@Support(value={CUBRID,DB2,POSTGRES,ORACLE,SQLSERVER,SYBASE}) 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 © 2014. All Rights Reserved.