Package org.hibernate.metamodel.mapping
Interface DiscriminatedAssociationModelPart
-
- All Superinterfaces:
Bindable
,Discriminable
,Fetchable
,FetchableContainer
,JdbcMappingContainer
,MappingModelExpressible
,ModelPart
,ModelPartContainer
,TableGroupJoinProducer
,TableGroupProducer
- All Known Implementing Classes:
DiscriminatedAssociationAttributeMapping
,DiscriminatedCollectionPart
public interface DiscriminatedAssociationModelPart extends Discriminable, Fetchable, FetchableContainer, TableGroupJoinProducer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.Bindable
Bindable.JdbcValuesBiConsumer<X,Y>, Bindable.JdbcValuesConsumer
-
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.ModelPart
ModelPart.JdbcValueBiConsumer<X,Y>, ModelPart.JdbcValueConsumer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default BasicValuedModelPart
getDiscriminatorPart()
Deprecated, for removal: This API element is subject to removal in a future version.UseDiscriminable.getDiscriminatorMapping()
instead.BasicValuedModelPart
getKeyPart()
default boolean
isSimpleJoinPredicate(Predicate predicate)
Returns whether the given predicate is a simple join predicate for this attribute.Object
resolveDiscriminatorForEntityType(EntityMappingType entityMappingType)
EntityMappingType
resolveDiscriminatorValue(Object discriminatorValue)
-
Methods inherited from interface org.hibernate.metamodel.mapping.Bindable
addToCacheKey, disassemble, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, getJdbcTypeCount
-
Methods inherited from interface org.hibernate.metamodel.mapping.Discriminable
applyDiscriminator, getDiscriminatorMapping
-
Methods inherited from interface org.hibernate.sql.results.graph.Fetchable
asAttributeMapping, generateFetch, getFetchableKey, getFetchableName, getMappedFetchOptions, incrementFetchDepth, isSelectable, resolveCircularFetch
-
Methods inherited from interface org.hibernate.sql.results.graph.FetchableContainer
getFetchable, getKeyFetchable, getNumberOfFetchableKeys, getNumberOfFetchables, getNumberOfKeyFetchables, getSelectableIndex, visitFetchables, visitFetchables, visitFetchables, visitKeyFetchables, visitKeyFetchables, visitKeyFetchables
-
Methods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer
forEachJdbcType, getJdbcMapping, getSingleJdbcMapping
-
Methods inherited from interface org.hibernate.metamodel.mapping.ModelPart
applySqlSelections, applySqlSelections, areEqual, asBasicValuedModelPart, asEntityMappingType, breakDownJdbcValues, breakDownJdbcValues, createDomainResult, decompose, decompose, findContainingEntityMapping, forEachSelectable, forEachSelectable, getJavaType, getNavigableRole, getPartMappingType, getPartName, hasPartitionedSelectionMapping, isEntityIdentifierMapping, isVirtual
-
Methods inherited from interface org.hibernate.metamodel.mapping.ModelPartContainer
findByPath, findByPath, findSubPart, forEachSubPart, forEachSubPart, visitSubParts
-
Methods inherited from interface org.hibernate.sql.ast.tree.from.TableGroupJoinProducer
createRootTableGroupJoin, createTableGroupJoin, determineSqlJoinType, getDefaultSqlAstJoinType
-
Methods inherited from interface org.hibernate.sql.ast.tree.from.TableGroupProducer
containsTableReference, getSqlAliasStem
-
-
-
-
Method Detail
-
getDiscriminatorPart
@Deprecated(since="6.2", forRemoval=true) default BasicValuedModelPart getDiscriminatorPart()
Deprecated, for removal: This API element is subject to removal in a future version.UseDiscriminable.getDiscriminatorMapping()
instead.
-
getKeyPart
BasicValuedModelPart getKeyPart()
-
resolveDiscriminatorValue
EntityMappingType resolveDiscriminatorValue(Object discriminatorValue)
-
resolveDiscriminatorForEntityType
Object resolveDiscriminatorForEntityType(EntityMappingType entityMappingType)
-
isSimpleJoinPredicate
default boolean isSimpleJoinPredicate(Predicate predicate)
Description copied from interface:TableGroupJoinProducer
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.- Specified by:
isSimpleJoinPredicate
in interfaceTableGroupJoinProducer
-
-