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> Xaccept(SemanticQueryWalker<X> walker) Accept the walker per visitationvoidappendHqlString(StringBuilder hql, SqmRenderContext context) copy(SqmCopyContext context) booleaninthashCode()booleansetFetch(JpaExpression<? extends Number> fetch) setFetch(JpaExpression<? extends Number> fetch, FetchClauseType fetchClauseType) setOffset(JpaExpression<? extends Number> offset) voidsetSetOperator(SetOperator setOperator) setSortSpecifications(List<? extends JpaOrder> sortSpecifications) voidMethods inherited from class org.hibernate.query.sqm.tree.select.SqmQueryPart
copyTo, getFetch, getFetchClauseType, getFetchExpression, getOffset, getOffsetExpression, getOrderByClause, getSortSpecifications, nodeBuilder, setFetchExpression, setFetchExpression, setOffsetExpression, setOrderByClauseMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.query.criteria.JpaQueryPart
getFetch, getFetchClauseType, getOffset, getSortSpecificationsMethods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableTextMethods 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:
copyin interfaceSqmNode- Specified by:
copyin classSqmQueryPart<T>
-
queryParts
-
getFirstQuerySpec
- Specified by:
getFirstQuerySpecin classSqmQueryPart<T>
-
getLastQuerySpec
- Specified by:
getLastQuerySpecin classSqmQueryPart<T>
-
isSimpleQueryPart
public boolean isSimpleQueryPart()- Specified by:
isSimpleQueryPartin classSqmQueryPart<T>
-
accept
Description copied from interface:SqmVisitableNodeAccept the walker per visitation- Specified by:
acceptin interfaceSqmVisitableNode
-
getQueryParts
- Specified by:
getQueryPartsin interfaceJpaQueryGroup<T>
-
getSetOperator
-
setSetOperator
-
setSortSpecifications
- Specified by:
setSortSpecificationsin interfaceJpaQueryGroup<T>- Specified by:
setSortSpecificationsin interfaceJpaQueryPart<T>- Overrides:
setSortSpecificationsin classSqmQueryPart<T>
-
setOffset
- Specified by:
setOffsetin interfaceJpaQueryGroup<T>- Specified by:
setOffsetin interfaceJpaQueryPart<T>- Overrides:
setOffsetin classSqmQueryPart<T>
-
setFetch
- Specified by:
setFetchin interfaceJpaQueryGroup<T>- Specified by:
setFetchin interfaceJpaQueryPart<T>- Overrides:
setFetchin classSqmQueryPart<T>
-
setFetch
public SqmQueryGroup<T> setFetch(JpaExpression<? extends Number> fetch, FetchClauseType fetchClauseType) - Specified by:
setFetchin interfaceJpaQueryGroup<T>- Specified by:
setFetchin interfaceJpaQueryPart<T>- Overrides:
setFetchin classSqmQueryPart<T>
-
validateQueryStructureAndFetchOwners
public void validateQueryStructureAndFetchOwners()- Specified by:
validateQueryStructureAndFetchOwnersin classSqmQueryPart<T>
-
appendHqlString
- Specified by:
appendHqlStringin interfaceSqmVisitableNode- Overrides:
appendHqlStringin classSqmQueryPart<T>
-
equals
- Overrides:
equalsin classSqmQueryPart<T>
-
hashCode
public int hashCode()- Overrides:
hashCodein classSqmQueryPart<T>
-