Class SqmWindow
java.lang.Object
org.hibernate.query.sqm.tree.AbstractSqmNode
org.hibernate.query.sqm.tree.expression.SqmWindow
- All Implemented Interfaces:
Serializable
,JpaCriteriaNode
,JpaWindow
,SqmNode
,SqmVisitableNode
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSqmWindow
(NodeBuilder nodeBuilder) SqmWindow
(NodeBuilder nodeBuilder, List<SqmExpression<?>> partitions, List<SqmSortSpecification> orderList, FrameMode mode, FrameKind startKind, SqmExpression<?> startExpression, FrameKind endKind, SqmExpression<?> endExpression, FrameExclusion exclusion) -
Method Summary
Modifier and TypeMethodDescription<X> X
accept
(SemanticQueryWalker<X> walker) Accept the walker per visitationvoid
copy
(SqmCopyContext context) frameExclude
(FrameExclusion frameExclusion) Set aFrameExclusion
for this window's frame.frameGroups
(JpaWindowFrame startFrame, JpaWindowFrame endFrame) Add aGROUPS
frame clause to the window and define start and endJpaWindowFrame
specifications.frameRange
(JpaWindowFrame startFrame, JpaWindowFrame endFrame) Add aRANGE
frame clause to the window and define start and endJpaWindowFrame
specifications.frameRows
(JpaWindowFrame startFrame, JpaWindowFrame endFrame) Add aROWS
frame clause to the window and define start and endJpaWindowFrame
specifications.getMode()
List<SqmExpression<?>>
Add order by expressions to the window.partitionBy
(Expression<?>... expressions) Add partition by expressions to the window.Methods inherited from class org.hibernate.query.sqm.tree.AbstractSqmNode
nodeBuilder
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText, nodeBuilder
Methods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
toHqlString
-
Constructor Details
-
SqmWindow
-
SqmWindow
public SqmWindow(NodeBuilder nodeBuilder, List<SqmExpression<?>> partitions, List<SqmSortSpecification> orderList, FrameMode mode, FrameKind startKind, SqmExpression<?> startExpression, FrameKind endKind, SqmExpression<?> endExpression, FrameExclusion exclusion)
-
-
Method Details
-
getPartitions
-
getOrderList
-
getStartExpression
-
getEndExpression
-
getMode
-
getStartKind
-
getEndKind
-
getExclusion
-
frameRows
Description copied from interface:JpaWindow
Add aROWS
frame clause to the window and define start and endJpaWindowFrame
specifications. -
frameRange
Description copied from interface:JpaWindow
Add aRANGE
frame clause to the window and define start and endJpaWindowFrame
specifications.- Specified by:
frameRange
in interfaceJpaWindow
- Parameters:
startFrame
- the start frameendFrame
- the optional end frame- Returns:
- the modified window
-
frameGroups
Description copied from interface:JpaWindow
Add aGROUPS
frame clause to the window and define start and endJpaWindowFrame
specifications.- Specified by:
frameGroups
in interfaceJpaWindow
- Parameters:
startFrame
- the start frameendFrame
- the optional end frame- Returns:
- the modified window
-
frameExclude
Description copied from interface:JpaWindow
Set aFrameExclusion
for this window's frame.- Specified by:
frameExclude
in interfaceJpaWindow
- Parameters:
frameExclusion
- the frame exclusion- Returns:
- the modified window
-
partitionBy
Description copied from interface:JpaWindow
Add partition by expressions to the window.- Specified by:
partitionBy
in interfaceJpaWindow
- Parameters:
expressions
- the partition by expressions- Returns:
- the modified window
-
orderBy
Description copied from interface:JpaWindow
Add order by expressions to the window. -
copy
-
accept
Description copied from interface:SqmVisitableNode
Accept the walker per visitation- Specified by:
accept
in interfaceSqmVisitableNode
-
appendHqlString
- Specified by:
appendHqlString
in interfaceSqmVisitableNode
-