Top Description Methods
org.jooq

public Interface WindowRowsStep<T>

extends WindowFinalStep<T>
Known Direct Implementers
org.jooq.impl.AbstractWindowFunction
Type Parameters
<T>
The function return type
Static Imports
org.jooq.SQLDialect.FIREBIRD, .SQLDialect.H2, .SQLDialect.MARIADB, .SQLDialect.MYSQL, .SQLDialect.POSTGRES, .SQLDialect.SQLITE, .SQLDialect.YUGABYTEDB

Deprecated

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

This type is used for the window function DSL API.

Example:


field.firstValue()
     .ignoreNulls()
     .over()
     .partitionBy(AUTHOR_ID)
     .orderBy(PUBLISHED_IN.asc())
     .rowsBetweenUnboundedPreceding()
     .andUnboundedFollowing()
Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public @NotNull WindowRowsAndStep<T>
groupsBetweenCurrentRow()

Add a GROUPS BETWEEN CURRENT ROW … frame clause to the window function.

public @NotNull WindowRowsAndStep<T>
groupsBetweenFollowing(int number)

Add a GROUPS BETWEEN [number] FOLLOWING … frame clause to the window function.

public @NotNull WindowRowsAndStep<T>
groupsBetweenPreceding(int number)

Add a GROUPS BETWEEN [number] PRECEDING … frame clause to the window function.

public @NotNull WindowRowsAndStep<T>
groupsBetweenUnboundedFollowing()

Add a GROUPS BETWEEN UNBOUNDED FOLLOWING … frame clause to the window function.

public @NotNull WindowRowsAndStep<T>
groupsBetweenUnboundedPreceding()

Add a GROUPS BETWEEN UNBOUNDED PRECEDING … frame clause to the window function.

public @NotNull WindowExcludeStep<T>
groupsCurrentRow()

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a GROUPS CURRENT ROW frame clause to the window function.
public @NotNull WindowExcludeStep<T>
groupsFollowing(int number)

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a GROUPS [number] FOLLOWING frame clause to the window function.
public @NotNull WindowExcludeStep<T>
groupsPreceding(int number)

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a GROUPS [number] PRECEDING frame clause to the window function.
public @NotNull WindowExcludeStep<T>
groupsUnboundedFollowing()

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a GROUPS UNBOUNDED FOLLOWING frame clause to the window function.
public @NotNull WindowExcludeStep<T>
groupsUnboundedPreceding()

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a GROUPS UNBOUNDED PRECEDING frame clause to the window function.
public @NotNull WindowRowsAndStep<T>
rangeBetweenCurrentRow()

Add a RANGE BETWEEN CURRENT ROW … frame clause to the window function.

public @NotNull WindowRowsAndStep<T>
rangeBetweenFollowing(int number)

Add a RANGE BETWEEN [number] FOLLOWING … frame clause to the window function.

public @NotNull WindowRowsAndStep<T>
rangeBetweenPreceding(int number)

Add a RANGE BETWEEN [number] PRECEDING … frame clause to the window function.

public @NotNull WindowRowsAndStep<T>
rangeBetweenUnboundedFollowing()

Add a RANGE BETWEEN UNBOUNDED FOLLOWING … frame clause to the window function.

public @NotNull WindowRowsAndStep<T>
rangeBetweenUnboundedPreceding()

Add a RANGE BETWEEN UNBOUNDED PRECEDING … frame clause to the window function.

public @NotNull WindowExcludeStep<T>
rangeCurrentRow()

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a RANGE CURRENT ROW frame clause to the window function.
public @NotNull WindowExcludeStep<T>
rangeFollowing(int number)

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a RANGE [number] FOLLOWING frame clause to the window function.
public @NotNull WindowExcludeStep<T>
rangePreceding(int number)

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a RANGE [number] PRECEDING frame clause to the window function.
public @NotNull WindowExcludeStep<T>
rangeUnboundedFollowing()

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a RANGE UNBOUNDED FOLLOWING frame clause to the window function.
public @NotNull WindowExcludeStep<T>
rangeUnboundedPreceding()

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a RANGE UNBOUNDED PRECEDING frame clause to the window function.
public @NotNull WindowRowsAndStep<T>
rowsBetweenCurrentRow()

Add a ROWS BETWEEN CURRENT ROW … frame clause to the window function.

public @NotNull WindowRowsAndStep<T>
rowsBetweenFollowing(int number)

Add a ROWS BETWEEN [number] FOLLOWING … frame clause to the window function.

public @NotNull WindowRowsAndStep<T>
rowsBetweenPreceding(int number)

Add a ROWS BETWEEN [number] PRECEDING … frame clause to the window function.

public @NotNull WindowRowsAndStep<T>
rowsBetweenUnboundedFollowing()

Add a ROWS BETWEEN UNBOUNDED FOLLOWING … frame clause to the window function.

public @NotNull WindowRowsAndStep<T>
rowsBetweenUnboundedPreceding()

Add a ROWS BETWEEN UNBOUNDED PRECEDING … frame clause to the window function.

public @NotNull WindowExcludeStep<T>
rowsCurrentRow()

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a ROWS CURRENT ROW frame clause to the window function.
public @NotNull WindowExcludeStep<T>
rowsFollowing(int number)

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a ROWS [number] FOLLOWING frame clause to the window function.
public @NotNull WindowExcludeStep<T>
rowsPreceding(int number)

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a ROWS [number] PRECEDING frame clause to the window function.
public @NotNull WindowExcludeStep<T>
rowsUnboundedFollowing()

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a ROWS UNBOUNDED FOLLOWING frame clause to the window function.
public @NotNull WindowExcludeStep<T>
rowsUnboundedPreceding()

Deprecated as a consequence of WindowExcludeStep being deprecated.
Add a ROWS UNBOUNDED PRECEDING frame clause to the window function.

Method Detail

groupsBetweenCurrentRowback to summary
public @NotNull WindowRowsAndStep<T> groupsBetweenCurrentRow()

Add a GROUPS BETWEEN CURRENT ROW … frame clause to the window function.

Annotations
@NotNull
@Support:H2, POSTGRES, SQLITE, YUGABYTEDB
groupsBetweenFollowingback to summary
public @NotNull WindowRowsAndStep<T> groupsBetweenFollowing(int number)

Add a GROUPS BETWEEN [number] FOLLOWING … frame clause to the window function.

Annotations
@NotNull
@Support:H2, POSTGRES, SQLITE, YUGABYTEDB
groupsBetweenPrecedingback to summary
public @NotNull WindowRowsAndStep<T> groupsBetweenPreceding(int number)

Add a GROUPS BETWEEN [number] PRECEDING … frame clause to the window function.

Annotations
@NotNull
@Support:H2, POSTGRES, SQLITE, YUGABYTEDB
groupsBetweenUnboundedFollowingback to summary
public @NotNull WindowRowsAndStep<T> groupsBetweenUnboundedFollowing()

Add a GROUPS BETWEEN UNBOUNDED FOLLOWING … frame clause to the window function.

Annotations
@NotNull
@Support:H2, POSTGRES, SQLITE, YUGABYTEDB
groupsBetweenUnboundedPrecedingback to summary
public @NotNull WindowRowsAndStep<T> groupsBetweenUnboundedPreceding()

Add a GROUPS BETWEEN UNBOUNDED PRECEDING … frame clause to the window function.

Annotations
@NotNull
@Support:H2, POSTGRES, SQLITE, YUGABYTEDB
groupsCurrentRowback to summary
public @NotNull WindowExcludeStep<T> groupsCurrentRow()

Deprecated

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

Add a GROUPS CURRENT ROW frame clause to the window function.

Annotations
@NotNull
@Support:H2, POSTGRES, SQLITE, YUGABYTEDB
groupsFollowingback to summary
public @NotNull WindowExcludeStep<T> groupsFollowing(int number)

Deprecated

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

Add a GROUPS [number] FOLLOWING frame clause to the window function.

Annotations
@NotNull
@Support:H2, POSTGRES, SQLITE, YUGABYTEDB
groupsPrecedingback to summary
public @NotNull WindowExcludeStep<T> groupsPreceding(int number)

Deprecated

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

Add a GROUPS [number] PRECEDING frame clause to the window function.

Annotations
@NotNull
@Support:H2, POSTGRES, SQLITE, YUGABYTEDB
groupsUnboundedFollowingback to summary
public @NotNull WindowExcludeStep<T> groupsUnboundedFollowing()

Deprecated

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

Add a GROUPS UNBOUNDED FOLLOWING frame clause to the window function.

Annotations
@NotNull
@Support:H2, POSTGRES, SQLITE, YUGABYTEDB
groupsUnboundedPrecedingback to summary
public @NotNull WindowExcludeStep<T> groupsUnboundedPreceding()

Deprecated

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

Add a GROUPS UNBOUNDED PRECEDING frame clause to the window function.

Annotations
@NotNull
@Support:H2, POSTGRES, SQLITE, YUGABYTEDB
rangeBetweenCurrentRowback to summary
public @NotNull WindowRowsAndStep<T> rangeBetweenCurrentRow()

Add a RANGE BETWEEN CURRENT ROW … frame clause to the window function.

Annotations
@NotNull
@Support:FIREBIRD, H2, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
rangeBetweenFollowingback to summary
public @NotNull WindowRowsAndStep<T> rangeBetweenFollowing(int number)

Add a RANGE BETWEEN [number] FOLLOWING … frame clause to the window function.

Annotations
@NotNull
@Support:FIREBIRD, H2, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
rangeBetweenPrecedingback to summary
public @NotNull WindowRowsAndStep<T> rangeBetweenPreceding(int number)

Add a RANGE BETWEEN [number] PRECEDING … frame clause to the window function.

Annotations
@NotNull
@Support:FIREBIRD, H2, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
rangeBetweenUnboundedFollowingback to summary
public @NotNull WindowRowsAndStep<T> rangeBetweenUnboundedFollowing()

Add a RANGE BETWEEN UNBOUNDED FOLLOWING … frame clause to the window function.

Annotations
@NotNull
@Support:FIREBIRD, H2, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
rangeBetweenUnboundedPrecedingback to summary
public @NotNull WindowRowsAndStep<T> rangeBetweenUnboundedPreceding()

Add a RANGE BETWEEN UNBOUNDED PRECEDING … frame clause to the window function.

Annotations
@NotNull
@Support:FIREBIRD, H2, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
rangeCurrentRowback to summary
public @NotNull WindowExcludeStep<T> rangeCurrentRow()

Deprecated

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

Add a RANGE CURRENT ROW frame clause to the window function.

Annotations
@NotNull
@Support:FIREBIRD, H2, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
rangeFollowingback to summary
public @NotNull WindowExcludeStep<T> rangeFollowing(int number)

Deprecated

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

Add a RANGE [number] FOLLOWING frame clause to the window function.

Annotations
@NotNull
@Support:FIREBIRD, H2, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
rangePrecedingback to summary
public @NotNull WindowExcludeStep<T> rangePreceding(int number)

Deprecated

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

Add a RANGE [number] PRECEDING frame clause to the window function.

Annotations
@NotNull
@Support:FIREBIRD, H2, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
rangeUnboundedFollowingback to summary
public @NotNull WindowExcludeStep<T> rangeUnboundedFollowing()

Deprecated

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

Add a RANGE UNBOUNDED FOLLOWING frame clause to the window function.

Annotations
@NotNull
@Support:FIREBIRD, H2, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
rangeUnboundedPrecedingback to summary
public @NotNull WindowExcludeStep<T> rangeUnboundedPreceding()

Deprecated

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

Add a RANGE UNBOUNDED PRECEDING frame clause to the window function.

Annotations
@NotNull
@Support:FIREBIRD, H2, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
rowsBetweenCurrentRowback to summary
public @NotNull WindowRowsAndStep<T> rowsBetweenCurrentRow()

Add a ROWS BETWEEN CURRENT ROW … frame clause to the window function.

Annotations
@NotNull
@Support:FIREBIRD, H2, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
rowsBetweenFollowingback to summary
public @NotNull WindowRowsAndStep<T> rowsBetweenFollowing(int number)

Add a ROWS BETWEEN [number] FOLLOWING … frame clause to the window function.

Annotations
@NotNull
@Support:FIREBIRD, H2, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
rowsBetweenPrecedingback to summary
public @NotNull WindowRowsAndStep<T> rowsBetweenPreceding(int number)

Add a ROWS BETWEEN [number] PRECEDING … frame clause to the window function.

Annotations
@NotNull
@Support:FIREBIRD, H2, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
rowsBetweenUnboundedFollowingback to summary
public @NotNull WindowRowsAndStep<T> rowsBetweenUnboundedFollowing()

Add a ROWS BETWEEN UNBOUNDED FOLLOWING … frame clause to the window function.

Annotations
@NotNull
@Support:FIREBIRD, H2, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
rowsBetweenUnboundedPrecedingback to summary
public @NotNull WindowRowsAndStep<T> rowsBetweenUnboundedPreceding()

Add a ROWS BETWEEN UNBOUNDED PRECEDING … frame clause to the window function.

Annotations
@NotNull
@Support:FIREBIRD, H2, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
rowsCurrentRowback to summary
public @NotNull WindowExcludeStep<T> rowsCurrentRow()

Deprecated

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

Add a ROWS CURRENT ROW frame clause to the window function.

Annotations
@NotNull
@Support:FIREBIRD, H2, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
rowsFollowingback to summary
public @NotNull WindowExcludeStep<T> rowsFollowing(int number)

Deprecated

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

Add a ROWS [number] FOLLOWING frame clause to the window function.

Annotations
@NotNull
@Support:FIREBIRD, H2, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
rowsPrecedingback to summary
public @NotNull WindowExcludeStep<T> rowsPreceding(int number)

Deprecated

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

Add a ROWS [number] PRECEDING frame clause to the window function.

Annotations
@NotNull
@Support:FIREBIRD, H2, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
rowsUnboundedFollowingback to summary
public @NotNull WindowExcludeStep<T> rowsUnboundedFollowing()

Deprecated

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

Add a ROWS UNBOUNDED FOLLOWING frame clause to the window function.

Annotations
@NotNull
@Support:FIREBIRD, H2, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
rowsUnboundedPrecedingback to summary
public @NotNull WindowExcludeStep<T> rowsUnboundedPreceding()

Deprecated

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

Add a ROWS UNBOUNDED PRECEDING frame clause to the window function.

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