Top Description Methods
org.jooq

public Interface WindowFromFirstLastStep<T>

extends WindowIgnoreNullsStep<T>
Known Direct Implementers
org.jooq.impl.AbstractWindowFunction
Type Parameters
<T>
The function return type
Static Imports
org.jooq.SQLDialect.FIREBIRD, .SQLDialect.H2

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 WindowIgnoreNullsStep<T>
fromFirst()

Add an FROM FIRST clause to the window function.

public @NotNull WindowIgnoreNullsStep<T>
fromLast()

Add a FROM LAST clause to the window function.

Inherited from org.jooq.WindowIgnoreNullsStep:
ignoreNullsrespectNulls

Method Detail

fromFirstback to summary
public @NotNull WindowIgnoreNullsStep<T> fromFirst()

Add an FROM FIRST clause to the window function. This might not be supported by all dialects.

Annotations
@NotNull
@Support:FIREBIRD, H2
fromLastback to summary
public @NotNull WindowIgnoreNullsStep<T> fromLast()

Add a FROM LAST clause to the window function. This might not be supported by all dialects.

Annotations
@NotNull
@Support:FIREBIRD, H2