| Modifier and Type | Field and Description |
|---|---|
| private AssociationKey | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | OneToManyCollectionPart(CollectionPart.
|
| public | OneToManyCollectionPart(CollectionPart.
|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public <X, Y> int | breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.
Implements org. |
| public boolean | containsTableReference(String tableExpression)
Overrides org. Overrides default org. |
| public TableGroup | createAssociatedTableGroup(boolean canUseInnerJoins, NavigablePath append, boolean fetched, String sourceAlias, SqlAliasBase sqlAliasBase, SqlAstCreationState creationState)
|
| 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 boolean | finishInitialization(CollectionPersister collectionDescriptor, Collection bootValueMapping, String fkTargetModelPartName, MappingModelCreationProcess creationProcess)
Implements org. |
| public int | forEachSelectable(int offset, SelectableConsumer consumer)
Overrides default org. |
| public EntityCollectionPart. | |
| public String | getContainingTableExpression()
Implements org. |
| public SqlAstJoinType | getDefaultSqlAstJoinType(TableGroup parentTableGroup)
Implements org. |
| public JdbcMapping | getJdbcMapping(final int index)
Implements org. |
| public SelectableMapping | getSelectable(int columnIndex)
Implements org. |
| public boolean | |
| public boolean | isSimpleJoinPredicate(Predicate predicate)
Implements org. |
| protected AssociationKey |
| fetchAssociationKey | back to summary |
|---|---|
| private AssociationKey fetchAssociationKey | |
| mapKeyPropertyName | back to summary |
|---|---|
| private final String mapKeyPropertyName | |
| OneToManyCollectionPart | back to summary |
|---|---|
| public OneToManyCollectionPart(CollectionPart. | |
| OneToManyCollectionPart | back to summary |
|---|---|
| public OneToManyCollectionPart(CollectionPart. | |
| OneToManyCollectionPart | back to summary |
|---|---|
| protected OneToManyCollectionPart(OneToManyCollectionPart original) For Hibernate Reactive | |
| breakDownJdbcValues | back to summary |
|---|---|
| public <X, Y> int breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart. Implements org. Doc from org. Breaks down the domain value to its constituent JDBC values.
Think of it as breaking the multi-dimensional array into a visitable flat array.
Additionally, it passes through the values
| |
| containsTableReference | back to summary |
|---|---|
| public boolean containsTableReference(String tableExpression) Overrides org. Overrides default org.
| |
| createAssociatedTableGroup | back to summary |
|---|---|
| public TableGroup createAssociatedTableGroup(boolean canUseInnerJoins, NavigablePath append, boolean fetched, String sourceAlias, SqlAliasBase sqlAliasBase, SqlAstCreationState creationState) | |
| 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.
| |
| finishInitialization | back to summary |
|---|---|
| public boolean finishInitialization(CollectionPersister collectionDescriptor, Collection bootValueMapping, String fkTargetModelPartName, MappingModelCreationProcess creationProcess) Implements org. Doc from org. Perform any delayed initialization.
The initialization is considered successful if the result is
If the exception is something that will just never succeed, consider throwing
an exception with the
| |
| forEachSelectable | back to summary |
|---|---|
| public int forEachSelectable(int offset, SelectableConsumer consumer) Overrides default org. Doc from org. Visits each selectable mapping with the selectable index offset by the given value. Returns the amount of jdbc types that have been visited.
| |
| getCardinality | back to summary |
|---|---|
| public EntityCollectionPart. Implements org.
| |
| getContainingTableExpression | back to summary |
|---|---|
| public String getContainingTableExpression() Implements org. Doc from org. The table which contains the columns mapped by this value
| |
| getDefaultSqlAstJoinType | back to summary |
|---|---|
| public SqlAstJoinType getDefaultSqlAstJoinType(TableGroup parentTableGroup) Implements org.
| |
| getJdbcMapping | back to summary |
|---|---|
| public JdbcMapping getJdbcMapping(final int index) Implements org.
| |
| getSelectable | back to summary |
|---|---|
| public SelectableMapping getSelectable(int columnIndex) Implements org. Doc from org. Get the selectable at the given position
| |
| hasPartitionedSelectionMapping | back to summary |
|---|---|
| public boolean hasPartitionedSelectionMapping() Implements org.
| |
| isSimpleJoinPredicate | back to summary |
|---|---|
| public boolean isSimpleJoinPredicate(Predicate predicate) Implements org. Doc from org. Returns whether the given predicate is a simple join predicate for this attribute. This is useful to understand if a predicate has additional conjunctions other than the FK related predicate.
| |
| resolveFetchAssociationKey | back to summary |
|---|---|
| protected AssociationKey resolveFetchAssociationKey() Implements abstract org.
| |