Interface WindowDefinition
- All Superinterfaces:
QueryPart, Serializable, WindowSpecification, WindowSpecificationFinalStep, WindowSpecificationOrderByStep, WindowSpecificationRowsStep
A window definition.
Window definitions can be
- declared in the
WINDOWclause (seeSelectWindowStep.window(WindowDefinition...) - referenced from the
OVERclause (seeWindowOverStep.over(WindowDefinition)
The WINDOW clause is only natively supported by
SQLDialect.AURORA_POSTGRESSQLDialect.H2SQLDialect.MYSQLSQLDialect.POSTGRESSQLDialect.SQLITESQLDialect.SYBASE
If your database supports window functions, but not the WINDOW
clause, jOOQ will inline window definitions into their respective window
functions.
Instances can be created using Name.as(WindowSpecification) and
overloads.
- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescription@NotNull Name$name()Experimental query object model accessor method, see alsoQOM.@Nullable WindowSpecificationExperimental query object model accessor method, see alsoQOM.Methods inherited from interface QueryPart
$replace, $replace, $traverse, $traverse, equals, hashCode, toStringMethods inherited from interface WindowSpecification
$exclude, $exclude, $frameEnd, $frameEnd, $frameStart, $frameStart, $frameUnits, $frameUnits, $orderBy, $orderBy, $partitionBy, $partitionBy, $windowDefinitionMethods inherited from interface WindowSpecificationOrderByStep
orderBy, orderByMethods inherited from interface WindowSpecificationRowsStep
groupsBetweenCurrentRow, groupsBetweenFollowing, groupsBetweenPreceding, groupsBetweenUnboundedFollowing, groupsBetweenUnboundedPreceding, groupsCurrentRow, groupsFollowing, groupsPreceding, groupsUnboundedFollowing, groupsUnboundedPreceding, rangeBetweenCurrentRow, rangeBetweenFollowing, rangeBetweenPreceding, rangeBetweenUnboundedFollowing, rangeBetweenUnboundedPreceding, rangeCurrentRow, rangeFollowing, rangePreceding, rangeUnboundedFollowing, rangeUnboundedPreceding, rowsBetweenCurrentRow, rowsBetweenFollowing, rowsBetweenPreceding, rowsBetweenUnboundedFollowing, rowsBetweenUnboundedPreceding, rowsCurrentRow, rowsFollowing, rowsPreceding, rowsUnboundedFollowing, rowsUnboundedPreceding
-
Method Details
-
$name
-
$windowSpecification
Experimental query object model accessor method, see alsoQOM. Subject to change in future jOOQ versions, use at your own risk.
-