Top Description Fields Methods
org.hibernate.query.sqm.tree.select

public Interface SqmSelectQuery<T>

extends SqmQuery<T>, JpaSelectCriteria<T>, SqmNode, SqmCteContainer
Known Direct Implementers
org.hibernate.query.sqm.tree.select.SqmSubQuery, org.hibernate.query.sqm.tree.select.AbstractSqmSelectQuery
Imports
org.hibernate.query.criteria.JpaSelectCriteria, org.hibernate.query.sqm.tree.SqmCopyContext, .SqmNode, .SqmQuery, org.hibernate.query.sqm.tree.cte.SqmCteContainer

Common contract between a root and a sub-query
Author
Steve Ebersole

Field Summary

Inherited from org.hibernate.query.sqm.tree.SqmNode:
log

Method Summary

Modifier and TypeMethod and Description
public SqmSelectQuery<T>
public SqmSelectQuery<T>
distinct(boolean
boolean value specifying whether duplicate results must be eliminated from the query result or whether they must be retained
distinct
)

Redeclares org.hibernate.query.criteria.JpaSelectCriteria.distinct.

Specify whether duplicate query results will be eliminated.
public SqmQueryPart<T>
public SqmQuerySpec<T>
Inherited from org.hibernate.query.criteria.JpaSelectCriteria:
fromfromfromfromgetGroupRestrictiongetRestrictiongetSelectiongroupBygroupByhavinghavingwherewhere
Inherited from org.hibernate.query.sqm.tree.cte.SqmCteContainer:
getCteStatementgetCteStatements
Inherited from org.hibernate.query.sqm.tree.SqmNode:
asLoggableTextnodeBuilder

Method Detail

copyback to summary
public SqmSelectQuery<T> copy(SqmCopyContext context)

Redeclares org.hibernate.query.sqm.tree.SqmQuery.copy, org.hibernate.query.sqm.tree.SqmNode.copy.

Annotations
@Override
distinctback to summary
public SqmSelectQuery<T> distinct(boolean distinct)

Redeclares org.hibernate.query.criteria.JpaSelectCriteria.distinct.

Doc from jakarta.persistence.criteria.AbstractQuery.distinct.

Specify 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.

Parameters
distinct:boolean

boolean value specifying whether duplicate results must be eliminated from the query result or whether they must be retained

Returns:SqmSelectQuery<T>

the modified query

Annotations
@Override
getQueryPartback to summary
public SqmQueryPart<T> getQueryPart()

Redeclares org.hibernate.query.criteria.JpaSelectCriteria.getQueryPart.

Doc from org.hibernate.query.criteria.JpaSelectCriteria.getQueryPart.

The query structure. See JpaQueryStructure for details

getQuerySpecback to summary
public SqmQuerySpec<T> getQuerySpec()

Redeclares org.hibernate.query.criteria.JpaSelectCriteria.getQuerySpec.

Doc from org.hibernate.query.criteria.JpaSelectCriteria.getQuerySpec.

The query structure. See JpaQueryStructure for details

Annotations
@Override