Class LoadingCollectionEntryImpl
java.lang.Object
org.hibernate.sql.results.internal.LoadingCollectionEntryImpl
- All Implemented Interfaces:
LoadingCollectionEntry
Represents a collection currently being loaded.
-
Constructor Summary
ConstructorsConstructorDescriptionLoadingCollectionEntryImpl(CollectionPersister collectionDescriptor, CollectionInitializer<?> initializer, Object key, PersistentCollection<?> collectionInstance) -
Method Summary
Modifier and TypeMethodDescriptionvoidfinishLoading(ExecutionContext executionContext) Complete the loadThe descriptor for the collection being loadedThe collection instance being loadedAccess to the initializer that is responsible for initializing this collectiongetKey()The collection key.voidCallback for row loading.<T> voidload(T arg1, BiConsumer<T, List<Object>> loadingEntryConsumer) Callback for row loading.toString()
-
Constructor Details
-
LoadingCollectionEntryImpl
public LoadingCollectionEntryImpl(CollectionPersister collectionDescriptor, CollectionInitializer<?> initializer, Object key, PersistentCollection<?> collectionInstance)
-
-
Method Details
-
getCollectionDescriptor
Description copied from interface:LoadingCollectionEntryThe descriptor for the collection being loaded- Specified by:
getCollectionDescriptorin interfaceLoadingCollectionEntry
-
getInitializer
Access to the initializer that is responsible for initializing this collection- Specified by:
getInitializerin interfaceLoadingCollectionEntry
-
getKey
Description copied from interface:LoadingCollectionEntryThe collection key.- Specified by:
getKeyin interfaceLoadingCollectionEntry
-
getCollectionInstance
Description copied from interface:LoadingCollectionEntryThe collection instance being loaded- Specified by:
getCollectionInstancein interfaceLoadingCollectionEntry
-
load
Description copied from interface:LoadingCollectionEntryCallback for row loading. Allows delayed List creation- Specified by:
loadin interfaceLoadingCollectionEntry
-
load
Description copied from interface:LoadingCollectionEntryCallback for row loading. Allows delayed List creation- Specified by:
loadin interfaceLoadingCollectionEntry
-
finishLoading
Description copied from interface:LoadingCollectionEntryComplete the load- Specified by:
finishLoadingin interfaceLoadingCollectionEntry
-
toString
-