Class QueryGroup
- java.lang.Object
- org.hibernate.sql.ast.tree.select.QueryPart
- org.hibernate.sql.ast.tree.select.QueryGroup
- All Implemented Interfaces:
SqlAstNode
public classQueryGroupextendsQueryPart
Constructor Summary
Constructors Constructor Description QueryGroup(boolean isRoot,SetOperator setOperator,List<QueryPart> queryParts)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(SqlAstWalker sqlTreeWalker)QuerySpecgetFirstQuerySpec()QuerySpecgetLastQuerySpec()List<QueryPart>getQueryParts()SetOperatorgetSetOperator()<T> TqueryQuerySpecs(Function<QuerySpec,T> querySpecConsumer)voidvisitQuerySpecs(Consumer<QuerySpec> querySpecConsumer)Methods inherited from class org.hibernate.sql.ast.tree.select.QueryPart
addSortSpecification,getFetchClauseExpression,getFetchClauseType,getOffsetClauseExpression,getSortSpecifications,hasOffsetOrFetchClause,hasPositionalSortItem,hasSortSpecifications,isRoot,setFetchClauseExpression,setOffsetClauseExpression,visitSortSpecifications
Constructor Detail
QueryGroup
public QueryGroup(boolean isRoot,SetOperator setOperator,List<QueryPart> queryParts)
Method Detail
getFirstQuerySpec
public QuerySpec getFirstQuerySpec()
- Specified by:
getFirstQuerySpecin classQueryPart
getLastQuerySpec
public QuerySpec getLastQuerySpec()
- Specified by:
getLastQuerySpecin classQueryPart
visitQuerySpecs
public void visitQuerySpecs(Consumer<QuerySpec> querySpecConsumer)
- Specified by:
visitQuerySpecsin classQueryPart
queryQuerySpecs
public <T> T queryQuerySpecs(Function<QuerySpec,T> querySpecConsumer)
- Specified by:
queryQuerySpecsin classQueryPart
getSetOperator
public SetOperator getSetOperator()
accept
public void accept(SqlAstWalker sqlTreeWalker)