Interface LoadedValuesCollector
public interface LoadedValuesCollector
Used to collect entity and collection values which are loaded as part of
JdbcValues processing.
Kept as part of JdbcValuesSourceProcessingState
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordDetails about a loaded collection.static final recordDetails about a loaded entity.static interface -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clears the state of the collector.Access to all collection loaded.Access to all root entities loaded.voidregisterCollection(NavigablePath navigablePath, PluralAttributeMapping collectionDescriptor, CollectionKey collectionKey) Register a loading collection.voidregisterEntity(NavigablePath navigablePath, EntityMappingType entityDescriptor, EntityKey entityKey) Register a loading entity.
-
Method Details
-
clear
void clear()Clears the state of the collector.- Implementation Specification:
- In some cases, the collector may be cached as part of a JdbcSelect being cached (see JdbcSelect.getLoadedValuesCollector(). This method allows clearing of the internal state after execution of the JdbcSelect.
-
getCollectedEntities
List<LoadedValuesCollector.LoadedEntityRegistration> getCollectedEntities()Access to all root entities loaded. -
getCollectedCollections
List<LoadedValuesCollector.LoadedCollectionRegistration> getCollectedCollections()Access to all collection loaded.