java.lang.Object | |
↳ | org.hibernate.criterion.Restrictions |
Known Direct Subclasses |
The criterion package may be used by applications as a framework for building new kinds of Criterion. However, it is intended that most applications will simply use the built-in criterion types via the static factory methods of this class.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Apply an "equals" constraint to each property in the
key set of a Map
| |||||||||||
Return the conjuction of two expressions
| |||||||||||
Apply a "between" constraint to the named property
| |||||||||||
Group expressions together in a single conjunction (A and B and C...)
| |||||||||||
Group expressions together in a single disjunction (A or B or C...)
| |||||||||||
Apply an "equal" constraint to the named property
| |||||||||||
Apply an "equal" constraint to two properties
| |||||||||||
Apply a "greater than or equal" constraint to the named property
| |||||||||||
Apply a "greater than or equal" constraint to two properties
| |||||||||||
Apply a "greater than" constraint to the named property
| |||||||||||
Apply a "greater than" constraint to two properties
| |||||||||||
Apply an "equal" constraint to the identifier property
| |||||||||||
A case-insensitive "like", similar to Postgres ilike
operator
| |||||||||||
A case-insensitive "like", similar to Postgres ilike
operator
| |||||||||||
Apply an "in" constraint to the named property
| |||||||||||
Apply an "in" constraint to the named property
| |||||||||||
Constrain a collection valued property to be empty
| |||||||||||
Constrain a collection valued property to be non-empty
| |||||||||||
Apply an "is not null" constraint to the named property
| |||||||||||
Apply an "is null" constraint to the named property
| |||||||||||
Apply a "less than or equal" constraint to the named property
| |||||||||||
Apply a "less than or equal" constraint to two properties
| |||||||||||
Apply a "like" constraint to the named property
| |||||||||||
Apply a "like" constraint to the named property
| |||||||||||
Apply a "less than" constraint to the named property
| |||||||||||
Apply a "less than" constraint to two properties
| |||||||||||
Apply a "not equal" constraint to the named property
| |||||||||||
Apply a "not equal" constraint to two properties
| |||||||||||
Return the negation of an expression
| |||||||||||
Return the disjuction of two expressions
| |||||||||||
Constrain a collection valued property by size
| |||||||||||
Constrain a collection valued property by size
| |||||||||||
Constrain a collection valued property by size
| |||||||||||
Constrain a collection valued property by size
| |||||||||||
Constrain a collection valued property by size
| |||||||||||
Constrain a collection valued property by size
| |||||||||||
Apply a constraint expressed in SQL, with the given JDBC
parameters.
| |||||||||||
Apply a constraint expressed in SQL.
| |||||||||||
Apply a constraint expressed in SQL, with the given JDBC
parameter.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Apply an "equals" constraint to each property in the key set of a Map
propertyNameValues | a map from property names to values |
---|
Return the conjuction of two expressions
Apply a "between" constraint to the named property
lo | value |
---|---|
hi | value |
Group expressions together in a single conjunction (A and B and C...)
Group expressions together in a single disjunction (A or B or C...)
Apply an "equal" constraint to the named property
Apply an "equal" constraint to two properties
Apply a "greater than or equal" constraint to the named property
Apply a "greater than or equal" constraint to two properties
Apply a "greater than" constraint to the named property
Apply a "greater than" constraint to two properties
Apply an "equal" constraint to the identifier property
A case-insensitive "like", similar to Postgres ilike operator
A case-insensitive "like", similar to Postgres ilike operator
Apply an "in" constraint to the named property
Apply an "in" constraint to the named property
Constrain a collection valued property to be empty
Constrain a collection valued property to be non-empty
Apply an "is not null" constraint to the named property
Apply an "is null" constraint to the named property
Apply a "less than or equal" constraint to the named property
Apply a "less than or equal" constraint to two properties
Apply a "like" constraint to the named property
Apply a "like" constraint to the named property
Apply a "less than" constraint to the named property
Apply a "less than" constraint to two properties
Apply a "not equal" constraint to the named property
Apply a "not equal" constraint to two properties
Return the negation of an expression
Return the disjuction of two expressions
Constrain a collection valued property by size
Constrain a collection valued property by size
Constrain a collection valued property by size
Constrain a collection valued property by size
Constrain a collection valued property by size
Constrain a collection valued property by size
Apply a constraint expressed in SQL, with the given JDBC parameters. Any occurrences of {alias} will be replaced by the table alias.
Apply a constraint expressed in SQL. Any occurrences of {alias} will be replaced by the table alias.
Apply a constraint expressed in SQL, with the given JDBC parameter. Any occurrences of {alias} will be replaced by the table alias.