Interface LoadingCollectionEntry
-
- All Known Implementing Classes:
LoadingCollectionEntryImpl
public interface LoadingCollectionEntryRepresents a collection currently being loaded.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidfinishLoading(ExecutionContext executionContext)Complete the loadCollectionPersistergetCollectionDescriptor()The descriptor for the collection being loadedPersistentCollection<?>getCollectionInstance()The collection instance being loadedCollectionInitializer<?>getInitializer()The initializer responsible for the loadingObjectgetKey()The collection key.voidload(Consumer<List<Object>> loadingEntryConsumer)Callback for row loading.default <T> voidload(T arg1, BiConsumer<T,List<Object>> loadingEntryConsumer)Callback for row loading.
-
-
-
Method Detail
-
getCollectionDescriptor
CollectionPersister getCollectionDescriptor()
The descriptor for the collection being loaded
-
getInitializer
CollectionInitializer<?> getInitializer()
The initializer responsible for the loading
-
getKey
Object getKey()
The collection key.
-
getCollectionInstance
PersistentCollection<?> getCollectionInstance()
The collection instance being loaded
-
load
void load(Consumer<List<Object>> loadingEntryConsumer)
Callback for row loading. Allows delayed List creation
-
load
default <T> void load(T arg1, BiConsumer<T,List<Object>> loadingEntryConsumer)Callback for row loading. Allows delayed List creation
-
finishLoading
void finishLoading(ExecutionContext executionContext)
Complete the load
-
-