org.hibernate.annotations.Any
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final DiscriminatedAssociationMapping | |
| private final NavigableRole | |
| private final SessionFactoryImplementor | sessionFactory
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| Access | Constructor and Description |
|---|---|
| public | DiscriminatedAssociationAttributeMapping(NavigableRole attributeRole, JavaType<?> baseAssociationJtd, ManagedMappingType declaringType, int stateArrayPosition, int fetchableIndex, AttributeMetadata attributeMetadata, FetchTiming fetchTiming, PropertyAccess propertyAccess, Property bootProperty, AnyType anyType, Any bootValueMapping, MappingModelCreationProcess creationProcess)
|
| 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. |
| public void | applyDiscriminator(Consumer<Predicate> predicateConsumer, String alias, TableGroup tableGroup, SqlAstCreationState creationState)
Implements org. predicateConsumer
|
| 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. |
| 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 <X, Y> int | decompose(Object domainValue, int offset, X x, Y y, ModelPart.
Overrides default org. breakDownJdbcValues(Object, int, Object, Object, JdbcValueBiConsumer, SharedSessionContractImplementor),
but this method is supposed to be used for decomposing values for assignment expressions.
|
| private EntityMappingType | |
| public Object | disassemble(Object value, SharedSessionContractImplementor session)
Implements org. J into its simple pieces.
|
| public ModelPart | findSubPart(String name, EntityMappingType treatTargetType)
Implements org. |
| 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(IndexedConsumer<JdbcMapping> action)
Overrides default org. |
| public int | forEachJdbcType(int offset, IndexedConsumer<JdbcMapping> action)
Implements org. |
| public int | forEachSelectable(int offset, SelectableConsumer consumer)
Overrides default 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 String | getContainingTableExpression()
Implements org. |
| public SqlAstJoinType | getDefaultSqlAstJoinType(TableGroup parentTableGroup)
Implements org. |
| public DiscriminatorMapping | |
| public Fetchable | getFetchable(int position)
Overrides default org. |
| public JdbcMapping | getJdbcMapping(final int index)
Implements org. |
| public int | getJdbcTypeCount()
Overrides default org. |
| public BasicValuedModelPart | |
| public MappingType | getMappedType()
Implements org. |
| public NavigableRole | |
| public int | getNumberOfFetchables()
Implements org. |
| public SelectableMapping | getSelectable(int columnIndex)
Implements org. |
| public String | getSqlAliasStem()
Implements org. Note that this is a metadata-ive value. |
| public boolean | |
| public Object | |
| public EntityMappingType | resolveDiscriminatorValue(Object discriminatorValue)
Implements org. |
| public String | |
| public void | visitFetchables(Consumer<? super Fetchable> fetchableConsumer, EntityMappingType treatTargetType)
Overrides default org. |
| public void | visitFetchables(IndexedConsumer<? super Fetchable> fetchableConsumer, EntityMappingType treatTargetType)
Overrides default org. |
| public void | visitSubParts(Consumer<ModelPart> consumer, EntityMappingType treatTargetType)
Implements org. |