Deprecated
as a consequence of WindowSpecificationFinalStep 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 WindowSpecificationRowsAndStep | groupsBetweenCurrentRow()
Add a |
| public @NotNull WindowSpecificationRowsAndStep | groupsBetweenFollowing(int number)
Add a |
| public @NotNull WindowSpecificationRowsAndStep | groupsBetweenPreceding(int number)
Add a |
| public @NotNull WindowSpecificationRowsAndStep | groupsBetweenUnboundedFollowing()
Add a |
| public @NotNull WindowSpecificationRowsAndStep | groupsBetweenUnboundedPreceding()
Add a |
| public @NotNull WindowSpecificationExcludeStep | groupsCurrentRow()
Deprecated
as a consequence of
Add a WindowSpecificationExcludeStep being deprecated.
GROUPS CURRENT ROW frame clause to the window
specification.
|
| public @NotNull WindowSpecificationExcludeStep | groupsFollowing(int number)
Deprecated
as a consequence of
Add a WindowSpecificationExcludeStep being deprecated.
GROUPS [number] FOLLOWING frame clause to the window
specification.
|
| public @NotNull WindowSpecificationExcludeStep | groupsPreceding(int number)
Deprecated
as a consequence of
Add a WindowSpecificationExcludeStep being deprecated.
GROUPS [number] PRECEDING frame clause to the window
specification.
|
| public @NotNull WindowSpecificationExcludeStep | groupsUnboundedFollowing()
Deprecated
as a consequence of
Add a WindowSpecificationExcludeStep being deprecated.
GROUPS UNBOUNDED FOLLOWING frame clause to the window
specification.
|
| public @NotNull WindowSpecificationExcludeStep | groupsUnboundedPreceding()
Deprecated
as a consequence of
Add a WindowSpecificationExcludeStep being deprecated.
GROUPS UNBOUNDED PRECEDING frame clause to the window
specification.
|
| public @NotNull WindowSpecificationRowsAndStep | |
| public @NotNull WindowSpecificationRowsAndStep | rangeBetweenFollowing(int number)
Add a |
| public @NotNull WindowSpecificationRowsAndStep | rangeBetweenPreceding(int number)
Add a |
| public @NotNull WindowSpecificationRowsAndStep | rangeBetweenUnboundedFollowing()
Add a |
| public @NotNull WindowSpecificationRowsAndStep | rangeBetweenUnboundedPreceding()
Add a |
| public @NotNull WindowSpecificationExcludeStep | rangeCurrentRow()
Deprecated
as a consequence of
Add a WindowSpecificationExcludeStep being deprecated.
RANGE CURRENT ROW frame clause to the window
specification.
|
| public @NotNull WindowSpecificationExcludeStep | rangeFollowing(int number)
Deprecated
as a consequence of
Add a WindowSpecificationExcludeStep being deprecated.
RANGE [number] FOLLOWING frame clause to the window
specification.
|
| public @NotNull WindowSpecificationExcludeStep | rangePreceding(int number)
Deprecated
as a consequence of
Add a WindowSpecificationExcludeStep being deprecated.
RANGE [number] PRECEDING frame clause to the window
specification.
|
| public @NotNull WindowSpecificationExcludeStep | rangeUnboundedFollowing()
Deprecated
as a consequence of
Add a WindowSpecificationExcludeStep being deprecated.
RANGE UNBOUNDED FOLLOWING frame clause to the window
specification.
|
| public @NotNull WindowSpecificationExcludeStep | rangeUnboundedPreceding()
Deprecated
as a consequence of
Add a WindowSpecificationExcludeStep being deprecated.
RANGE UNBOUNDED PRECEDING frame clause to the window
specification.
|
| public @NotNull WindowSpecificationRowsAndStep | |
| public @NotNull WindowSpecificationRowsAndStep | rowsBetweenFollowing(int number)
Add a |
| public @NotNull WindowSpecificationRowsAndStep | rowsBetweenPreceding(int number)
Add a |
| public @NotNull WindowSpecificationRowsAndStep | rowsBetweenUnboundedFollowing()
Add a |
| public @NotNull WindowSpecificationRowsAndStep | rowsBetweenUnboundedPreceding()
Add a |
| public @NotNull WindowSpecificationExcludeStep | rowsCurrentRow()
Deprecated
as a consequence of
Add a WindowSpecificationExcludeStep being deprecated.
ROWS CURRENT ROW frame clause to the window
specification.
|
| public @NotNull WindowSpecificationExcludeStep | rowsFollowing(int number)
Deprecated
as a consequence of
Add a WindowSpecificationExcludeStep being deprecated.
ROWS [number] FOLLOWING frame clause to the window
specification.
|
| public @NotNull WindowSpecificationExcludeStep | rowsPreceding(int number)
Deprecated
as a consequence of
Add a WindowSpecificationExcludeStep being deprecated.
ROWS [number] PRECEDING frame clause to the window
specification.
|
| public @NotNull WindowSpecificationExcludeStep | rowsUnboundedFollowing()
Deprecated
as a consequence of
Add a WindowSpecificationExcludeStep being deprecated.
ROWS UNBOUNDED FOLLOWING frame clause to the window
specification.
|
| public @NotNull WindowSpecificationExcludeStep | rowsUnboundedPreceding()
Deprecated
as a consequence of
Add a WindowSpecificationExcludeStep being deprecated.
ROWS UNBOUNDED PRECEDING frame clause to the window
specification.
|
| groupsBetweenCurrentRow | back to summary |
|---|---|
| public @NotNull WindowSpecificationRowsAndStep groupsBetweenCurrentRow() Add a | |
| groupsBetweenFollowing | back to summary |
|---|---|
| public @NotNull WindowSpecificationRowsAndStep groupsBetweenFollowing(int number) Add a | |
| groupsBetweenPreceding | back to summary |
|---|---|
| public @NotNull WindowSpecificationRowsAndStep groupsBetweenPreceding(int number) Add a | |
| groupsBetweenUnboundedFollowing | back to summary |
|---|---|
| public @NotNull WindowSpecificationRowsAndStep groupsBetweenUnboundedFollowing() Add a | |
| groupsBetweenUnboundedPreceding | back to summary |
|---|---|
| public @NotNull WindowSpecificationRowsAndStep groupsBetweenUnboundedPreceding() Add a | |
| groupsCurrentRow | back to summary |
|---|---|
| public @NotNull WindowSpecificationExcludeStep groupsCurrentRow()
Deprecated as a consequence of Add a | |
| groupsFollowing | back to summary |
|---|---|
| public @NotNull WindowSpecificationExcludeStep groupsFollowing(int number)
Deprecated as a consequence of Add a | |
| groupsPreceding | back to summary |
|---|---|
| public @NotNull WindowSpecificationExcludeStep groupsPreceding(int number)
Deprecated as a consequence of Add a | |
| groupsUnboundedFollowing | back to summary |
|---|---|
| public @NotNull WindowSpecificationExcludeStep groupsUnboundedFollowing()
Deprecated as a consequence of Add a | |
| groupsUnboundedPreceding | back to summary |
|---|---|
| public @NotNull WindowSpecificationExcludeStep groupsUnboundedPreceding()
Deprecated as a consequence of Add a | |
| rangeBetweenCurrentRow | back to summary |
|---|---|
| public @NotNull WindowSpecificationRowsAndStep rangeBetweenCurrentRow() Add a | |
| rangeBetweenFollowing | back to summary |
|---|---|
| public @NotNull WindowSpecificationRowsAndStep rangeBetweenFollowing(int number) Add a | |
| rangeBetweenPreceding | back to summary |
|---|---|
| public @NotNull WindowSpecificationRowsAndStep rangeBetweenPreceding(int number) Add a | |
| rangeBetweenUnboundedFollowing | back to summary |
|---|---|
| public @NotNull WindowSpecificationRowsAndStep rangeBetweenUnboundedFollowing() Add a | |
| rangeBetweenUnboundedPreceding | back to summary |
|---|---|
| public @NotNull WindowSpecificationRowsAndStep rangeBetweenUnboundedPreceding() Add a | |
| rangeCurrentRow | back to summary |
|---|---|
| public @NotNull WindowSpecificationExcludeStep rangeCurrentRow()
Deprecated as a consequence of Add a | |
| rangeFollowing | back to summary |
|---|---|
| public @NotNull WindowSpecificationExcludeStep rangeFollowing(int number)
Deprecated as a consequence of Add a | |
| rangePreceding | back to summary |
|---|---|
| public @NotNull WindowSpecificationExcludeStep rangePreceding(int number)
Deprecated as a consequence of Add a | |
| rangeUnboundedFollowing | back to summary |
|---|---|
| public @NotNull WindowSpecificationExcludeStep rangeUnboundedFollowing()
Deprecated as a consequence of Add a | |
| rangeUnboundedPreceding | back to summary |
|---|---|
| public @NotNull WindowSpecificationExcludeStep rangeUnboundedPreceding()
Deprecated as a consequence of Add a | |
| rowsBetweenCurrentRow | back to summary |
|---|---|
| public @NotNull WindowSpecificationRowsAndStep rowsBetweenCurrentRow() Add a | |
| rowsBetweenFollowing | back to summary |
|---|---|
| public @NotNull WindowSpecificationRowsAndStep rowsBetweenFollowing(int number) Add a | |
| rowsBetweenPreceding | back to summary |
|---|---|
| public @NotNull WindowSpecificationRowsAndStep rowsBetweenPreceding(int number) Add a | |
| rowsBetweenUnboundedFollowing | back to summary |
|---|---|
| public @NotNull WindowSpecificationRowsAndStep rowsBetweenUnboundedFollowing() Add a | |
| rowsBetweenUnboundedPreceding | back to summary |
|---|---|
| public @NotNull WindowSpecificationRowsAndStep rowsBetweenUnboundedPreceding() Add a | |
| rowsCurrentRow | back to summary |
|---|---|
| public @NotNull WindowSpecificationExcludeStep rowsCurrentRow()
Deprecated as a consequence of Add a | |
| rowsFollowing | back to summary |
|---|---|
| public @NotNull WindowSpecificationExcludeStep rowsFollowing(int number)
Deprecated as a consequence of Add a | |
| rowsPreceding | back to summary |
|---|---|
| public @NotNull WindowSpecificationExcludeStep rowsPreceding(int number)
Deprecated as a consequence of Add a | |
| rowsUnboundedFollowing | back to summary |
|---|---|
| public @NotNull WindowSpecificationExcludeStep rowsUnboundedFollowing()
Deprecated as a consequence of Add a | |
| rowsUnboundedPreceding | back to summary |
|---|---|
| public @NotNull WindowSpecificationExcludeStep rowsUnboundedPreceding()
Deprecated as a consequence of Add a | |