Top Description Methods
org.hibernate.metamodel.mapping

public Interface Restrictable

extends FilterRestrictable, WhereRestrictable
Known Direct Subinterfaces
org.hibernate.persister.collection.CollectionPersister, org.hibernate.persister.entity.Joinable, org.hibernate.metamodel.mapping.EntityMappingType, org.hibernate.metamodel.mapping.PluralAttributeMapping
Imports
java.util.Map, .Set, java.util.function.Consumer, org.hibernate.Filter, org.hibernate.sql.ast.spi.SqlAstCreationState, org.hibernate.sql.ast.tree.from.TableGroup, org.hibernate.sql.ast.tree.predicate.Predicate

Things that can have org.hibernate.annotations.Where, and/or org.hibernate.annotations.Filter applied to them. This is effectively entities and plural attributes.

Method Summary

Modifier and TypeMethod and Description
public void
applyBaseRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState)

Applies the base set of restrictions.

Inherited from org.hibernate.metamodel.mapping.FilterRestrictable:
applyFilterRestrictions
Inherited from org.hibernate.metamodel.mapping.WhereRestrictable:
applyWhereRestrictionshasWhereRestrictions

Method Detail

applyBaseRestrictionsback to summary
public void applyBaseRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState)

Applies the base set of restrictions.