T
- The function return typepublic interface WindowRowsAndStep<T>
Example:
field.firstValue()
.ignoreNulls()
.over()
.partitionBy(AUTHOR_ID)
.orderBy(PUBLISHED_IN.asc())
.rowsBetweenUnboundedPreceding()
.andUnboundedFollowing()
Modifier and Type | Method and Description |
---|---|
WindowFinalStep<T> |
andCurrentRow()
Add a
... |
WindowFinalStep<T> |
andFollowing(int number)
Add a
... |
WindowFinalStep<T> |
andPreceding(int number)
Add a
... |
WindowFinalStep<T> |
andUnboundedFollowing()
Add a
... |
WindowFinalStep<T> |
andUnboundedPreceding()
Add a
... |
@Support(value={AURORA_POSTGRES,DB2,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER2012,SYBASE,TERADATA}) WindowFinalStep<T> andUnboundedPreceding()
... AND UNBOUNDED PRECEDING
frame clause to the window
function.@Support(value={AURORA_POSTGRES,DB2,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER2012,SYBASE,TERADATA}) WindowFinalStep<T> andPreceding(int number)
... AND [number] PRECEDING
frame clause to the window
function.@Support(value={AURORA_POSTGRES,DB2,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER2012,SYBASE,TERADATA}) WindowFinalStep<T> andCurrentRow()
... AND CURRENT ROW
frame clause to the window
function.@Support(value={AURORA_POSTGRES,DB2,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER2012,SYBASE,TERADATA}) WindowFinalStep<T> andUnboundedFollowing()
... AND UNBOUNDED FOLLOWING
frame clause to the window
function.@Support(value={AURORA_POSTGRES,DB2,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER2012,SYBASE,TERADATA}) WindowFinalStep<T> andFollowing(int number)
... AND [number] FOLLOWING
frame clause to the window
function.Copyright © 2019. All rights reserved.