Top Fields Constructors Methods
org.hibernate.query.sql.internal

public Class NativeSelectQueryPlanImpl<R>

extends Object
implements NativeSelectQueryPlan<R>
Class Inheritance
All Implemented Interfaces
org.hibernate.query.sql.spi.NativeSelectQueryPlan, org.hibernate.query.sql.spi.NativeQueryPlan, org.hibernate.query.spi.QueryPlan, org.hibernate.query.spi.SelectQueryPlan
Imports
java.util.ArrayList, .Collections, .HashSet, .List, .Set, org.hibernate.ScrollMode, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.internal.EmptyScrollableResults, org.hibernate.query.results.ResultSetMapping, org.hibernate.query.spi.DomainQueryExecutionContext, .QueryOptions, .QueryParameterBindings, .ScrollableResultsImplementor, org.hibernate.query.sql.spi.NativeSelectQueryPlan, .ParameterOccurrence, org.hibernate.query.sqm.internal.SqmJdbcExecutionContextAdapter, org.hibernate.sql.exec.internal.JdbcParameterBindingsImpl, org.hibernate.sql.exec.spi.JdbcOperationQuerySelect, .JdbcParameterBinder, .JdbcParameterBindings, org.hibernate.sql.results.jdbc.spi.JdbcValuesMappingProducer, org.hibernate.sql.results.spi.ListResultsConsumer, .ResultsConsumer

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final Set<String>
private final List<ParameterOccurrence>
private final JdbcValuesMappingProducer
private final String

Constructor Summary

AccessConstructor and Description
public
NativeSelectQueryPlanImpl(String sql, Set<String> affectedTableNames, List<ParameterOccurrence> parameterList, ResultSetMapping resultSetMapping, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.

Method Summary

Modifier and TypeMethod and Description
public <T> T
executeQuery(DomainQueryExecutionContext executionContext, ResultsConsumer<T, R> resultsConsumer)

Implements org.hibernate.query.spi.SelectQueryPlan.executeQuery.

Execute the query
public List<R>
performList(DomainQueryExecutionContext executionContext)

Implements org.hibernate.query.spi.SelectQueryPlan.performList.

Perform (execute) the query returning a List
public ScrollableResultsImplementor<R>
performScroll(ScrollMode scrollMode, DomainQueryExecutionContext executionContext)

Implements org.hibernate.query.spi.SelectQueryPlan.performScroll.

Perform (execute) the query returning a ScrollableResults
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

affectedTableNamesback to summary
private final Set<String> affectedTableNames
parameterListback to summary
private final List<ParameterOccurrence> parameterList
resultSetMappingback to summary
private final JdbcValuesMappingProducer resultSetMapping
sqlback to summary
private final String sql

Constructor Detail

NativeSelectQueryPlanImplback to summary
public NativeSelectQueryPlanImpl(String sql, Set<String> affectedTableNames, List<ParameterOccurrence> parameterList, ResultSetMapping resultSetMapping, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Method Detail

executeQueryback to summary
public <T> T executeQuery(DomainQueryExecutionContext executionContext, ResultsConsumer<T, R> resultsConsumer)

Implements org.hibernate.query.spi.SelectQueryPlan.executeQuery.

Doc from org.hibernate.query.spi.SelectQueryPlan.executeQuery.

Execute the query

Annotations
@Override
performListback to summary
public List<R> performList(DomainQueryExecutionContext executionContext)

Implements org.hibernate.query.spi.SelectQueryPlan.performList.

Doc from org.hibernate.query.spi.SelectQueryPlan.performList.

Perform (execute) the query returning a List

Annotations
@Override
performScrollback to summary
public ScrollableResultsImplementor<R> performScroll(ScrollMode scrollMode, DomainQueryExecutionContext executionContext)

Implements org.hibernate.query.spi.SelectQueryPlan.performScroll.

Doc from org.hibernate.query.spi.SelectQueryPlan.performScroll.

Perform (execute) the query returning a ScrollableResults

Annotations
@Override