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

public abstract Class AbstractCollectionBatchLoader

extends Object
implements CollectionBatchLoader
Class Inheritance
All Implemented Interfaces
org.hibernate.loader.ast.spi.CollectionBatchLoader, org.hibernate.loader.ast.spi.CollectionLoader, org.hibernate.loader.ast.spi.Loader, org.hibernate.loader.ast.spi.BatchLoader, org.hibernate.loader.ast.spi.MultiKeyLoader
Known Direct Subclasses
org.hibernate.loader.ast.internal.CollectionBatchLoaderArrayParam, org.hibernate.loader.ast.internal.CollectionBatchLoaderInPredicate
Imports
org.hibernate.collection.spi.PersistentCollection, org.hibernate.engine.spi.CollectionEntry, .CollectionKey, .LoadQueryInfluencers, .PersistenceContext, .SessionFactoryImplementor, .SharedSessionContractImplementor, org.hibernate.loader.ast.spi.CollectionBatchLoader, org.hibernate.metamodel.mapping.NonAggregatedIdentifierMapping, .PluralAttributeMapping, .ValuedModelPart, org.hibernate.metamodel.mapping.internal.IdClassEmbeddable, org.hibernate.sql.results.internal.ResultsHelper, java.lang.reflect.Array

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final PluralAttributeMapping
private final int
private final LoadQueryInfluencers
private final int
private final SessionFactoryImplementor
sessionFactory

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
pack-priv final CollectionLoaderSingleKey

Constructor Summary

AccessConstructor and Description
public
AbstractCollectionBatchLoader(int domainBatchSize, LoadQueryInfluencers influencers, PluralAttributeMapping attributeMapping, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.

Method Summary

Modifier and TypeMethod and Description
protected void
pack-priv abstract void
public int
getDomainBatchSize()

Implements org.hibernate.loader.ast.spi.BatchLoader.getDomainBatchSize.

The total number of loadable references that can be initialized per each load operation.
public LoadQueryInfluencers
public int
protected Class<?>
public PluralAttributeMapping
public SessionFactoryImplementor
getSessionFactory()

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
pack-priv abstract void
public PersistentCollection<?>
load(Object key, 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).
pack-priv Object[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

attributeMappingback to summary
private final PluralAttributeMapping attributeMapping
domainBatchSizeback to summary
private final int domainBatchSize
influencersback to summary
private final LoadQueryInfluencers influencers
keyJdbcCountback to summary
private final int keyJdbcCount
sessionFactoryback to summary
private final SessionFactoryImplementor sessionFactory

Deprecated

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

singleKeyLoaderback to summary
pack-priv final CollectionLoaderSingleKey singleKeyLoader

Constructor Detail

AbstractCollectionBatchLoaderback to summary
public AbstractCollectionBatchLoader(int domainBatchSize, LoadQueryInfluencers influencers, PluralAttributeMapping attributeMapping, SessionFactoryImplementor sessionFactory)

Deprecated

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

Method Detail

finishInitializingKeyback to summary
protected void finishInitializingKey(Object key, SharedSessionContractImplementor session)
finishInitializingKeysback to summary
pack-priv abstract void finishInitializingKeys(Object[] key, SharedSessionContractImplementor session)
getDomainBatchSizeback to summary
public int getDomainBatchSize()

Implements org.hibernate.loader.ast.spi.BatchLoader.getDomainBatchSize.

Doc from org.hibernate.loader.ast.spi.BatchLoader.getDomainBatchSize.

The total number of loadable references that can be initialized per each load operation.

Annotations
@Override
getInfluencersback to summary
public LoadQueryInfluencers getInfluencers()
getKeyJdbcCountback to summary
public int getKeyJdbcCount()
getKeyTypeback to summary
protected Class<?> getKeyType(ValuedModelPart keyPart)
getLoadableback to summary
public PluralAttributeMapping getLoadable()

Implements org.hibernate.loader.ast.spi.Loader.getLoadable, 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
getSessionFactoryback to summary
public SessionFactoryImplementor getSessionFactory()

Deprecated

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

initializeKeysback to summary
pack-priv abstract void initializeKeys(Object key, Object[] keysToInitialize, SharedSessionContractImplementor session)
loadback to summary
public PersistentCollection<?> load(Object key, 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
resolveKeysToInitializeback to summary
pack-priv Object[] resolveKeysToInitialize(Object keyBeingLoaded, SharedSessionContractImplementor session)