Top Description Inners Fields Constructors Methods
org.hibernate.loader.collection.plan

public Class CollectionLoader

extends AbstractLoadPlanBasedCollectionInitializer
Class Inheritance
Imports
java.sql.ResultSet, org.hibernate.LockMode, .LockOptions, org.hibernate.engine.spi.LoadQueryInfluencers, org.hibernate.internal.CoreLogging, org.hibernate.loader.plan.exec.query.internal.QueryBuildingParametersImpl, org.hibernate.loader.plan.exec.query.spi.QueryBuildingParameters, org.hibernate.persister.collection.QueryableCollection, org.hibernate.type.Type, org.jboss.logging.Logger

Superclass for loaders that initialize collections
Authors
Gavin King, Gail Badner
See Also
org.hibernate.loader.collection.OneToManyLoader, org.hibernate.loader.collection.BasicCollectionLoader

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected static class

Field Summary

Modifier and TypeField and Description
private static final Logger

Constructor Summary

AccessConstructor and Description
public
CollectionLoader(QueryableCollection collectionPersister, QueryBuildingParameters buildingParameters)

Method Summary

Modifier and TypeMethod and Description
protected void
public static CollectionLoader.Builder
forCollection(QueryableCollection collectionPersister)

protected Type
protected int[]
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from org.hibernate.loader.collection.plan.AbstractLoadPlanBasedCollectionInitializer:
collectionPersistergetStaticLoadQueryinitialize

Field Detail

logback to summary
private static final Logger log

Hides org.hibernate.loader.collection.plan.AbstractLoadPlanBasedCollectionInitializer.log.

Constructor Detail

CollectionLoaderback to summary
public CollectionLoader(QueryableCollection collectionPersister, QueryBuildingParameters buildingParameters)

Method Detail

autoDiscoverTypesback to summary
protected void autoDiscoverTypes(ResultSet rs)

Overrides org.hibernate.loader.collection.plan.AbstractLoadPlanBasedCollectionInitializer.autoDiscoverTypes.

Annotations
@Override
forCollectionback to summary
public static CollectionLoader.Builder forCollection(QueryableCollection collectionPersister)
getKeyTypeback to summary
protected Type getKeyType()
getNamedParameterLocsback to summary
protected int[] getNamedParameterLocs(String name)

Overrides org.hibernate.loader.collection.plan.AbstractLoadPlanBasedCollectionInitializer.getNamedParameterLocs.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

org.hibernate.loader.collection.plan back to summary

protected Class CollectionLoader.Builder

extends Object
Class Inheritance
  • java.lang.Object
  • org.hibernate.loader.collection.plan.CollectionLoader.Builder

Field Summary

Modifier and TypeField and Description
private int
private final QueryableCollection
private LoadQueryInfluencers

Constructor Summary

AccessConstructor and Description
private
Builder(QueryableCollection collectionPersister)

Method Summary

Modifier and TypeMethod and Description
public CollectionLoader
public CollectionLoader.Builder
withBatchSize(int batchSize)

public CollectionLoader.Builder
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

batchSizeback to summary
private int batchSize
collectionPersisterback to summary
private final QueryableCollection collectionPersister
influencersback to summary
private LoadQueryInfluencers influencers

Constructor Detail

Builderback to summary
private Builder(QueryableCollection collectionPersister)

Method Detail

byKeyback to summary
public CollectionLoader byKey()
withBatchSizeback to summary
public CollectionLoader.Builder withBatchSize(int batchSize)
withInfluencersback to summary
public CollectionLoader.Builder withInfluencers(LoadQueryInfluencers influencers)