Package org.hibernate.metamodel.mapping
Interface Restrictable
- All Superinterfaces:
FilterRestrictable,WhereRestrictable
- All Known Subinterfaces:
CollectionPersister,EntityMappingType,EntityPersister,InFlightEntityMappingType,PluralAttributeMapping
- All Known Implementing Classes:
AbstractCollectionPersister,AbstractEntityPersister,AnonymousTupleEntityValuedModelPart,BasicCollectionPersister,JoinedSubclassEntityPersister,OneToManyPersister,PluralAttributeMappingImpl,SingleTableEntityPersister,UnionSubclassEntityPersister
Things that can have
SQLRestriction,
and/or Filter applied to them.
This is effectively entities and
plural attributes.-
Method Summary
Modifier and TypeMethodDescriptionvoidapplyBaseRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) Applies the base set of restrictions.default voidapplyBaseRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from interface org.hibernate.metamodel.mapping.FilterRestrictable
applyFilterRestrictions, applyFilterRestrictionsMethods inherited from interface org.hibernate.metamodel.mapping.WhereRestrictable
applyWhereRestrictions, hasWhereRestrictions
-
Method Details
-
applyBaseRestrictions
@Deprecated(forRemoval=true) default void applyBaseRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) Deprecated, for removal: This API element is subject to removal in a future version.Applies the base set of restrictions. -
applyBaseRestrictions
void applyBaseRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) Applies the base set of restrictions.
-
applyBaseRestrictions(Consumer, TableGroup, boolean, Map, boolean, Set, SqlAstCreationState)instead