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 |
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,POSTGRES,ORACLE,SQLSERVER2012,SYBASE}) WindowSpecificationFinalStep rowsUnboundedPreceding()
ROWS UNBOUNDED PRECEDING
frame clause to the window
specification.@Support(value={DB2,POSTGRES,ORACLE,SQLSERVER2012,SYBASE}) WindowSpecificationFinalStep rowsPreceding(int number)
ROWS [number] PRECEDING
frame clause to the window
specification.@Support(value={DB2,POSTGRES,ORACLE,SQLSERVER2012,SYBASE}) WindowSpecificationFinalStep rowsCurrentRow()
ROWS CURRENT ROW
frame clause to the window
specification.@Support(value={DB2,POSTGRES,ORACLE,SQLSERVER2012,SYBASE}) WindowSpecificationFinalStep rowsUnboundedFollowing()
ROWS UNBOUNDED FOLLOWING
frame clause to the window
specification.@Support(value={DB2,POSTGRES,ORACLE,SQLSERVER2012,SYBASE}) WindowSpecificationFinalStep rowsFollowing(int number)
ROWS [number] FOLLOWING
frame clause to the window
specification.@Support(value={DB2,POSTGRES,ORACLE,SQLSERVER2012,SYBASE}) WindowSpecificationRowsAndStep rowsBetweenUnboundedPreceding()
ROWS BETWEEN UNBOUNDED PRECEDING ...
frame clause to
the window specification.@Support(value={DB2,POSTGRES,ORACLE,SQLSERVER2012,SYBASE}) WindowSpecificationRowsAndStep rowsBetweenPreceding(int number)
ROWS BETWEEN [number] PRECEDING ...
frame clause to
the window specification.@Support(value={DB2,POSTGRES,ORACLE,SQLSERVER2012,SYBASE}) WindowSpecificationRowsAndStep rowsBetweenCurrentRow()
ROWS BETWEEN CURRENT ROW ...
frame clause to the
window specification.@Support(value={DB2,POSTGRES,ORACLE,SQLSERVER2012,SYBASE}) WindowSpecificationRowsAndStep rowsBetweenUnboundedFollowing()
ROWS BETWEEN UNBOUNDED FOLLOWING ...
frame clause to
the window specification.@Support(value={DB2,POSTGRES,ORACLE,SQLSERVER2012,SYBASE}) WindowSpecificationRowsAndStep rowsBetweenFollowing(int number)
ROWS BETWEEN [number] FOLLOWING ...
frame clause to
the window specification.Copyright © 2014. All Rights Reserved.