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

public Class MapInitializer

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

Represents an immediate initialization of some sort (join, select, batch, sub-select) of a persistent Map valued attribute.
Author
Steve Ebersole
See Also
DelayedCollectionInitializer

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
MapInitializer(NavigablePath navigablePath, PluralAttributeMapping attributeMapping, FetchParentAccess parentAccess, LockMode lockMode, DomainResultAssembler<?> collectionKeyAssembler, DomainResultAssembler<?> collectionValueKeyAssembler, DomainResultAssembler<?> mapKeyAssembler, DomainResultAssembler<?> mapValueAssembler)

Method Summary

Modifier and TypeMethod and Description
public PersistentMap<?, ?>
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

CONCRETE_NAMEback to summary
private static final String CONCRETE_NAME
mapKeyAssemblerback to summary
private final DomainResultAssembler<?> mapKeyAssembler
mapValueAssemblerback to summary
private final DomainResultAssembler<?> mapValueAssembler

Constructor Detail

MapInitializerback to summary
public MapInitializer(NavigablePath navigablePath, PluralAttributeMapping attributeMapping, FetchParentAccess parentAccess, LockMode lockMode, DomainResultAssembler<?> collectionKeyAssembler, DomainResultAssembler<?> collectionValueKeyAssembler, DomainResultAssembler<?> mapKeyAssembler, DomainResultAssembler<?> mapValueAssembler)

Method Detail

getCollectionInstanceback to summary
public PersistentMap<?, ?> getCollectionInstance()

Overrides org.hibernate.sql.results.graph.collection.internal.AbstractCollectionInitializer.getCollectionInstance.

Implements org.hibernate.sql.results.graph.collection.CollectionInitializer.getCollectionInstance.

Annotations
@Override
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