Top Description Fields Constructors Methods
org.hibernate.loader.ast.internal

public Class CollectionLoaderSubSelectFetch

extends Object
implements CollectionLoader
Class Inheritance
All Implemented Interfaces
org.hibernate.loader.ast.spi.CollectionLoader, org.hibernate.loader.ast.spi.Loader
Imports
java.util.Iterator, .List, org.hibernate.LockOptions, org.hibernate.collection.spi.PersistentCollection, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment, org.hibernate.engine.jdbc.spi.JdbcServices, org.hibernate.engine.spi.BatchFetchQueue, .CollectionKey, .EntityEntry, .EntityKey, .PersistenceContext, .SessionFactoryImplementor, .SharedSessionContractImplementor, .SubselectFetch, org.hibernate.internal.util.collections.CollectionHelper, org.hibernate.loader.ast.spi.CollectionLoader, org.hibernate.metamodel.mapping.PluralAttributeMapping, org.hibernate.query.spi.QueryOptions, org.hibernate.sql.ast.SqlAstTranslatorFactory, org.hibernate.sql.ast.tree.from.TableGroup, org.hibernate.sql.ast.tree.select.QuerySpec, .SelectStatement, org.hibernate.sql.exec.spi.JdbcOperationQuerySelect, org.hibernate.sql.results.graph.DomainResult, org.hibernate.sql.results.internal.ResultsHelper, .RowTransformerStandardImpl, org.hibernate.sql.results.spi.ListResultsConsumer

A one-time use CollectionLoader for applying a subselect fetch.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final PluralAttributeMapping
private final SelectStatement
private final SubselectFetch

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public PluralAttributeMapping
getLoadable()

Implements org.hibernate.loader.ast.spi.CollectionLoader.getLoadable.

The value-mapping loaded by this loader
protected SelectStatement
public PersistentCollection<?>
load(Object triggerKey, SharedSessionContractImplementor session)

Implements org.hibernate.loader.ast.spi.CollectionLoader.load.

Load a collection by its key (not necessarily the same as its owner's PK).
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

attributeMappingback to summary
private final PluralAttributeMapping attributeMapping
sqlAstback to summary
private final SelectStatement sqlAst
subselectback to summary
private final SubselectFetch subselect

Constructor Detail

CollectionLoaderSubSelectFetchback to summary
public CollectionLoaderSubSelectFetch(PluralAttributeMapping attributeMapping, DomainResult<?> cachedDomainResult, SubselectFetch subselect, SharedSessionContractImplementor session)

Method Detail

getLoadableback to summary
public PluralAttributeMapping getLoadable()

Implements org.hibernate.loader.ast.spi.CollectionLoader.getLoadable.

Doc from org.hibernate.loader.ast.spi.Loader.getLoadable.

The value-mapping loaded by this loader

Annotations
@Override
getSqlAstback to summary
protected SelectStatement getSqlAst()
loadback to summary
public PersistentCollection<?> load(Object triggerKey, SharedSessionContractImplementor session)

Implements org.hibernate.loader.ast.spi.CollectionLoader.load.

Doc from org.hibernate.loader.ast.spi.CollectionLoader.load.

Load a collection by its key (not necessarily the same as its owner's PK).

Annotations
@Override