CollectionLoader for applying a subselect fetch.
| Modifier and Type | Field and Description |
|---|---|
| private final PluralAttributeMapping | |
| private final SelectStatement | |
| private final SubselectFetch |
| Access | Constructor and Description |
|---|---|
| public | CollectionLoaderSubSelectFetch(PluralAttributeMapping attributeMapping, DomainResult<?> cachedDomainResult, SubselectFetch subselect, SharedSessionContractImplementor session)
|
| Modifier and Type | Method and Description |
|---|---|
| public PluralAttributeMapping | getLoadable()
Implements org. |
| protected SelectStatement | |
| public PersistentCollection | load(Object triggerKey, SharedSessionContractImplementor session)
Implements org. |
| attributeMapping | back to summary |
|---|---|
| private final PluralAttributeMapping attributeMapping | |
| sqlAst | back to summary |
|---|---|
| private final SelectStatement sqlAst | |
| subselect | back to summary |
|---|---|
| private final SubselectFetch subselect | |
| CollectionLoaderSubSelectFetch | back to summary |
|---|---|
| public CollectionLoaderSubSelectFetch(PluralAttributeMapping attributeMapping, DomainResult<?> cachedDomainResult, SubselectFetch subselect, SharedSessionContractImplementor session) | |
| getLoadable | back to summary |
|---|---|
| public PluralAttributeMapping getLoadable() Implements org. Doc from org. The value-mapping loaded by this loader
| |
| getSqlAst | back to summary |
|---|---|
| protected SelectStatement getSqlAst() | |
| load | back to summary |
|---|---|
| public PersistentCollection Implements org. Doc from org. Load a collection by its key (not necessarily the same as its owner's PK).
| |