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> Xaccept(SemanticQueryWalker<X> walker) Accept the walker per visitationvoidappendHqlString(StringBuilder hql, SqmRenderContext context) copy(SqmCopyContext context) booleanframeExclude(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.getMode()List<SqmExpression<?>> inthashCode()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
nodeBuilderMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText, nodeBuilderMethods 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:JpaWindowAdd aROWSframe clause to the window and define start and endJpaWindowFramespecifications. -
frameRange
Description copied from interface:JpaWindowAdd aRANGEframe clause to the window and define start and endJpaWindowFramespecifications.- Specified by:
frameRangein interfaceJpaWindow- Parameters:
startFrame- the start frameendFrame- the optional end frame- Returns:
- the modified window
-
frameGroups
Description copied from interface:JpaWindowAdd aGROUPSframe clause to the window and define start and endJpaWindowFramespecifications.- Specified by:
frameGroupsin interfaceJpaWindow- Parameters:
startFrame- the start frameendFrame- the optional end frame- Returns:
- the modified window
-
frameExclude
Description copied from interface:JpaWindowSet aFrameExclusionfor this window's frame.- Specified by:
frameExcludein interfaceJpaWindow- Parameters:
frameExclusion- the frame exclusion- Returns:
- the modified window
-
partitionBy
Description copied from interface:JpaWindowAdd partition by expressions to the window.- Specified by:
partitionByin interfaceJpaWindow- Parameters:
expressions- the partition by expressions- Returns:
- the modified window
-
orderBy
Description copied from interface:JpaWindowAdd order by expressions to the window. -
copy
-
accept
Description copied from interface:SqmVisitableNodeAccept the walker per visitation- Specified by:
acceptin interfaceSqmVisitableNode
-
appendHqlString
- Specified by:
appendHqlStringin interfaceSqmVisitableNode
-
equals
-
hashCode
public int hashCode()
-