Top Description Fields Constructors Methods
org.hibernate.sql.results.graph.collection.internal

public Class BagInitializer

extends AbstractImmediateCollectionInitializer
Class Inheritance
Imports
java.util.List, org.hibernate.LockMode, org.hibernate.collection.spi.PersistentBag, .PersistentIdentifierBag, org.hibernate.engine.spi.CollectionKey, org.hibernate.internal.log.LoggingHelper, org.hibernate.metamodel.mapping.PluralAttributeMapping, org.hibernate.spi.NavigablePath, org.hibernate.sql.results.graph.DomainResultAssembler, .FetchParentAccess, org.hibernate.sql.results.jdbc.spi.RowProcessingState

Initializer for both PersistentBag and PersistentIdentifierBag collections
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final DomainResultAssembler<?>
private static final String
private final DomainResultAssembler<?>

Constructor Summary

AccessConstructor and Description
public
BagInitializer(PluralAttributeMapping bagDescriptor, FetchParentAccess parentAccess, NavigablePath navigablePath, LockMode lockMode, DomainResultAssembler<?> collectionKeyAssembler, DomainResultAssembler<?> collectionValueKeyAssembler, DomainResultAssembler<?> elementAssembler, DomainResultAssembler<?> collectionIdAssembler)

Method Summary

Modifier and TypeMethod and Description
protected String
protected void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from org.hibernate.sql.results.graph.collection.internal.AbstractImmediateCollectionInitializer:
finishUpRowgetCollectionValueKeyinitializeInstanceresolveInstanceresolveKeytakeResponsibility

Field Detail

collectionIdAssemblerback to summary
private final DomainResultAssembler<?> collectionIdAssembler
CONCRETE_NAMEback to summary
private static final String CONCRETE_NAME
elementAssemblerback to summary
private final DomainResultAssembler<?> elementAssembler

Constructor Detail

BagInitializerback to summary
public BagInitializer(PluralAttributeMapping bagDescriptor, FetchParentAccess parentAccess, NavigablePath navigablePath, LockMode lockMode, DomainResultAssembler<?> collectionKeyAssembler, DomainResultAssembler<?> collectionValueKeyAssembler, DomainResultAssembler<?> elementAssembler, DomainResultAssembler<?> collectionIdAssembler)

Method Detail

getSimpleConcreteImplNameback to summary
protected String getSimpleConcreteImplName()

Implements abstract org.hibernate.sql.results.graph.collection.internal.AbstractImmediateCollectionInitializer.getSimpleConcreteImplName.

Annotations
@Override
readCollectionRowback to summary
protected void readCollectionRow(CollectionKey collectionKey, List<Object> loadingState, RowProcessingState rowProcessingState)

Implements abstract org.hibernate.sql.results.graph.collection.internal.AbstractImmediateCollectionInitializer.readCollectionRow.

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.

Annotations
@Override