| Modifier and Type | Field and Description |
|---|---|
| private final CollectionPersister | |
| private final String | |
| private final EmbeddableMappingType | |
| private final CollectionPart. | |
| private final NavigableRole | |
| private final PropertyAccess | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | EmbeddedCollectionPart(CollectionPersister collectionDescriptor, CollectionPart.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | applySqlSelections(NavigablePath navigablePath, TableGroup tableGroup, DomainResultCreationState creationState)
Implements org. |
| public void | applySqlSelections(NavigablePath navigablePath, TableGroup tableGroup, DomainResultCreationState creationState, BiConsumer<SqlSelection, JdbcMapping> selectionConsumer)
Implements org. |
| public boolean | containsTableReference(String tableExpression)
Overrides default org. |
| public <T> DomainResult | createDomainResult(NavigablePath navigablePath, TableGroup tableGroup, String resultVariable, DomainResultCreationState creationState)
Implements org. |
| public TableGroup | createRootTableGroupJoin(NavigablePath
The NavigablePath to the join navigablePath, TableGroup The join's (L)eft-(H)and (S)ide lhs, String explicitSourceAlias, SqlAliasBase A specific SqlAliasBase to use. May be explicitSqlAliasBase, SqlAstJoinType null indicating one should be created using the SqlAliasBaseGenerator from creationStateAn explicit join-type. May be null to signal that the join is for an implicit path. sqlAstJoinType, boolean fetched, Consumer<Predicate> Consumer for additional predicates from the producer's mapping. predicateConsumer, SqlAstCreationState creationState)Implements org. |
| public TableGroupJoin | createTableGroupJoin(NavigablePath
The NavigablePath to the join navigablePath, TableGroup The join's (L)eft-(H)and (S)ide lhs, String explicitSourceAlias, SqlAliasBase A specific SqlAliasBase to use. May be explicitSqlAliasBase, SqlAstJoinType null indicating one should be created using the SqlAliasBaseGenerator from creationStateAn explicit join-type. May be null to signal that the join is for an implicit path. requestedJoinType, boolean fetched, boolean Indicates there are explicit, additional predicates (from an SQM tree ON/WITH clause) addsPredicate, SqlAstCreationState creationState)Implements org. |
| public EntityMappingType | |
| public ModelPart | findSubPart(String name, EntityMappingType treatTargetType)
Overrides default org. |
| public Fetch | generateFetch(FetchParent
The parent of the Fetch we are generating fetchParent, NavigablePath The overall path within the graph fetchablePath, FetchTiming The requested fetch timing fetchTiming, boolean selected, String resultVariable, DomainResultCreationState creationState)Implements org. |
| public String | getContainingTableExpression()
Implements org. |
| public EmbeddableMappingType | |
| public JavaType | |
| public int | getFetchableKey()
Implements org. FetchableContainer.
|
| public String | getFetchableName()
Implements org. |
| public FetchOptions | getMappedFetchOptions()
Implements org. |
| public CollectionPart. | |
| public NavigableRole | |
| public PropertyAccess | |
| public MappingType | getPartMappingType()
Implements org. |
| public String | getSqlAliasStem()
Implements org. Note that this is a metadata-ive value. |
| public FetchStyle | |
| public FetchTiming | |
| private TableGroup | |
| public SqlTuple | toSqlExpression(TableGroup tableGroup, Clause clause, SqmToSqlAstConverter walker, SqlAstCreationState sqlAstCreationState)
Implements org. |
| public String | |
| public void | visitSubParts(Consumer<ModelPart> consumer, EntityMappingType treatTargetType)
Overrides default org. |
| collectionDescriptor | back to summary |
|---|---|
| private final CollectionPersister collectionDescriptor | |
| containingTableExpression | back to summary |
|---|---|
| private final String containingTableExpression | |
| embeddableMappingType | back to summary |
|---|---|
| private final EmbeddableMappingType embeddableMappingType | |
| nature | back to summary |
|---|---|
| private final CollectionPart. | |
| navigableRole | back to summary |
|---|---|
| private final NavigableRole navigableRole | |
| parentInjectionAttributePropertyAccess | back to summary |
|---|---|
| private final PropertyAccess parentInjectionAttributePropertyAccess | |
| sqlAliasStem | back to summary |
|---|---|
| private final String sqlAliasStem | |
| EmbeddedCollectionPart | back to summary |
|---|---|
| public EmbeddedCollectionPart(CollectionPersister collectionDescriptor, CollectionPart. | |
| applySqlSelections | back to summary |
|---|---|
| public void applySqlSelections(NavigablePath navigablePath, TableGroup tableGroup, DomainResultCreationState creationState) Implements org. Doc from org. Apply SQL selections for a specific reference to this ModelPart outside the domain query's root select clause.
| |
| applySqlSelections | back to summary |
|---|---|
| public void applySqlSelections(NavigablePath navigablePath, TableGroup tableGroup, DomainResultCreationState creationState, BiConsumer<SqlSelection, JdbcMapping> selectionConsumer) Implements org. Doc from org. Apply SQL selections for a specific reference to this ModelPart outside the domain query's root select clause.
| |
| containsTableReference | back to summary |
|---|---|
| public boolean containsTableReference(String tableExpression) Overrides default org.
| |
| createDomainResult | back to summary |
|---|---|
| public <T> DomainResult Implements org. Doc from org. Create a DomainResult for a specific reference to this ModelPart.
| |
| createRootTableGroupJoin | back to summary |
|---|---|
| public TableGroup createRootTableGroupJoin(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstJoinType sqlAstJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAstCreationState creationState) Implements org. Doc from org. Create the "join", but return a TableGroup. Intended for creating sub-query correlations. E.g., given
from SomeEntity e
where exists (
select 1
from AnotherEntity a
where e.association.attr = 1
)
We call this for the `e.association` path.
| |
| createTableGroupJoin | back to summary |
|---|---|
| public TableGroupJoin createTableGroupJoin(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstJoinType requestedJoinType, boolean fetched, boolean addsPredicate, SqlAstCreationState creationState) Implements org. Doc from org. Create a TableGroupJoin.
| |
| findContainingEntityMapping | back to summary |
|---|---|
| public EntityMappingType findContainingEntityMapping() Implements org.
| |
| findSubPart | back to summary |
|---|---|
| public ModelPart findSubPart(String name, EntityMappingType treatTargetType) Overrides default org.
| |
| generateFetch | back to summary |
|---|---|
| public Fetch generateFetch(FetchParent fetchParent, NavigablePath fetchablePath, FetchTiming fetchTiming, boolean selected, String resultVariable, DomainResultCreationState creationState) Implements org. Doc from org. Generates a Fetch of this fetchable
| |
| getContainingTableExpression | back to summary |
|---|---|
| public String getContainingTableExpression() Implements org. Doc from org. The table which contains the columns mapped by this value
| |
| getEmbeddableTypeDescriptor | back to summary |
|---|---|
| public EmbeddableMappingType getEmbeddableTypeDescriptor() Implements org.
| |
| getExpressibleJavaType | back to summary |
|---|---|
| public JavaType Overrides default org. Implements org.
| |
| getFetchableKey | back to summary |
|---|---|
| public int getFetchableKey() Implements org. Doc from org. The key that identifies this Fetchable within a
The main intent of this key is to index e.g.
| |
| getFetchableName | back to summary |
|---|---|
| public String getFetchableName() Implements org. Doc from org. The name of the fetchable. This is the part's "local name".
| |
| getMappedFetchOptions | back to summary |
|---|---|
| public FetchOptions getMappedFetchOptions() Implements org. Doc from org. The configured fetch timing and style
| |
| getNature | back to summary |
|---|---|
| public CollectionPart. Implements org.
| |
| getNavigableRole | back to summary |
|---|---|
| public NavigableRole getNavigableRole() Implements org.
| |
| getParentInjectionAttributePropertyAccess | back to summary |
|---|---|
| public PropertyAccess getParentInjectionAttributePropertyAccess() Overrides default org.
| |
| getPartMappingType | back to summary |
|---|---|
| public MappingType getPartMappingType() Implements org. Doc from org. The type for this part.
| |
| getSqlAliasStem | back to summary |
|---|---|
| public String getSqlAliasStem() Implements org. Doc from org. Get the "stem" used as the base for generating SQL table aliases for table references that are part of the TableGroup being generated Note that this is a metadata-ive value. It is only ever used internal to the producer producing its TableGroup.
| |
| getStyle | back to summary |
|---|---|
| public FetchStyle getStyle() Implements org.
| |
| getTiming | back to summary |
|---|---|
| public FetchTiming getTiming() Implements org.
| |
| resolveTableGroup | back to summary |
|---|---|
| private TableGroup resolveTableGroup(NavigablePath fetchablePath, DomainResultCreationState creationState) | |
| toSqlExpression | back to summary |
|---|---|
| public SqlTuple toSqlExpression(TableGroup tableGroup, Clause clause, SqmToSqlAstConverter walker, SqlAstCreationState sqlAstCreationState) Implements org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| visitSubParts | back to summary |
|---|---|
| public void visitSubParts(Consumer<ModelPart> consumer, EntityMappingType treatTargetType) Overrides default org.
| |