Class SetInitializerProducer
- java.lang.Object
-
- org.hibernate.sql.results.graph.collection.internal.SetInitializerProducer
-
- All Implemented Interfaces:
CollectionInitializerProducer
public class SetInitializerProducer extends Object implements CollectionInitializerProducer
-
-
Constructor Summary
Constructors Constructor Description SetInitializerProducer(PluralAttributeMapping setDescriptor, Fetch elementFetch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionInitializerproduceInitializer(NavigablePath navigablePath, PluralAttributeMapping attributeMapping, FetchParentAccess parentAccess, LockMode lockMode, DomainResultAssembler<?> collectionKeyAssembler, DomainResultAssembler<?> collectionValueKeyAssembler, AssemblerCreationState creationState)Create an initializer for the given attribute relative to the given navigable path.
-
-
-
Constructor Detail
-
SetInitializerProducer
public SetInitializerProducer(PluralAttributeMapping setDescriptor, Fetch elementFetch)
-
-
Method Detail
-
produceInitializer
public CollectionInitializer produceInitializer(NavigablePath navigablePath, PluralAttributeMapping attributeMapping, FetchParentAccess parentAccess, LockMode lockMode, DomainResultAssembler<?> collectionKeyAssembler, DomainResultAssembler<?> collectionValueKeyAssembler, AssemblerCreationState creationState)
Description copied from interface:CollectionInitializerProducerCreate an initializer for the given attribute relative to the given navigable path.- Specified by:
produceInitializerin interfaceCollectionInitializerProducer- Parameters:
navigablePath- the navigable pathattributeMapping- the attributeparentAccess- may be null to indicate that the initializer is for aDomainResultrather than aFetchcollectionKeyAssembler- allows creation of aDomainResultfor either side of the collection foreign keycollectionValueKeyAssembler- allows creation of aDomainResultfor either side of the collection foreign key
-
-