Class QueryGroup
- java.lang.Object
-
- org.hibernate.sql.ast.tree.select.QueryPart
-
- org.hibernate.sql.ast.tree.select.QueryGroup
-
- All Implemented Interfaces:
SqlAstNode
public class QueryGroup extends QueryPart
-
-
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 void
accept(SqlAstWalker sqlTreeWalker)
QuerySpec
getFirstQuerySpec()
QuerySpec
getLastQuerySpec()
List<QueryPart>
getQueryParts()
SetOperator
getSetOperator()
<T> T
queryQuerySpecs(Function<QuerySpec,T> querySpecConsumer)
void
visitQuerySpecs(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:
getFirstQuerySpec
in classQueryPart
-
getLastQuerySpec
public QuerySpec getLastQuerySpec()
- Specified by:
getLastQuerySpec
in classQueryPart
-
visitQuerySpecs
public void visitQuerySpecs(Consumer<QuerySpec> querySpecConsumer)
- Specified by:
visitQuerySpecs
in classQueryPart
-
queryQuerySpecs
public <T> T queryQuerySpecs(Function<QuerySpec,T> querySpecConsumer)
- Specified by:
queryQuerySpecs
in classQueryPart
-
getSetOperator
public SetOperator getSetOperator()
-
accept
public void accept(SqlAstWalker sqlTreeWalker)
-
-