-
- Type Parameters:
T- The function return type
public interface WindowRowsAndStep<T>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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull WindowExcludeStep<T>andCurrentRow()Add a...@NotNull WindowExcludeStep<T>andFollowing(int number)Add a...@NotNull WindowExcludeStep<T>andPreceding(int number)Add a...@NotNull WindowExcludeStep<T>andUnboundedFollowing()Add a...@NotNull WindowExcludeStep<T>andUnboundedPreceding()Add a...
-
-
-
Method Detail
-
andUnboundedPreceding
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA}) @NotNull WindowExcludeStep<T> andUnboundedPreceding()
Add a... AND UNBOUNDED PRECEDINGframe clause to the window function.
-
andPreceding
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA}) @NotNull WindowExcludeStep<T> andPreceding(int number)
Add a... AND [number] PRECEDINGframe clause to the window function.
-
andCurrentRow
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA}) @NotNull WindowExcludeStep<T> andCurrentRow()
Add a... AND CURRENT ROWframe clause to the window function.
-
andUnboundedFollowing
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA}) @NotNull WindowExcludeStep<T> andUnboundedFollowing()
Add a... AND UNBOUNDED FOLLOWINGframe clause to the window function.
-
andFollowing
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA}) @NotNull WindowExcludeStep<T> andFollowing(int number)
Add a... AND [number] FOLLOWINGframe clause to the window function.
-
-