Top Description Constructors Methods
org.hibernate.loader.entity

public abstract Class BatchingEntityLoaderBuilder

extends Object
Class Inheritance
Known Direct Subclasses
org.hibernate.loader.entity.plan.AbstractBatchingEntityLoaderBuilder
Imports
org.hibernate.LockMode, .LockOptions, org.hibernate.engine.spi.LoadQueryInfluencers, .SessionFactoryImplementor, org.hibernate.loader.entity.plan.DynamicBatchingEntityLoaderBuilder, .LegacyBatchingEntityLoaderBuilder, .PaddedBatchingEntityLoaderBuilder, org.hibernate.persister.entity.OuterJoinLoadable

The contract for building UniqueEntityLoader capable of performing batch-fetch loading. Intention is to build these instances, by first calling the static getBuilder, and then calling the appropriate buildLoader method.
Author
Steve Ebersole
See Also
org.hibernate.loader.BatchFetchStyle

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected abstract UniqueEntityLoader
buildBatchingLoader(OuterJoinLoadable persister, int batchSize, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
protected abstract UniqueEntityLoader
buildBatchingLoader(OuterJoinLoadable persister, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
public UniqueEntityLoader

Returns:

The loader.
buildLoader
(OuterJoinLoadable
The entity persister
persister
,
int
The maximum number of ids to batch-fetch at once
batchSize
,
LockMode
The lock mode
lockMode
,
SessionFactoryImplementor
The SessionFactory
factory
,
LoadQueryInfluencers
Any influencers that should affect the built query
influencers
)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Builds a batch-fetch capable loader based on the given persister, lock-mode, etc.
public UniqueEntityLoader

Returns:

The loader.
buildLoader
(OuterJoinLoadable
The entity persister
persister
,
int
The maximum number of ids to batch-fetch at once
batchSize
,
LockOptions
The lock options
lockOptions
,
SessionFactoryImplementor
The SessionFactory
factory
,
LoadQueryInfluencers
Any influencers that should affect the built query
influencers
)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Builds a batch-fetch capable loader based on the given persister, lock-options, etc.
protected UniqueEntityLoader
buildNonBatchingLoader(OuterJoinLoadable persister, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
protected UniqueEntityLoader
buildNonBatchingLoader(OuterJoinLoadable persister, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
public static BatchingEntityLoaderBuilder
getBuilder(SessionFactoryImplementor factory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

BatchingEntityLoaderBuilderback to summary
public BatchingEntityLoaderBuilder()

Method Detail

buildBatchingLoaderback to summary
protected abstract UniqueEntityLoader buildBatchingLoader(OuterJoinLoadable persister, int batchSize, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)

Deprecated

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

buildBatchingLoaderback to summary
protected abstract UniqueEntityLoader buildBatchingLoader(OuterJoinLoadable persister, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)

Deprecated

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

buildLoaderback to summary
public UniqueEntityLoader buildLoader(OuterJoinLoadable persister, int batchSize, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)

Deprecated

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

Builds a batch-fetch capable loader based on the given persister, lock-mode, etc.

Parameters
persister:OuterJoinLoadable

The entity persister

batchSize:int

The maximum number of ids to batch-fetch at once

lockMode:LockMode

The lock mode

factory:SessionFactoryImplementor

The SessionFactory

influencers:LoadQueryInfluencers

Any influencers that should affect the built query

Returns:UniqueEntityLoader

The loader.

buildLoaderback to summary
public UniqueEntityLoader buildLoader(OuterJoinLoadable persister, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)

Deprecated

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

Builds a batch-fetch capable loader based on the given persister, lock-options, etc.

Parameters
persister:OuterJoinLoadable

The entity persister

batchSize:int

The maximum number of ids to batch-fetch at once

lockOptions:LockOptions

The lock options

factory:SessionFactoryImplementor

The SessionFactory

influencers:LoadQueryInfluencers

Any influencers that should affect the built query

Returns:UniqueEntityLoader

The loader.

buildNonBatchingLoaderback to summary
protected UniqueEntityLoader buildNonBatchingLoader(OuterJoinLoadable persister, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)

Deprecated

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

buildNonBatchingLoaderback to summary
protected UniqueEntityLoader buildNonBatchingLoader(OuterJoinLoadable persister, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)

Deprecated

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

getBuilderback to summary
public static BatchingEntityLoaderBuilder getBuilder(SessionFactoryImplementor factory)

Deprecated

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