Package org.hibernate.query.criteria
Interface JpaWindow
- All Known Implementing Classes:
SqmWindow
Common contract for window parts used in window and aggregate functions.
-
Method Summary
Modifier and TypeMethodDescriptionframeExclude(FrameExclusion frameExclusion) Set aFrameExclusionfor this window's frame.frameGroups(JpaWindowFrame startFrame, JpaWindowFrame endFrame) Add aGROUPSframe clause to the window and define start and endJpaWindowFramespecifications.frameRange(JpaWindowFrame startFrame, JpaWindowFrame endFrame) Add aRANGEframe clause to the window and define start and endJpaWindowFramespecifications.frameRows(JpaWindowFrame startFrame, JpaWindowFrame endFrame) Add aROWSframe clause to the window and define start and endJpaWindowFramespecifications.Add order by expressions to the window.partitionBy(Expression<?>... expressions) Add partition by expressions to the window.
-
Method Details
-
partitionBy
Add partition by expressions to the window.- Parameters:
expressions- the partition by expressions- Returns:
- the modified window
-
orderBy
Add order by expressions to the window.- Parameters:
expressions- the order by expressions- Returns:
- the modified window
-
frameRows
Add aROWSframe clause to the window and define start and endJpaWindowFramespecifications.- Parameters:
startFrame- the start frameendFrame- the optional end frame- Returns:
- the modified window
-
frameRange
Add aRANGEframe clause to the window and define start and endJpaWindowFramespecifications.- Parameters:
startFrame- the start frameendFrame- the optional end frame- Returns:
- the modified window
-
frameGroups
Add aGROUPSframe clause to the window and define start and endJpaWindowFramespecifications.- Parameters:
startFrame- the start frameendFrame- the optional end frame- Returns:
- the modified window
-
frameExclude
Set aFrameExclusionfor this window's frame.- Parameters:
frameExclusion- the frame exclusion- Returns:
- the modified window
-