Top Description Methods
org.jooq

public Interface WindowSpecificationOrderByStep

extends WindowSpecificationRowsStep
Known Direct Subinterfaces
org.jooq.WindowSpecificationPartitionByStep, org.jooq.WindowDefinition
Static Imports
org.jooq.SQLDialect.CUBRID, .SQLDialect.FIREBIRD, .SQLDialect.H2, .SQLDialect.MARIADB, .SQLDialect.MYSQL, .SQLDialect.POSTGRES, .SQLDialect.SQLITE, .SQLDialect.YUGABYTEDB

Deprecated

as a consequence of WindowSpecificationRowsStep being deprecated. See corresponding docs for further information.

An intermediate step in the construction of a WindowSpecification.

Example:


WindowSpecification spec =
DSL.partitionBy(BOOK.AUTHOR_ID)
   .orderBy(BOOK.ID)
   .rowsBetweenUnboundedPreceding()
   .andCurrentRow();

Referencing XYZ*Step types directly from client code

It is usually not recommended to reference any XYZ*Step types directly from client code, or assign them to local variables. When writing dynamic SQL, creating a statement's components dynamically, and passing them to the DSL API statically is usually a better choice. See the manual's section about dynamic SQL for details: https://www.jooq.org/doc/latest/manual/sql-building/dynamic-sql.

Drawbacks of referencing the XYZ*Step types directly:

Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public @NotNull WindowSpecificationRowsStep
orderBy(OrderField<?>... fields)

Deprecated as a consequence of WindowSpecificationRowsStep being deprecated.
Add an ORDER BY clause to the window specification.
public @NotNull WindowSpecificationRowsStep
orderBy(Collection<? extends OrderField<?>> fields)

Deprecated as a consequence of WindowSpecificationRowsStep being deprecated.
Add an ORDER BY clause to the window specification.
Inherited from org.jooq.WindowSpecificationRowsStep:
groupsBetweenCurrentRowgroupsBetweenFollowinggroupsBetweenPrecedinggroupsBetweenUnboundedFollowinggroupsBetweenUnboundedPrecedinggroupsCurrentRowgroupsFollowinggroupsPrecedinggroupsUnboundedFollowinggroupsUnboundedPrecedingrangeBetweenCurrentRowrangeBetweenFollowingrangeBetweenPrecedingrangeBetweenUnboundedFollowingrangeBetweenUnboundedPrecedingrangeCurrentRowrangeFollowingrangePrecedingrangeUnboundedFollowingrangeUnboundedPrecedingrowsBetweenCurrentRowrowsBetweenFollowingrowsBetweenPrecedingrowsBetweenUnboundedFollowingrowsBetweenUnboundedPrecedingrowsCurrentRowrowsFollowingrowsPrecedingrowsUnboundedFollowingrowsUnboundedPreceding

Method Detail

orderByback to summary
public @NotNull WindowSpecificationRowsStep orderBy(OrderField<?>... fields)

Deprecated

as a consequence of WindowSpecificationRowsStep being deprecated. See corresponding docs for further information.

Add an ORDER BY clause to the window specification.

Annotations
@NotNull
@Support:CUBRID, FIREBIRD, H2, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
orderByback to summary
public @NotNull WindowSpecificationRowsStep orderBy(Collection<? extends OrderField<?>> fields)

Deprecated

as a consequence of WindowSpecificationRowsStep being deprecated. See corresponding docs for further information.

Add an ORDER BY clause to the window specification.

Annotations
@NotNull
@Support:CUBRID, FIREBIRD, H2, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB