public interface WindowSpecificationExcludeStep extends WindowSpecificationFinalStep
WindowSpecification
.
Example:
WindowSpecification spec =
DSL.partitionBy(BOOK.AUTHOR_ID)
.orderBy(BOOK.ID)
.rowsBetweenUnboundedPreceding()
.andCurrentRow();
XYZ*Step
types directly from client code
It is usually not recommended to reference any XYZ*Step
types
directly from client code, or assign them to local variables. When writing
dynamic SQL, creating a statement's components dynamically, and passing them
to the DSL API statically is usually a better choice. See the manual's
section about dynamic SQL for details: https://www.jooq.org/doc/latest/manual/sql-building/dynamic-sql.
Drawbacks of referencing the XYZ*Step
types directly:
Modifier and Type | Method and Description |
---|---|
WindowSpecificationFinalStep |
excludeCurrentRow()
Add an
EXCLUDE CURRENT ROW clause. |
WindowSpecificationFinalStep |
excludeGroup()
Add an
EXCLUDE GROUP clause. |
WindowSpecificationFinalStep |
excludeNoOthers()
Add an
EXCLUDE NO OTHERS clause. |
WindowSpecificationFinalStep |
excludeTies()
Add an
EXCLUDE TIES clause. |
@Support(value={H2,POSTGRES,SQLITE}) WindowSpecificationFinalStep excludeCurrentRow()
EXCLUDE CURRENT ROW
clause.@Support(value={H2,POSTGRES,SQLITE}) WindowSpecificationFinalStep excludeGroup()
EXCLUDE GROUP
clause.@Support(value={H2,POSTGRES,SQLITE}) WindowSpecificationFinalStep excludeTies()
EXCLUDE TIES
clause.Copyright © 2020. All rights reserved.