Top Description Methods
org.hibernate.metamodel.mapping

public Interface WhereRestrictable

Known Direct Subinterfaces
org.hibernate.metamodel.mapping.Restrictable
Imports
java.util.function.Consumer, org.hibernate.sql.ast.spi.SqlAstCreationState, org.hibernate.sql.ast.tree.from.TableGroup, org.hibernate.sql.ast.tree.predicate.Predicate

Things which can have org.hibernate.annotations.Where declarations - entities and collections
See Also
FilterRestrictable

Method Summary

Modifier and TypeMethod and Description
public void
applyWhereRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, SqlAstCreationState creationState)

Apply the org.hibernate.annotations.Where restrictions

public boolean
hasWhereRestrictions()

Does this restrictable have a where restriction?

Method Detail

applyWhereRestrictionsback to summary
public void applyWhereRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, SqlAstCreationState creationState)

Apply the org.hibernate.annotations.Where restrictions

hasWhereRestrictionsback to summary
public boolean hasWhereRestrictions()

Does this restrictable have a where restriction?