Class CollectionLoaderSubSelectFetch
- java.lang.Object
-
- org.hibernate.loader.ast.internal.CollectionLoaderSubSelectFetch
-
- All Implemented Interfaces:
CollectionLoader
,Loader
public class CollectionLoaderSubSelectFetch extends Object implements CollectionLoader
A one-time useCollectionLoader
for applying a subselect fetch.
-
-
Constructor Summary
Constructors Constructor Description CollectionLoaderSubSelectFetch(PluralAttributeMapping attributeMapping, DomainResult<?> cachedDomainResult, SubselectFetch subselect, SharedSessionContractImplementor session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PluralAttributeMapping
getLoadable()
The value-mapping loaded by this loaderprotected SelectStatement
getSqlAst()
PersistentCollection<?>
load(Object triggerKey, SharedSessionContractImplementor session)
Load a collection by its key (not necessarily the same as its owner's PK).
-
-
-
Constructor Detail
-
CollectionLoaderSubSelectFetch
public CollectionLoaderSubSelectFetch(PluralAttributeMapping attributeMapping, DomainResult<?> cachedDomainResult, SubselectFetch subselect, SharedSessionContractImplementor session)
-
-
Method Detail
-
getLoadable
public PluralAttributeMapping getLoadable()
Description copied from interface:Loader
The value-mapping loaded by this loader- Specified by:
getLoadable
in interfaceCollectionLoader
- Specified by:
getLoadable
in interfaceLoader
-
getSqlAst
protected SelectStatement getSqlAst()
-
load
public PersistentCollection<?> load(Object triggerKey, SharedSessionContractImplementor session)
Description copied from interface:CollectionLoader
Load a collection by its key (not necessarily the same as its owner's PK).- Specified by:
load
in interfaceCollectionLoader
-
-