| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class | |
| private abstract static class |
| Modifier and Type | Field and Description |
|---|---|
| private final JavaType | |
| private final AnyDiscriminatorPart | |
| private final FetchTiming | |
| private final BasicValuedModelPart | |
| private final DiscriminatedAssociationModelPart | |
| private final SessionFactoryImplementor | sessionFactory
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| Access | Constructor and Description |
|---|---|
| public | DiscriminatedAssociationMapping(DiscriminatedAssociationModelPart modelPart, AnyDiscriminatorPart discriminatorPart, BasicValuedModelPart keyPart, JavaType<?> baseAssociationJtd, FetchTiming fetchTiming, SessionFactoryImplementor sessionFactory)
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| baseAssociationJtd | back to summary |
|---|---|
| private final JavaType<?> baseAssociationJtd | |
| discriminatorPart | back to summary |
|---|---|
| private final AnyDiscriminatorPart discriminatorPart | |
| fetchTiming | back to summary |
|---|---|
| private final FetchTiming fetchTiming | |
| keyPart | back to summary |
|---|---|
| private final BasicValuedModelPart keyPart | |
| modelPart | back to summary |
|---|---|
| private final DiscriminatedAssociationModelPart modelPart | |
| sessionFactory | back to summary |
|---|---|
| private final SessionFactoryImplementor sessionFactory
Deprecated as a consequence of | |
| DiscriminatedAssociationMapping | back to summary |
|---|---|
| public DiscriminatedAssociationMapping(DiscriminatedAssociationModelPart modelPart, AnyDiscriminatorPart discriminatorPart, BasicValuedModelPart keyPart, JavaType<?> baseAssociationJtd, FetchTiming fetchTiming, SessionFactoryImplementor sessionFactory)
Deprecated as a consequence of | |
| breakDownJdbcValues | back to summary |
|---|---|
| public <X, Y> int breakDownJdbcValues(int offset, X x, Y y, Object domainValue, ModelPart. | |
| createDomainResult | back to summary |
|---|---|
| public <T> DomainResult | |
| decompose | back to summary |
|---|---|
| public <X, Y> int decompose(int offset, X x, Y y, Object domainValue, ModelPart. | |
| determineConcreteType | back to summary |
|---|---|
| private EntityMappingType determineConcreteType(Object entity, SharedSessionContractImplementor session) | |
| ensureMapped | back to summary |
|---|---|
| private void ensureMapped(EntityMappingType treatTarget) | |
| findSubPart | back to summary |
|---|---|
| public ModelPart findSubPart(String name, EntityMappingType treatTarget) | |
| from | back to summary |
|---|---|
| public static DiscriminatedAssociationMapping from(NavigableRole containerRole, JavaType<?> baseAssociationJtd, DiscriminatedAssociationModelPart declaringModelPart, AnyType anyType, Any bootValueMapping, MappingModelCreationProcess creationProcess) | |
| generateFetch | back to summary |
|---|---|
| public Fetch generateFetch(FetchParent fetchParent, NavigablePath fetchablePath, FetchTiming fetchTiming, boolean selected, String resultVariable, DomainResultCreationState creationState) | |
| getDiscriminatorPart | back to summary |
|---|---|
| public DiscriminatorMapping getDiscriminatorPart() | |
| getJavaType | back to summary |
|---|---|
| public JavaType | |
| getKeyPart | back to summary |
|---|---|
| public BasicValuedModelPart getKeyPart() | |
| getMappedJavaType | back to summary |
|---|---|
| public JavaType Implements org. Doc from org. The descriptor descriptor for the mapped Java type
| |
| getModelPart | back to summary |
|---|---|
| public DiscriminatedAssociationModelPart getModelPart() | |
| getPartMappingType | back to summary |
|---|---|
| public MappingType getPartMappingType() | |
| getStyle | back to summary |
|---|---|
| public FetchStyle getStyle() Implements org.
| |
| getTiming | back to summary |
|---|---|
| public FetchTiming getTiming() Implements org.
| |
| resolveAssociatedSubPart | back to summary |
|---|---|
| private ModelPart resolveAssociatedSubPart(String name, EntityMappingType entityMapping) | |
| resolveDiscriminatorValueToEntityMapping | back to summary |
|---|---|
| public Object resolveDiscriminatorValueToEntityMapping(EntityMappingType entityMappingType) | |
| resolveDiscriminatorValueToEntityMapping | back to summary |
|---|---|
| public EntityMappingType resolveDiscriminatorValueToEntityMapping(Object discriminatorValue) | |
| Modifier and Type | Field and Description |
|---|---|
| private final DomainResultAssembler | |
| private final boolean | |
| private final DiscriminatedAssociationModelPart | |
| private final NavigablePath | |
| private final DomainResultAssembler |
| Access | Constructor and Description |
|---|---|
| public | AnyResultAssembler(NavigablePath fetchedPath, DiscriminatedAssociationModelPart fetchedPart, boolean eager, DomainResultAssembler<?> discriminatorValueAssembler, DomainResultAssembler<?> keyValueAssembler)
|
| Modifier and Type | Method and Description |
|---|---|
| public T | assemble(RowProcessingState rowProcessingState, JdbcValuesSourceProcessingOptions options)
Implements org. |
| public JavaType | getAssembledJavaType()
Implements org. |
| public String |
| discriminatorValueAssembler | back to summary |
|---|---|
| private final DomainResultAssembler<?> discriminatorValueAssembler | |
| eager | back to summary |
|---|---|
| private final boolean eager | |
| fetchedPart | back to summary |
|---|---|
| private final DiscriminatedAssociationModelPart fetchedPart | |
| fetchedPath | back to summary |
|---|---|
| private final NavigablePath fetchedPath | |
| keyValueAssembler | back to summary |
|---|---|
| private final DomainResultAssembler<?> keyValueAssembler | |
| AnyResultAssembler | back to summary |
|---|---|
| public AnyResultAssembler(NavigablePath fetchedPath, DiscriminatedAssociationModelPart fetchedPart, boolean eager, DomainResultAssembler<?> discriminatorValueAssembler, DomainResultAssembler<?> keyValueAssembler) | |
| assemble | back to summary |
|---|---|
| public T assemble(RowProcessingState rowProcessingState, JdbcValuesSourceProcessingOptions options) Implements org. Doc from org. The main "assembly" contract. Assemble the result and return it.
| |
| getAssembledJavaType | back to summary |
|---|---|
| public JavaType Implements org. Doc from org. The JavaType describing the Java type that this assembler assembles.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| private final FetchParent | |
| private final FetchTiming |
| Access | Constructor and Description |
|---|---|
| public | AnyValuedFetch(NavigablePath navigablePath, JavaType<?> baseAssociationJtd, DiscriminatedAssociationModelPart fetchedPart, FetchTiming fetchTiming, FetchParent fetchParent, DomainResultCreationState creationState)
|
| Modifier and Type | Method and Description |
|---|---|
| public FetchParent | asFetchParent()
Overrides default org. instanceof checks.
|
| public DomainResultAssembler | createAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)
Implements org. |
| public DiscriminatedAssociationModelPart | getFetchedMapping()
Implements org. |
| public FetchParent | getFetchParent()
Implements org. |
| public FetchTiming | |
| public boolean | hasTableGroup()
Implements org. |
| fetchParent | back to summary |
|---|---|
| private final FetchParent fetchParent | |
| fetchTiming | back to summary |
|---|---|
| private final FetchTiming fetchTiming | |
| AnyValuedFetch | back to summary |
|---|---|
| public AnyValuedFetch(NavigablePath navigablePath, JavaType<?> baseAssociationJtd, DiscriminatedAssociationModelPart fetchedPart, FetchTiming fetchTiming, FetchParent fetchParent, DomainResultCreationState creationState) | |
| asFetchParent | back to summary |
|---|---|
| public FetchParent asFetchParent() Overrides default org. Doc from org. Utility method to avoid
| |
| createAssembler | back to summary |
|---|---|
| public DomainResultAssembler Implements org. Doc from org. Create the assembler for this fetch
| |
| getFetchedMapping | back to summary |
|---|---|
| public DiscriminatedAssociationModelPart getFetchedMapping() Implements org. Doc from org. The value mapping being fetched
| |
| getFetchParent | back to summary |
|---|---|
| public FetchParent getFetchParent() Implements org. Doc from org. Obtain the owner of this fetch. Ultimately used to identify the thing that "owns" this fetched navigable for the purpose of:
* identifying the associated owner reference as we process the fetch
* inject the fetched instance into the parent and potentially inject
the parent reference into the fetched instance if it defines
such injection (e.g.
| |
| getTiming | back to summary |
|---|---|
| public FetchTiming getTiming() Implements org. Doc from org. immediate or delayed? todo (6.0) : should we also expose the fetch-style? Perhaps the fetch-options?
| |
| hasTableGroup | back to summary |
|---|---|
| public boolean hasTableGroup() Implements org. Doc from org. Is the TableGroup associated with this Fetch defined?
| |
| Modifier and Type | Field and Description |
|---|---|
| private final String |
| Access | Constructor and Description |
|---|---|
| public | AnyValuedResult(NavigablePath navigablePath, JavaType<?> baseAssociationJtd, DiscriminatedAssociationModelPart fetchedPart, String resultVariable, DomainResultCreationState creationState)
|
| Modifier and Type | Method and Description |
|---|---|
| public DomainResultAssembler | createResultAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)
Implements org. |
| public String | getResultVariable()
Implements org. |
| resultVariable | back to summary |
|---|---|
| private final String resultVariable | |
| AnyValuedResult | back to summary |
|---|---|
| public AnyValuedResult(NavigablePath navigablePath, JavaType<?> baseAssociationJtd, DiscriminatedAssociationModelPart fetchedPart, String resultVariable, DomainResultCreationState creationState) | |
| createResultAssembler | back to summary |
|---|---|
| public DomainResultAssembler Implements org. Doc from org. Create an assembler (and any initializers) for this result.
| |
| getResultVariable | back to summary |
|---|---|
| public String getResultVariable() Implements org. Doc from org. The result-variable (alias) associated with this result.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final JavaType | |
| private Fetch | |
| private ImmutableFetchList | |
| private final DiscriminatedAssociationModelPart | |
| private Fetch | |
| private final NavigablePath |
| Access | Constructor and Description |
|---|---|
| public | AnyValuedResultGraphNode(NavigablePath navigablePath, DiscriminatedAssociationModelPart graphedPart, JavaType<?> baseAssociationJtd)
|
| baseAssociationJtd | back to summary |
|---|---|
| private final JavaType<?> baseAssociationJtd | |
| discriminatorValueFetch | back to summary |
|---|---|
| private Fetch discriminatorValueFetch | |
| fetches | back to summary |
|---|---|
| private ImmutableFetchList fetches | |
| graphedPart | back to summary |
|---|---|
| private final DiscriminatedAssociationModelPart graphedPart | |
| keyValueFetch | back to summary |
|---|---|
| private Fetch keyValueFetch | |
| navigablePath | back to summary |
|---|---|
| private final NavigablePath navigablePath | |
| AnyValuedResultGraphNode | back to summary |
|---|---|
| public AnyValuedResultGraphNode(NavigablePath navigablePath, DiscriminatedAssociationModelPart graphedPart, JavaType<?> baseAssociationJtd) | |
| afterInitialize | back to summary |
|---|---|
| protected void afterInitialize(DomainResultCreationState creationState) | |
| containsAnyNonScalarResults | back to summary |
|---|---|
| public boolean containsAnyNonScalarResults() Overrides default org. Doc from org. Does this node contain any non-scalar (sub-)results?
| |
| containsCollectionFetches | back to summary |
|---|---|
| public boolean containsCollectionFetches() Implements org.
| |
| findFetch | back to summary |
|---|---|
| public Fetch findFetch(Fetchable fetchable) Implements org.
| |
| getBaseAssociationJtd | back to summary |
|---|---|
| public JavaType | |
| getDiscriminatorValueFetch | back to summary |
|---|---|
| public Fetch getDiscriminatorValueFetch() | |
| getFetches | back to summary |
|---|---|
| public ImmutableFetchList getFetches() Implements org. Doc from org. Retrieve the fetches owned by this fetch source.
| |
| getKeyValueFetch | back to summary |
|---|---|
| public Fetch getKeyValueFetch() | |
| getNavigablePath | back to summary |
|---|---|
| public NavigablePath getNavigablePath() Overrides default org. Implements org. Doc from org. The NavigablePath for this node (if one!). Certain nodes will not have a NavigablePath, namely those not associated with a Navigable
| |
| getReferencedMappingContainer | back to summary |
|---|---|
| public DiscriminatedAssociationModelPart getReferencedMappingContainer() Implements org. Doc from org. This parent's mapping type
| |
| getReferencedMappingType | back to summary |
|---|---|
| public DiscriminatedAssociationModelPart getReferencedMappingType() Implements org. Doc from org. This parent's mapping type
| |
| getResultJavaType | back to summary |
|---|---|
| public JavaType Implements org.
| |
| hasJoinFetches | back to summary |
|---|---|
| public boolean hasJoinFetches() Implements org.
| |