Package org.hibernate.query.sqm.internal
Class ConcreteSqmSelectQueryPlan<R>
- java.lang.Object
-
- org.hibernate.query.sqm.internal.ConcreteSqmSelectQueryPlan<R>
-
- All Implemented Interfaces:
QueryPlan
,SelectQueryPlan<R>
public class ConcreteSqmSelectQueryPlan<R> extends Object implements SelectQueryPlan<R>
Standard Hibernate implementation of SelectQueryPlan for SQM-backedQuery
implementations, which means HQL/JPQL orCriteriaQuery
-
-
Constructor Summary
Constructors Constructor Description ConcreteSqmSelectQueryPlan(SqmSelectStatement<?> sqm, String hql, DomainParameterXref domainParameterXref, Class<R> resultType, TupleMetadata tupleMetadata, QueryOptions queryOptions)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static <T> RowTransformer<T>
determineRowTransformer(SqmSelectStatement<?> sqm, Class<T> resultType, TupleMetadata tupleMetadata, QueryOptions queryOptions)
protected static SqmJdbcExecutionContextAdapter
listInterpreterExecutionContext(String hql, DomainQueryExecutionContext executionContext, JdbcOperationQuerySelect jdbcSelect, SubselectFetch.RegistrationHandler subSelectFetchKeyHandler)
List<R>
performList(DomainQueryExecutionContext executionContext)
Perform (execute) the query returning a ListScrollableResultsImplementor<R>
performScroll(ScrollMode scrollMode, DomainQueryExecutionContext executionContext)
Perform (execute) the query returning a ScrollableResults
-
-
-
Constructor Detail
-
ConcreteSqmSelectQueryPlan
public ConcreteSqmSelectQueryPlan(SqmSelectStatement<?> sqm, String hql, DomainParameterXref domainParameterXref, Class<R> resultType, TupleMetadata tupleMetadata, QueryOptions queryOptions)
-
-
Method Detail
-
listInterpreterExecutionContext
protected static SqmJdbcExecutionContextAdapter listInterpreterExecutionContext(String hql, DomainQueryExecutionContext executionContext, JdbcOperationQuerySelect jdbcSelect, SubselectFetch.RegistrationHandler subSelectFetchKeyHandler)
-
determineRowTransformer
protected static <T> RowTransformer<T> determineRowTransformer(SqmSelectStatement<?> sqm, Class<T> resultType, TupleMetadata tupleMetadata, QueryOptions queryOptions)
-
performList
public List<R> performList(DomainQueryExecutionContext executionContext)
Description copied from interface:SelectQueryPlan
Perform (execute) the query returning a List- Specified by:
performList
in interfaceSelectQueryPlan<R>
-
performScroll
public ScrollableResultsImplementor<R> performScroll(ScrollMode scrollMode, DomainQueryExecutionContext executionContext)
Description copied from interface:SelectQueryPlan
Perform (execute) the query returning a ScrollableResults- Specified by:
performScroll
in interfaceSelectQueryPlan<R>
-
-