Top Description Methods
org.jooq

public Interface WindowSpecificationPartitionByStep

extends WindowSpecificationOrderByStep
Known Direct Implementers
org.jooq.impl.WindowSpecificationImpl
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 WindowSpecificationOrderByStep 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 WindowSpecificationOrderByStep
partitionBy(GroupField... fields)

Deprecated as a consequence of WindowSpecificationOrderByStep being deprecated.
Add a PARTITION BY clause to the window specification.
public @NotNull WindowSpecificationOrderByStep
partitionBy(Collection<? extends GroupField> fields)

Deprecated as a consequence of WindowSpecificationOrderByStep being deprecated.
Add a PARTITION BY clause to the window specification.
public @NotNull WindowSpecificationOrderByStep
partitionByOne()

Deprecated for removal since 3.10. - 3.10 - [#6427] - This synthetic clause is no longer supported, use partitionBy(GroupField...) instead, or omit the clause entirely.
Add a PARTITION BY 1 clause to the window specification, where such a clause is required by the syntax of an RDBMS.
Inherited from org.jooq.WindowSpecificationOrderByStep:
orderByorderBy

Method Detail

partitionByback to summary
public @NotNull WindowSpecificationOrderByStep partitionBy(GroupField... fields)

Deprecated

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

Add a PARTITION BY clause to the window specification.

Annotations
@NotNull
@Support:CUBRID, FIREBIRD, H2, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
partitionByback to summary
public @NotNull WindowSpecificationOrderByStep partitionBy(Collection<? extends GroupField> fields)

Deprecated

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

Add a PARTITION BY clause to the window specification.

Annotations
@NotNull
@Support:CUBRID, FIREBIRD, H2, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
partitionByOneback to summary
public @NotNull WindowSpecificationOrderByStep partitionByOne()

Deprecated

for removal since 3.10.

- 3.10 - [#6427] - This synthetic clause is no longer supported, use partitionBy(GroupField...) instead, or omit the clause entirely.

Add a PARTITION BY 1 clause to the window specification, where such a clause is required by the syntax of an RDBMS.

Annotations
@Deprecated
forRemoval:true
since:3.10
@NotNull
@Support:CUBRID, FIREBIRD, H2, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB