Class Over<T>
java.lang.Object
org.hibernate.sql.ast.tree.expression.Over<T>
- All Implemented Interfaces:
DomainResultProducer<T>,SqlSelectionProducer,Expression,SqlAstNode
-
Constructor Summary
ConstructorsConstructorDescriptionOver(Expression expression, List<Expression> partitions, List<SortSpecification> orderList) Over(Expression expression, List<Expression> partitions, List<SortSpecification> orderList, FrameMode mode, FrameKind startKind, Expression startExpression, FrameKind endKind, Expression endExpression, FrameExclusion exclusion) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(SqlAstWalker walker) voidapplySqlSelections(DomainResultCreationState creationState) Used when this producer is a selection in a sub-query.createDomainResult(String resultVariable, DomainResultCreationState creationState) Produce the domain queryThe type for this expressiongetMode()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.sql.ast.tree.expression.Expression
createDomainResultSqlSelection, createSqlSelection, getColumnReference
-
Constructor Details
-
Over
-
Over
public Over(Expression expression, List<Expression> partitions, List<SortSpecification> orderList, FrameMode mode, FrameKind startKind, Expression startExpression, FrameKind endKind, Expression endExpression, FrameExclusion exclusion)
-
-
Method Details
-
getExpression
-
getPartitions
-
getOrderList
-
getMode
-
getStartKind
-
getStartExpression
-
getEndKind
-
getEndExpression
-
getExclusion
-
getExpressionType
Description copied from interface:ExpressionThe type for this expression- Specified by:
getExpressionTypein interfaceExpression
-
accept
- Specified by:
acceptin interfaceSqlAstNode
-
createDomainResult
public DomainResult<T> createDomainResult(String resultVariable, DomainResultCreationState creationState) Description copied from interface:DomainResultProducerProduce the domain query- Specified by:
createDomainResultin interfaceDomainResultProducer<T>
-
applySqlSelections
Description copied from interface:DomainResultProducerUsed when this producer is a selection in a sub-query. The DomainResult is only needed for root query of a SELECT statement. This default impl assumes this producer is a true (Sql)Expression- Specified by:
applySqlSelectionsin interfaceDomainResultProducer<T>
-