Interface WhereRestrictable

All Known Subinterfaces:
CollectionPersister, EntityMappingType, EntityPersister, InFlightEntityMappingType, PluralAttributeMapping, Restrictable
All Known Implementing Classes:
AbstractCollectionPersister, AbstractEntityPersister, AnonymousTupleEntityValuedModelPart, BasicCollectionPersister, JoinedSubclassEntityPersister, MockCollectionPersister, MockEntityPersister, OneToManyPersister, PluralAttributeMappingImpl, ProcessorSessionFactory.ElementCollectionPersister, ProcessorSessionFactory.EntityPersister, ProcessorSessionFactory.ToManyAssociationPersister, SingleTableEntityPersister, UnionSubclassEntityPersister

public interface WhereRestrictable
Things which can have SQLRestriction declarations - entities and collections
See Also:
  • Method Details

    • hasWhereRestrictions

      boolean hasWhereRestrictions()
      Does this restrictable have a where restriction?
    • applyWhereRestrictions

      void applyWhereRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, SqlAstCreationState creationState)
      Apply the SQLRestriction restrictions