Class SqmQueryGroup<T>
java.lang.Object
org.hibernate.query.sqm.tree.select.SqmQueryPart<T>
org.hibernate.query.sqm.tree.select.SqmQueryGroup<T>
- All Implemented Interfaces:
Serializable
,JpaCriteriaNode
,JpaQueryGroup<T>
,JpaQueryPart<T>
,SqmNode
,SqmVisitableNode
A grouped list of queries connected through a certain set operator.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSqmQueryGroup
(NodeBuilder nodeBuilder, SetOperator setOperator, List<SqmQueryPart<T>> queryParts) SqmQueryGroup
(SqmQueryPart<T> queryPart) -
Method Summary
Modifier and TypeMethodDescription<X> X
accept
(SemanticQueryWalker<X> walker) Accept the walker per visitationvoid
copy
(SqmCopyContext context) boolean
setFetch
(JpaExpression<? extends Number> fetch) setFetch
(JpaExpression<? extends Number> fetch, FetchClauseType fetchClauseType) setOffset
(JpaExpression<? extends Number> offset) void
setSetOperator
(SetOperator setOperator) setSortSpecifications
(List<? extends JpaOrder> sortSpecifications) void
Methods inherited from class org.hibernate.query.sqm.tree.select.SqmQueryPart
copyTo, getFetch, getFetchClauseType, getFetchExpression, getOffset, getOffsetExpression, getOrderByClause, getSortSpecifications, nodeBuilder, setFetchExpression, setFetchExpression, setOffsetExpression, setOrderByClause
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.query.criteria.JpaQueryPart
getFetch, getFetchClauseType, getOffset, getSortSpecifications
Methods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText
Methods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
toHqlString
-
Constructor Details
-
SqmQueryGroup
-
SqmQueryGroup
public SqmQueryGroup(NodeBuilder nodeBuilder, SetOperator setOperator, List<SqmQueryPart<T>> queryParts)
-
-
Method Details
-
copy
- Specified by:
copy
in interfaceSqmNode
- Specified by:
copy
in classSqmQueryPart<T>
-
queryParts
-
getFirstQuerySpec
- Specified by:
getFirstQuerySpec
in classSqmQueryPart<T>
-
getLastQuerySpec
- Specified by:
getLastQuerySpec
in classSqmQueryPart<T>
-
isSimpleQueryPart
public boolean isSimpleQueryPart()- Specified by:
isSimpleQueryPart
in classSqmQueryPart<T>
-
accept
Description copied from interface:SqmVisitableNode
Accept the walker per visitation- Specified by:
accept
in interfaceSqmVisitableNode
-
getQueryParts
- Specified by:
getQueryParts
in interfaceJpaQueryGroup<T>
-
getSetOperator
-
setSetOperator
-
setSortSpecifications
- Specified by:
setSortSpecifications
in interfaceJpaQueryGroup<T>
- Specified by:
setSortSpecifications
in interfaceJpaQueryPart<T>
- Overrides:
setSortSpecifications
in classSqmQueryPart<T>
-
setOffset
- Specified by:
setOffset
in interfaceJpaQueryGroup<T>
- Specified by:
setOffset
in interfaceJpaQueryPart<T>
- Overrides:
setOffset
in classSqmQueryPart<T>
-
setFetch
- Specified by:
setFetch
in interfaceJpaQueryGroup<T>
- Specified by:
setFetch
in interfaceJpaQueryPart<T>
- Overrides:
setFetch
in classSqmQueryPart<T>
-
setFetch
public SqmQueryGroup<T> setFetch(JpaExpression<? extends Number> fetch, FetchClauseType fetchClauseType) - Specified by:
setFetch
in interfaceJpaQueryGroup<T>
- Specified by:
setFetch
in interfaceJpaQueryPart<T>
- Overrides:
setFetch
in classSqmQueryPart<T>
-
validateQueryStructureAndFetchOwners
public void validateQueryStructureAndFetchOwners()- Specified by:
validateQueryStructureAndFetchOwners
in classSqmQueryPart<T>
-
appendHqlString
- Specified by:
appendHqlString
in interfaceSqmVisitableNode
- Overrides:
appendHqlString
in classSqmQueryPart<T>
-