public interface WindowSpecificationRowsStep extends WindowSpecificationFinalStep
WindowSpecification
.
Example:
WindowSpecification spec =
DSL.partitionBy(BOOK.AUTHOR_ID)
.orderBy(BOOK.ID)
.rowsBetweenUnboundedPreceding()
.andCurrentRow();
Modifier and Type | Method and Description |
---|---|
WindowSpecificationRowsAndStep |
rangeBetweenCurrentRow()
Add a
RANGE BETWEEN CURRENT ROW ... |
WindowSpecificationRowsAndStep |
rangeBetweenFollowing(int number)
Add a
RANGE BETWEEN [number] FOLLOWING ... |
WindowSpecificationRowsAndStep |
rangeBetweenPreceding(int number)
Add a
RANGE BETWEEN [number] PRECEDING ... |
WindowSpecificationRowsAndStep |
rangeBetweenUnboundedFollowing()
Add a
RANGE BETWEEN UNBOUNDED FOLLOWING ... |
WindowSpecificationRowsAndStep |
rangeBetweenUnboundedPreceding()
Add a
RANGE BETWEEN UNBOUNDED PRECEDING ... |
WindowSpecificationFinalStep |
rangeCurrentRow()
Add a
RANGE CURRENT ROW frame clause to the window
specification. |
WindowSpecificationFinalStep |
rangeFollowing(int number)
Add a
RANGE [number] FOLLOWING frame clause to the window
specification. |
WindowSpecificationFinalStep |
rangePreceding(int number)
Add a
RANGE [number] PRECEDING frame clause to the window
specification. |
WindowSpecificationFinalStep |
rangeUnboundedFollowing()
Add a
RANGE UNBOUNDED FOLLOWING frame clause to the window
specification. |
WindowSpecificationFinalStep |
rangeUnboundedPreceding()
Add a
RANGE UNBOUNDED PRECEDING frame clause to the window
specification. |
WindowSpecificationRowsAndStep |
rowsBetweenCurrentRow()
Add a
ROWS BETWEEN CURRENT ROW ... |
WindowSpecificationRowsAndStep |
rowsBetweenFollowing(int number)
Add a
ROWS BETWEEN [number] FOLLOWING ... |
WindowSpecificationRowsAndStep |
rowsBetweenPreceding(int number)
Add a
ROWS BETWEEN [number] PRECEDING ... |
WindowSpecificationRowsAndStep |
rowsBetweenUnboundedFollowing()
Add a
ROWS BETWEEN UNBOUNDED FOLLOWING ... |
WindowSpecificationRowsAndStep |
rowsBetweenUnboundedPreceding()
Add a
ROWS BETWEEN UNBOUNDED PRECEDING ... |
WindowSpecificationFinalStep |
rowsCurrentRow()
Add a
ROWS CURRENT ROW frame clause to the window
specification. |
WindowSpecificationFinalStep |
rowsFollowing(int number)
Add a
ROWS [number] FOLLOWING frame clause to the window
specification. |
WindowSpecificationFinalStep |
rowsPreceding(int number)
Add a
ROWS [number] PRECEDING frame clause to the window
specification. |
WindowSpecificationFinalStep |
rowsUnboundedFollowing()
Add a
ROWS UNBOUNDED FOLLOWING frame clause to the window
specification. |
WindowSpecificationFinalStep |
rowsUnboundedPreceding()
Add a
ROWS UNBOUNDED PRECEDING frame clause to the window
specification. |
@Support(value={DB2,INFORMIX,MYSQL_8_0,POSTGRES,ORACLE,REDSHIFT,SQLSERVER2012,SYBASE,VERTICA}) WindowSpecificationFinalStep rowsUnboundedPreceding()
ROWS UNBOUNDED PRECEDING
frame clause to the window
specification.@Support(value={DB2,INFORMIX,MYSQL_8_0,POSTGRES,ORACLE,REDSHIFT,SQLSERVER2012,SYBASE,VERTICA}) WindowSpecificationFinalStep rowsPreceding(int number)
ROWS [number] PRECEDING
frame clause to the window
specification.@Support(value={DB2,INFORMIX,MYSQL_8_0,POSTGRES,ORACLE,REDSHIFT,SQLSERVER2012,SYBASE,VERTICA}) WindowSpecificationFinalStep rowsCurrentRow()
ROWS CURRENT ROW
frame clause to the window
specification.@Support(value={DB2,INFORMIX,MYSQL_8_0,POSTGRES,ORACLE,REDSHIFT,SQLSERVER2012,SYBASE,VERTICA}) WindowSpecificationFinalStep rowsUnboundedFollowing()
ROWS UNBOUNDED FOLLOWING
frame clause to the window
specification.@Support(value={DB2,INFORMIX,MYSQL_8_0,POSTGRES,ORACLE,REDSHIFT,SQLSERVER2012,SYBASE,VERTICA}) WindowSpecificationFinalStep rowsFollowing(int number)
ROWS [number] FOLLOWING
frame clause to the window
specification.@Support(value={DB2,INFORMIX,MYSQL_8_0,POSTGRES,ORACLE,REDSHIFT,SQLSERVER2012,SYBASE,VERTICA}) WindowSpecificationRowsAndStep rowsBetweenUnboundedPreceding()
ROWS BETWEEN UNBOUNDED PRECEDING ...
frame clause to
the window specification.@Support(value={DB2,INFORMIX,MYSQL_8_0,POSTGRES,ORACLE,REDSHIFT,SQLSERVER2012,SYBASE,VERTICA}) WindowSpecificationRowsAndStep rowsBetweenPreceding(int number)
ROWS BETWEEN [number] PRECEDING ...
frame clause to
the window specification.@Support(value={DB2,INFORMIX,MYSQL_8_0,POSTGRES,ORACLE,REDSHIFT,SQLSERVER2012,SYBASE,VERTICA}) WindowSpecificationRowsAndStep rowsBetweenCurrentRow()
ROWS BETWEEN CURRENT ROW ...
frame clause to the
window specification.@Support(value={DB2,INFORMIX,MYSQL_8_0,POSTGRES,ORACLE,REDSHIFT,SQLSERVER2012,SYBASE,VERTICA}) WindowSpecificationRowsAndStep rowsBetweenUnboundedFollowing()
ROWS BETWEEN UNBOUNDED FOLLOWING ...
frame clause to
the window specification.@Support(value={DB2,INFORMIX,MYSQL_8_0,POSTGRES,ORACLE,REDSHIFT,SQLSERVER2012,SYBASE,VERTICA}) WindowSpecificationRowsAndStep rowsBetweenFollowing(int number)
ROWS BETWEEN [number] FOLLOWING ...
frame clause to
the window specification.@Support(value={DB2,INFORMIX,MYSQL_8_0,POSTGRES,ORACLE,SQLSERVER2012,SYBASE,VERTICA}) WindowSpecificationFinalStep rangeUnboundedPreceding()
RANGE UNBOUNDED PRECEDING
frame clause to the window
specification.@Support(value={DB2,INFORMIX,MYSQL_8_0,POSTGRES,ORACLE,SQLSERVER2012,SYBASE,VERTICA}) WindowSpecificationFinalStep rangePreceding(int number)
RANGE [number] PRECEDING
frame clause to the window
specification.@Support(value={DB2,INFORMIX,MYSQL_8_0,POSTGRES,ORACLE,SQLSERVER2012,SYBASE,VERTICA}) WindowSpecificationFinalStep rangeCurrentRow()
RANGE CURRENT ROW
frame clause to the window
specification.@Support(value={DB2,INFORMIX,MYSQL_8_0,POSTGRES,ORACLE,SQLSERVER2012,SYBASE,VERTICA}) WindowSpecificationFinalStep rangeUnboundedFollowing()
RANGE UNBOUNDED FOLLOWING
frame clause to the window
specification.@Support(value={DB2,INFORMIX,MYSQL_8_0,POSTGRES,ORACLE,SQLSERVER2012,SYBASE,VERTICA}) WindowSpecificationFinalStep rangeFollowing(int number)
RANGE [number] FOLLOWING
frame clause to the window
specification.@Support(value={DB2,INFORMIX,MYSQL_8_0,POSTGRES,ORACLE,SQLSERVER2012,SYBASE,VERTICA}) WindowSpecificationRowsAndStep rangeBetweenUnboundedPreceding()
RANGE BETWEEN UNBOUNDED PRECEDING ...
frame clause to
the window specification.@Support(value={DB2,INFORMIX,MYSQL_8_0,POSTGRES,ORACLE,SQLSERVER2012,SYBASE,VERTICA}) WindowSpecificationRowsAndStep rangeBetweenPreceding(int number)
RANGE BETWEEN [number] PRECEDING ...
frame clause to
the window specification.@Support(value={DB2,INFORMIX,MYSQL_8_0,POSTGRES,ORACLE,SQLSERVER2012,SYBASE,VERTICA}) WindowSpecificationRowsAndStep rangeBetweenCurrentRow()
RANGE BETWEEN CURRENT ROW ...
frame clause to the
window specification.@Support(value={DB2,INFORMIX,MYSQL_8_0,POSTGRES,ORACLE,SQLSERVER2012,SYBASE,VERTICA}) WindowSpecificationRowsAndStep rangeBetweenUnboundedFollowing()
RANGE BETWEEN UNBOUNDED FOLLOWING ...
frame clause to
the window specification.Copyright © 2018. All Rights Reserved.