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(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,POSTGRES,ORACLE,SQLSERVER,SYBASE}) WindowSpecificationRowsStep orderBy(Field<?>... fields)
ORDER BY
clause to the window specification.@Support(value={CUBRID,DB2,POSTGRES,ORACLE,SQLSERVER,SYBASE}) WindowSpecificationRowsStep orderBy(SortField<?>... fields)
ORDER BY
clause to the window specification.Copyright © 2014. All Rights Reserved.