Class MapInitializer
- java.lang.Object
-
- org.hibernate.sql.results.graph.collection.internal.AbstractCollectionInitializer
-
- org.hibernate.sql.results.graph.collection.internal.AbstractImmediateCollectionInitializer
-
- org.hibernate.sql.results.graph.collection.internal.MapInitializer
-
- All Implemented Interfaces:
CollectionInitializer
,Initializer
public class MapInitializer extends AbstractImmediateCollectionInitializer
Represents an immediate initialization of some sort (join, select, batch, sub-select) of a persistent Map valued attribute.- See Also:
DelayedCollectionInitializer
-
-
Field Summary
-
Fields inherited from class org.hibernate.sql.results.graph.collection.internal.AbstractCollectionInitializer
collectionAttributeMapping, collectionInstance, collectionKey, collectionKeyResultAssembler, parentAccess
-
-
Constructor Summary
Constructors Constructor Description MapInitializer(NavigablePath navigablePath, PluralAttributeMapping attributeMapping, FetchParentAccess parentAccess, LockMode lockMode, DomainResultAssembler<?> collectionKeyAssembler, DomainResultAssembler<?> collectionValueKeyAssembler, DomainResultAssembler<?> mapKeyAssembler, DomainResultAssembler<?> mapValueAssembler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PersistentMap<?,?>
getCollectionInstance()
protected String
getSimpleConcreteImplName()
protected void
readCollectionRow(CollectionKey collectionKey, List<Object> loadingState, RowProcessingState rowProcessingState)
String
toString()
-
Methods inherited from class org.hibernate.sql.results.graph.collection.internal.AbstractImmediateCollectionInitializer
finishUpRow, getCollectionValueKey, initializeInstance, resolveInstance, resolveKey, takeResponsibility
-
Methods inherited from class org.hibernate.sql.results.graph.collection.internal.AbstractCollectionInitializer
getCollectionAttributeMapping, getInitializedPart, getNavigablePath, getParentAccess, resolveCollectionKey, resolveInstance
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.results.graph.collection.CollectionInitializer
endLoading, getInitializedInstance, getInitializingCollectionDescriptor, isCollectionInitializer
-
Methods inherited from interface org.hibernate.sql.results.graph.Initializer
asEmbeddableInitializer, asEntityInitializer, isAttributeAssignableToConcreteDescriptor, isEmbeddableInitializer, isEntityInitializer
-
-
-
-
Constructor Detail
-
MapInitializer
public MapInitializer(NavigablePath navigablePath, PluralAttributeMapping attributeMapping, FetchParentAccess parentAccess, LockMode lockMode, DomainResultAssembler<?> collectionKeyAssembler, DomainResultAssembler<?> collectionValueKeyAssembler, DomainResultAssembler<?> mapKeyAssembler, DomainResultAssembler<?> mapValueAssembler)
-
-
Method Detail
-
getSimpleConcreteImplName
protected String getSimpleConcreteImplName()
- Specified by:
getSimpleConcreteImplName
in classAbstractImmediateCollectionInitializer
-
getCollectionInstance
public PersistentMap<?,?> getCollectionInstance()
- Specified by:
getCollectionInstance
in interfaceCollectionInitializer
- Overrides:
getCollectionInstance
in classAbstractCollectionInitializer
-
readCollectionRow
protected void readCollectionRow(CollectionKey collectionKey, List<Object> loadingState, RowProcessingState rowProcessingState)
- Specified by:
readCollectionRow
in classAbstractImmediateCollectionInitializer
-
-