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
-
-
-
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)
-
interpretIntExpression
protected static int interpretIntExpression(Expression expression, JdbcParameterBindings jdbcParameterBindings)
-
determineRowTransformer
protected static <T> RowTransformer<T> determineRowTransformer(SqmSelectStatement<?> sqm, Class<T> resultClass, TupleMetadata tupleMetadata, QueryOptions queryOptions)
-
executeQuery
public <T> T executeQuery(DomainQueryExecutionContext executionContext, ResultsConsumer<T,R> resultsConsumer)
Description copied from interface:SelectQueryPlan
Execute the query- Specified by:
executeQuery
in interfaceSelectQueryPlan<R>
-
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>
-
-