Class Over<T>
- java.lang.Object
-
- org.hibernate.sql.ast.tree.expression.Over<T>
-
- All Implemented Interfaces:
DomainResultProducer<T>,SqlSelectionProducer,Expression,SqlAstNode
public class Over<T> extends Object implements Expression, DomainResultProducer<T>
-
-
Constructor Summary
Constructors Constructor Description Over(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(SqlAstWalker walker)voidapplySqlSelections(DomainResultCreationState creationState)Used when this producer is a selection in a sub-query.DomainResult<T>createDomainResult(String resultVariable, DomainResultCreationState creationState)Produce the domain queryExpressiongetEndExpression()FrameKindgetEndKind()FrameExclusiongetExclusion()ExpressiongetExpression()JdbcMappingContainergetExpressionType()The type for this expressionFrameModegetMode()List<SortSpecification>getOrderList()List<Expression>getPartitions()ExpressiongetStartExpression()FrameKindgetStartKind()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.ast.tree.expression.Expression
createDomainResultSqlSelection, createSqlSelection, getColumnReference
-
-
-
-
Constructor Detail
-
Over
public Over(Expression expression, List<Expression> partitions, List<SortSpecification> orderList)
-
Over
public Over(Expression expression, List<Expression> partitions, List<SortSpecification> orderList, FrameMode mode, FrameKind startKind, Expression startExpression, FrameKind endKind, Expression endExpression, FrameExclusion exclusion)
-
-
Method Detail
-
getExpression
public Expression getExpression()
-
getPartitions
public List<Expression> getPartitions()
-
getOrderList
public List<SortSpecification> getOrderList()
-
getMode
public FrameMode getMode()
-
getStartKind
public FrameKind getStartKind()
-
getStartExpression
public Expression getStartExpression()
-
getEndKind
public FrameKind getEndKind()
-
getEndExpression
public Expression getEndExpression()
-
getExclusion
public FrameExclusion getExclusion()
-
getExpressionType
public JdbcMappingContainer getExpressionType()
Description copied from interface:ExpressionThe type for this expression- Specified by:
getExpressionTypein interfaceExpression
-
accept
public void accept(SqlAstWalker walker)
- 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
public void applySqlSelections(DomainResultCreationState creationState)
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>
-
-