| Modifier and Type | Class and Description |
|---|---|
| public static interface | PluralAttributeMappingImpl.Aware
Allows callback after creation of the attribute mapping. |
| Modifier and Type | Field and Description |
|---|---|
| private final AttributeMetadata | |
| private final String | |
| private final CollectionPersister | |
| private final CollectionMappingType | |
| private final CollectionPart | |
| private final FetchStyle | |
| private final FetchTiming | |
| private ForeignKeyDescriptor | |
| private Boolean | |
| private final CollectionIdentifierDescriptor | |
| private final CollectionPart | |
| private final PluralAttributeMapping. | |
| private static final Logger | |
| private OrderByFragment | |
| private final String | |
| private OrderByFragment | |
| private final PropertyAccess | |
| private final String | |
| private final String | |
| private final SoftDeleteMapping | |
| private final String | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | PluralAttributeMappingImpl(String attributeName, Collection bootDescriptor, PropertyAccess propertyAccess, AttributeMetadata attributeMetadata, CollectionMappingType<?> collectionMappingType, int stateArrayPosition, int fetchableIndex, CollectionPart elementDescriptor, CollectionPart indexDescriptor, CollectionIdentifierDescriptor identifierDescriptor, FetchTiming fetchTiming, FetchStyle fetchStyle, CascadeStyle cascadeStyle, ManagedMappingType declaringType, CollectionPersister collectionDescriptor, MappingModelCreationProcess creationProcess)
|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | addToCacheKey(MutableCacheKeyBuilder
the MutableCacheKey used to add the disassembled value and the hashCode cacheKey, Object the value to disassemble value, SharedSessionContractImplementor the SharedSessionContractImplementor session)Implements org. |
| private void | applySoftDeleteRestriction(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, SqlAstCreationState creationState)
|
| public void | applySoftDeleteRestrictions(TableGroup tableGroup, PluralAttributeMapping.
Implements org. |
| 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 <X, Y> int | breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.
Implements org. |
| protected Fetch | buildDelayedCollectionFetch(NavigablePath fetchedPath, PluralAttributeMapping fetchedAttribute, FetchParent fetchParent, DomainResult<?> collectionKeyResult)
For Hibernate Reactive |
| protected Fetch | buildEagerCollectionFetch(NavigablePath fetchedPath, PluralAttributeMapping fetchedAttribute, TableGroup collectionTableGroup, FetchParent fetchParent, DomainResultCreationState creationState)
For Hibernate Reactive |
| protected Fetch | buildSelectEagerCollectionFetch(NavigablePath fetchedPath, PluralAttributeMapping fetchedAttribute, DomainResult<?> collectionKeyDomainResult, FetchParent fetchParent)
For Hibernate Reactive |
| public boolean | containsTableReference(String tableExpression)
Overrides default org. |
| private TableGroup | createCollectionTableGroup(boolean canUseInnerJoins, SqlAstJoinType joinType, NavigablePath navigablePath, boolean fetched, boolean addsPredicate, String sourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstCreationState creationState)
|
| private Fetch | createDelayedCollectionFetch(FetchParent fetchParent, NavigablePath fetchablePath, DomainResultCreationState creationState, SqlAstCreationState sqlAstCreationState)
|
| public <T> DomainResult | createDomainResult(NavigablePath navigablePath, TableGroup tableGroup, String resultVariable, DomainResultCreationState creationState)
Implements org. |
| private TableGroup | createOneToManyTableGroup(boolean canUseInnerJoins, NavigablePath navigablePath, boolean fetched, String sourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstCreationState creationState)
|
| public TableGroup | createRootTableGroup(boolean
Whether inner joins can be used when creating table-references within this group canUseInnerJoins, NavigablePath The overall NavigablePath for the root navigablePath, String The alias, if one, explicitly provided by the application for this root explicitSourceAlias, SqlAliasBase A specific SqlAliasBase to use. May be explicitSqlAliasBase, Supplier<Consumer<Predicate>> null indicating one should be created using the SqlAliasBaseGenerator from creationStateCollector for additional predicates associated with this producer additionalPredicateCollectorAccess, SqlAstCreationState The creation state 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. requestedJoinType, boolean fetched, Consumer<Predicate> Consumer for additional predicates from the producer's mapping. predicateConsumer, SqlAstCreationState creationState)Implements org. |
| private TableGroup | createRootTableGroupJoin(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstJoinType requestedJoinType, boolean fetched, boolean addsPredicate, Consumer<Predicate> predicateConsumer, SqlAstCreationState creationState)
|
| private Fetch | createSelectEagerCollectionFetch(FetchParent fetchParent, NavigablePath fetchablePath, DomainResultCreationState creationState, SqlAstCreationState sqlAstCreationState)
|
| 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 SqlAstJoinType | determineSqlJoinType(TableGroup lhs, SqlAstJoinType requestedJoinType, boolean fetched)
Overrides default org. |
| public Object | disassemble(Object value, SharedSessionContractImplementor session)
Implements org. J into its simple pieces.
|
| public ModelPart | findSubPart(String name, EntityMappingType treatTargetType)
Implements org. |
| public void | finishInitialization(Property bootProperty, Collection bootDescriptor, MappingModelCreationProcess creationProcess)
|
| public <X, Y> int | forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.
Implements org. forEachDisassembledJdbcValue(Object, Object, Object, JdbcValuesBiConsumer, SharedSessionContractImplementor),
but additionally receives an offset by which the selectionIndex is incremented when calling JdbcValuesBiConsumer#consume(int, Object, Object, Object, JdbcMapping).
|
| public int | forEachJdbcType(int offset, IndexedConsumer<JdbcMapping> action)
Implements org. |
| public void | forEachSubPart(IndexedConsumer<ModelPart> consumer, EntityMappingType treatTarget)
Implements 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 AttributeMetadata | getAttributeMetadata()
Implements org. |
| public int | |
| public CollectionPersister | |
| public String | getContainingTableExpression()
Implements org. |
| public SqlAstJoinType | getDefaultSqlAstJoinType(TableGroup parentTableGroup)
Implements org. |
| public CollectionPart | |
| public String | getFetchableName()
Implements org. |
| public Generator | getGenerator()
Implements org. |
| public CollectionIdentifierDescriptor | |
| public CollectionPart | |
| public PluralAttributeMapping. | |
| public JdbcMapping | getJdbcMapping(int index)
Implements org. |
| public int | getJdbcTypeCount()
Overrides default org. |
| public ForeignKeyDescriptor | |
| public OrderByFragment | |
| public FetchOptions | getMappedFetchOptions()
Implements org. |
| public CollectionMappingType | getMappedType()
Implements org. |
| public NavigableRole | |
| public OrderByFragment | |
| public PropertyAccess | getPropertyAccess()
Implements org. |
| public String | getRootPathName()
Implements org. |
| public SelectableMapping | getSelectable(int columnIndex)
Implements org. |
| public String | |
| public SoftDeleteMapping | getSoftDeleteMapping()
Overrides default org. null if soft-delete not defined
|
| public TableDetails | |
| public String | getSqlAliasStem()
Implements org. Note that this is a metadata-ive value. |
| public int | getStateArrayPosition()
Implements org. |
| public FetchStyle | |
| public FetchTiming | |
| public boolean | |
| private boolean | |
| private static void | injectAttributeMapping(CollectionPart elementDescriptor, CollectionPart indexDescriptor, CollectionPersister collectionDescriptor, PluralAttributeMapping mapping)
|
| public boolean | isAffectedByEnabledFetchProfiles(LoadQueryInfluencers influencers)
Implements org. |
| public boolean | isAffectedByEnabledFilters(LoadQueryInfluencers influencers)
Implements org. |
| public boolean | isAffectedByEntityGraph(LoadQueryInfluencers influencers)
Implements org. |
| public boolean | isBidirectionalAttributeName(NavigablePath fetchablePath, ToOneAttributeMapping modelPart)
Implements org. |
| public boolean | isSimpleJoinPredicate(Predicate predicate)
Implements org. |
| public void | registerAffectingFetchProfile(String fetchProfileName)
Implements org. |
| public Fetch | resolveCircularFetch(NavigablePath
The overall path within the graph fetchablePath, FetchParent fetchParent, FetchTiming fetchTiming, DomainResultCreationState creationState)Overrides default org. |
| private TableGroup | resolveCollectionTableGroup(FetchParent fetchParent, NavigablePath fetchablePath, DomainResultCreationState creationState, SqlAstCreationState sqlAstCreationState)
|
| public void | |
| public String | |
| public void | visitSubParts(Consumer<ModelPart> consumer, EntityMappingType treatTargetType)
Implements org. |