Package org.hibernate.metamodel.mapping
Interface Discriminable
-
- All Known Subinterfaces:
DeprecatedEntityStuff
,DiscriminatedAssociationModelPart
,EntityMappingType
,EntityPersister
,InFlightEntityMappingType
,Loadable
,Lockable
,OuterJoinLoadable
,PostInsertIdentityPersister
,Queryable
,SQLLoadable
,UniqueKeyLoadable
- All Known Implementing Classes:
AbstractEntityPersister
,AnonymousTupleEntityValuedModelPart
,DiscriminatedAssociationAttributeMapping
,DiscriminatedCollectionPart
,JoinedSubclassEntityPersister
,MockEntityPersister
,ProcessorSessionFactory.EntityPersister
,SingleTableEntityPersister
,UnionSubclassEntityPersister
public interface Discriminable
Anything that has a discriminator associated with it.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
applyDiscriminator(Consumer<Predicate> predicateConsumer, String alias, TableGroup tableGroup, SqlAstCreationState creationState)
Apply the discriminator as a predicate via thepredicateConsumer
DiscriminatorMapping
getDiscriminatorMapping()
-
-
-
Method Detail
-
getDiscriminatorMapping
DiscriminatorMapping getDiscriminatorMapping()
-
applyDiscriminator
void applyDiscriminator(Consumer<Predicate> predicateConsumer, String alias, TableGroup tableGroup, SqlAstCreationState creationState)
Apply the discriminator as a predicate via thepredicateConsumer
-
-