public interface WindowSpecification extends QueryPart
Window specifications are the syntactic clauses that can be passed to both
window definitions in WINDOW clauses, as well as to the
OVER clause of window functions. This makes window
specifications highly reusable across several queries.
Example:
WindowSpecification spec =
DSL.partitionBy(BOOK.AUTHOR_ID)
.orderBy(BOOK.ID)
.rowsBetweenUnboundedPreceding()
.andCurrentRow();
Copyright © 2017. All Rights Reserved.