Interface LoadingCollectionEntry
- All Known Implementing Classes:
LoadingCollectionEntryImpl
public interface LoadingCollectionEntry
Represents a collection currently being loaded.
-
Method Summary
Modifier and TypeMethodDescriptionvoidfinishLoading(ExecutionContext executionContext) Complete the loadThe descriptor for the collection being loadedThe collection instance being loadedThe initializer responsible for the loadinggetKey()The collection key.voidCallback for row loading.default <T> voidload(T arg1, BiConsumer<T, List<Object>> loadingEntryConsumer) Callback for row loading.
-
Method Details
-
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
Callback for row loading. Allows delayed List creation -
load
Callback for row loading. Allows delayed List creation -
finishLoading
Complete the load
-