Top Description Methods
org.hibernate.sql.results.graph.collection

public Interface LoadingCollectionEntry

Known Direct Implementers
org.hibernate.sql.results.internal.LoadingCollectionEntryImpl
Imports
java.util.List, java.util.function.Consumer, org.hibernate.collection.spi.PersistentCollection, org.hibernate.persister.collection.CollectionPersister, org.hibernate.sql.exec.spi.ExecutionContext

Represents a collection currently being loaded.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public void
finishLoading(ExecutionContext executionContext)

Complete the load

public CollectionPersister
getCollectionDescriptor()

The descriptor for the collection being loaded

public PersistentCollection<?>
getCollectionInstance()

The collection instance being loaded

public CollectionInitializer
getInitializer()

The initializer responsible for the loading

public Object
getKey()

The collection key.

public void
load(Consumer<List<Object>> loadingEntryConsumer)

Callback for row loading.

Method Detail

finishLoadingback to summary
public void finishLoading(ExecutionContext executionContext)

Complete the load

getCollectionDescriptorback to summary
public CollectionPersister getCollectionDescriptor()

The descriptor for the collection being loaded

getCollectionInstanceback to summary
public PersistentCollection<?> getCollectionInstance()

The collection instance being loaded

getInitializerback to summary
public CollectionInitializer getInitializer()

The initializer responsible for the loading

getKeyback to summary
public Object getKey()

The collection key.

loadback to summary
public void load(Consumer<List<Object>> loadingEntryConsumer)

Callback for row loading. Allows delayed List creation