Interface SqmSelectQuery<T>
- All Superinterfaces:
AbstractQuery<T>,CommonAbstractCriteria,JpaCriteriaBase,JpaCriteriaNode,JpaCteContainer,JpaSelectCriteria<T>,Serializable,SqmCteContainer,SqmNode,SqmQuery<T>
- All Known Implementing Classes:
AbstractSqmSelectQuery,SqmSelectStatement,SqmSubQuery
public interface SqmSelectQuery<T>
extends SqmQuery<T>, JpaSelectCriteria<T>, SqmNode, SqmCteContainer
- Author:
- Steve Ebersole
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy(SqmCopyContext context) distinct(boolean distinct) Specify whether duplicate query results will be eliminated.The query structure.The query structure.Methods inherited from interface jakarta.persistence.criteria.AbstractQuery
getGroupList, getResultType, getRoots, isDistinctMethods inherited from interface org.hibernate.query.criteria.JpaCriteriaBase
subqueryMethods inherited from interface org.hibernate.query.criteria.JpaCteContainer
getCteCriteria, getCteCriterias, with, with, withRecursiveUnionAll, withRecursiveUnionAll, withRecursiveUnionDistinct, withRecursiveUnionDistinctMethods inherited from interface org.hibernate.query.criteria.JpaSelectCriteria
from, from, from, from, getGroupRestriction, getRestriction, getSelection, groupBy, groupBy, having, having, where, whereMethods inherited from interface org.hibernate.query.sqm.tree.cte.SqmCteContainer
getCteStatement, getCteStatementsMethods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText, nodeBuilder
-
Method Details
-
getQuerySpec
SqmQuerySpec<T> getQuerySpec()Description copied from interface:JpaSelectCriteriaThe query structure. SeeJpaQueryStructurefor details- Specified by:
getQuerySpecin interfaceJpaSelectCriteria<T>
-
getQueryPart
SqmQueryPart<T> getQueryPart()Description copied from interface:JpaSelectCriteriaThe query structure. SeeJpaQueryStructurefor details- Specified by:
getQueryPartin interfaceJpaSelectCriteria<T>
-
distinct
Description copied from interface:AbstractQuerySpecify whether duplicate query results will be eliminated. A true value will cause duplicates to be eliminated. A false value will cause duplicates to be retained. If distinct has not been specified, duplicate results must be retained.- Specified by:
distinctin interfaceAbstractQuery<T>- Specified by:
distinctin interfaceJpaSelectCriteria<T>- Parameters:
distinct- boolean value specifying whether duplicate results must be eliminated from the query result or whether they must be retained- Returns:
- the modified query
-
copy
-