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