public interface WindowSpecificationOrderByStep extends WindowSpecificationRowsStep
WindowSpecification
.
Example:
WindowSpecification spec =
DSL.partitionBy(BOOK.AUTHOR_ID)
.orderBy(BOOK.ID)
.rowsBetweenUnboundedPreceding()
.andCurrentRow();
Modifier and Type | Method and Description |
---|---|
WindowSpecificationRowsStep |
orderBy(java.util.Collection<? extends SortField<?>> fields)
Add an
ORDER BY clause to the window specification. |
WindowSpecificationRowsStep |
orderBy(Field<?>... fields)
Add an
ORDER BY clause to the window specification. |
WindowSpecificationRowsStep |
orderBy(SortField<?>... fields)
Add an
ORDER BY clause to the window specification. |
rowsBetweenCurrentRow, rowsBetweenFollowing, rowsBetweenPreceding, rowsBetweenUnboundedFollowing, rowsBetweenUnboundedPreceding, rowsCurrentRow, rowsFollowing, rowsPreceding, rowsUnboundedFollowing, rowsUnboundedPreceding
@Support(value={CUBRID,DB2,HANA,INFORMIX,POSTGRES,ORACLE,SQLSERVER,SYBASE}) WindowSpecificationRowsStep orderBy(Field<?>... fields)
ORDER BY
clause to the window specification.@Support(value={CUBRID,DB2,HANA,INFORMIX,POSTGRES,ORACLE,SQLSERVER,SYBASE}) WindowSpecificationRowsStep orderBy(SortField<?>... fields)
ORDER BY
clause to the window specification.Copyright © 2015. All Rights Reserved.