Deprecated
as a consequence of WindowSpecificationOrderByStep being deprecated. See corresponding docs for further information.
WindowSpecification.
Example:
WindowSpecification spec =
DSL.partitionBy(BOOK.AUTHOR_ID)
.orderBy(BOOK.ID)
.rowsBetweenUnboundedPreceding()
.andCurrentRow();
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:
| Modifier and Type | Method and Description |
|---|---|
| public @NotNull WindowSpecificationOrderByStep | partitionBy(GroupField... fields)
Deprecated
as a consequence of
Add a WindowSpecificationOrderByStep being deprecated.
PARTITION BY clause to the window specification.
|
| public @NotNull WindowSpecificationOrderByStep | partitionBy(Collection<? extends GroupField> fields)
Deprecated
as a consequence of
Add a WindowSpecificationOrderByStep being deprecated.
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
Add a partitionBy(GroupField. instead, or
omit the clause entirely.
PARTITION BY 1 clause to the window specification,
where such a clause is required by the syntax of an RDBMS.
|
| partitionBy | back to summary |
|---|---|
| public @NotNull WindowSpecificationOrderByStep partitionBy(GroupField... fields)
Deprecated as a consequence of Add a | |
| partitionBy | back to summary |
|---|---|
| public @NotNull WindowSpecificationOrderByStep partitionBy(Collection<? extends GroupField> fields)
Deprecated as a consequence of Add a | |
| partitionByOne | back to summary |
|---|---|
| public @NotNull WindowSpecificationOrderByStep partitionByOne()
Deprecated for removal since 3.10. - 3.10 - [#6427] - This synthetic clause is no longer
supported, use Add a | |