Class ArrayInitializerProducer
- java.lang.Object
-
- org.hibernate.sql.results.graph.collection.internal.ArrayInitializerProducer
-
- All Implemented Interfaces:
CollectionInitializerProducer
public class ArrayInitializerProducer extends Object implements CollectionInitializerProducer
-
-
Constructor Summary
Constructors Constructor Description ArrayInitializerProducer(PluralAttributeMapping arrayDescriptor, Fetch listIndexFetch, Fetch elementFetch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionInitializer
produceInitializer(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
-
ArrayInitializerProducer
public ArrayInitializerProducer(PluralAttributeMapping arrayDescriptor, Fetch listIndexFetch, 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:CollectionInitializerProducer
Create an initializer for the given attribute relative to the given navigable path.- Specified by:
produceInitializer
in interfaceCollectionInitializerProducer
- Parameters:
navigablePath
- the navigable pathattributeMapping
- the attributeparentAccess
- may be null to indicate that the initializer is for aDomainResult
rather than aFetch
collectionKeyAssembler
- allows creation of aDomainResult
for either side of the collection foreign keycollectionValueKeyAssembler
- allows creation of aDomainResult
for either side of the collection foreign key
-
-