Interface for the implementations that construct of criteria queries
Type | Name and description |
---|---|
Criteria |
between(java.lang.String propertyName, java.lang.Object start, java.lang.Object finish) Restricts the results by the given property value range (inclusive) |
Criteria |
eq(java.lang.String propertyName, java.lang.Object propertyValue) Creates an "equals" Criterion based on the specified property name and value. |
Criteria |
eqAll(java.lang.String propertyName, QueryableCriteria propertyValue) Creates a subquery criterion that ensures the given property is equal to all the given returned values |
Criteria |
eqProperty(java.lang.String propertyName, java.lang.String otherPropertyName) Constraints a property to be equal to a specified other property |
Criteria |
ge(java.lang.String property, java.lang.Object value) Used to restrict a value to be greater than or equal to the given value |
Criteria |
geAll(java.lang.String propertyName, QueryableCriteria propertyValue) Creates a subquery criterion that ensures the given property is greater than all the given returned values |
Criteria |
geProperty(java.lang.String propertyName, java.lang.String otherPropertyName) Constraints a property to be greater than or equal to a specified other property |
Criteria |
gt(java.lang.String property, java.lang.Object value) Used to restrict a value to be greater than or equal to the given value |
Criteria |
gtAll(java.lang.String propertyName, QueryableCriteria propertyValue) Creates a subquery criterion that ensures the given property is greater than all the given returned values |
Criteria |
gtProperty(java.lang.String propertyName, java.lang.String otherPropertyName) Constraints a property to be greater than a specified other property |
Criteria |
gte(java.lang.String property, java.lang.Object value) Used to restrict a value to be greater than or equal to the given value |
Criteria |
idEq(java.lang.Object propertyValue) Creates an "equals" Criterion based on the specified property name and value. |
Criteria |
idEquals(java.lang.Object value) Creates a criterion that restricts the id to the given value |
Criteria |
ilike(java.lang.String propertyName, java.lang.Object propertyValue) Creates an ilike Criterion based on the specified property name and value. |
Criteria |
in(java.lang.String propertyName, java.util.Collection values) Creates an "in" Criterion based on the specified property name and list of values. |
Criteria |
in(java.lang.String propertyName, java.lang.Object[] values) Creates an "in" Criterion based on the specified property name and list of values. |
Criteria |
inList(java.lang.String propertyName, java.util.Collection values) Creates an "in" Criterion based on the specified property name and list of values. |
Criteria |
inList(java.lang.String propertyName, java.lang.Object[] values) Creates an "in" Criterion based on the specified property name and list of values. |
Criteria |
isEmpty(java.lang.String propertyName) Creates a criterion that asserts the given property is empty (such as a blank string) |
Criteria |
isNotEmpty(java.lang.String propertyName) Creates a criterion that asserts the given property is not empty |
Criteria |
isNotNull(java.lang.String propertyName) Creates a criterion that asserts the given property is not null |
Criteria |
isNull(java.lang.String propertyName) Creates a criterion that asserts the given property is null |
Criteria |
le(java.lang.String property, java.lang.Object value) Used to restrict a value to be less than or equal to the given value |
Criteria |
leAll(java.lang.String propertyName, QueryableCriteria propertyValue) Creates a subquery criterion that ensures the given property is less than all the given returned values |
Criteria |
leProperty(java.lang.String propertyName, java.lang.String otherPropertyName) Constraints a property to be less than or equal to a specified other property |
Criteria |
like(java.lang.String propertyName, java.lang.Object propertyValue) Creates an like Criterion based on the specified property name and value. |
Criteria |
lt(java.lang.String property, java.lang.Object value) Used to restrict a value to be less than or equal to the given value |
Criteria |
ltAll(java.lang.String propertyName, QueryableCriteria propertyValue) Creates a subquery criterion that ensures the given property is less than all the given returned values |
Criteria |
ltProperty(java.lang.String propertyName, java.lang.String otherPropertyName) Constraints a property to be less than a specified other property |
Criteria |
lte(java.lang.String property, java.lang.Object value) Used to restrict a value to be less than or equal to the given value |
Criteria |
ne(java.lang.String propertyName, java.lang.Object propertyValue) Creates a "not equals" Criterion based on the specified property name and value. |
Criteria |
neProperty(java.lang.String propertyName, java.lang.String otherPropertyName) Constraints a property to be not equal to a specified other property |
Criteria |
order(java.lang.String propertyName) Orders by the specified property name (defaults to ascending) |
Criteria |
order(java.lang.String propertyName, java.lang.String direction) Orders by the specified property name and direction |
Criteria |
rlike(java.lang.String propertyName, java.lang.Object propertyValue) Creates an rlike Criterion based on the specified property name and value. |
Criteria |
sizeEq(java.lang.String propertyName, int size) Creates a Criterion that contrains a collection property by size |
Criteria |
sizeGe(java.lang.String propertyName, int size) Creates a Criterion that contrains a collection property to be greater than or equal to the given size |
Criteria |
sizeGt(java.lang.String propertyName, int size) Creates a Criterion that contrains a collection property to be greater than the given size |
Criteria |
sizeLe(java.lang.String propertyName, int size) Creates a Criterion that contrains a collection property to be less than or equal to the given size |
Criteria |
sizeLt(java.lang.String propertyName, int size) Creates a Criterion that contrains a collection property to be less than to the given size |
Criteria |
sizeNe(java.lang.String propertyName, int size) Creates a Criterion that contrains a collection property to be not equal to the given size |
Restricts the results by the given property value range (inclusive)
propertyName
- The property namestart
- The start of the rangefinish
- The end of the rangeCreates an "equals" Criterion based on the specified property name and value.
propertyName
- The property namepropertyValue
- The property valueCreates a subquery criterion that ensures the given property is equal to all the given returned values
propertyName
- The property namepropertyValue
- The property valueConstraints a property to be equal to a specified other property
propertyName
- The propertyotherPropertyName
- The other propertyUsed to restrict a value to be greater than or equal to the given value
property
- The propertyvalue
- The valueCreates a subquery criterion that ensures the given property is greater than all the given returned values
propertyName
- The property namepropertyValue
- The property valueConstraints a property to be greater than or equal to a specified other property
propertyName
- The propertyotherPropertyName
- The other propertyUsed to restrict a value to be greater than or equal to the given value
property
- The propertyvalue
- The valueCreates a subquery criterion that ensures the given property is greater than all the given returned values
propertyName
- The property namepropertyValue
- The property valueConstraints a property to be greater than a specified other property
propertyName
- The propertyotherPropertyName
- The other propertyUsed to restrict a value to be greater than or equal to the given value
property
- The propertyvalue
- The valueCreates an "equals" Criterion based on the specified property name and value.
propertyValue
- The property valueCreates a criterion that restricts the id to the given value
value
- The valueCreates an ilike Criterion based on the specified property name and value. Unlike a like condition, ilike is case insensitive
propertyName
- The property namepropertyValue
- The property valueCreates an "in" Criterion based on the specified property name and list of values.
propertyName
- The property namevalues
- The valuesCreates an "in" Criterion based on the specified property name and list of values.
propertyName
- The property namevalues
- The valuesCreates an "in" Criterion based on the specified property name and list of values.
propertyName
- The property namevalues
- The valuesCreates an "in" Criterion based on the specified property name and list of values.
propertyName
- The property namevalues
- The valuesCreates a criterion that asserts the given property is empty (such as a blank string)
propertyName
- The property nameCreates a criterion that asserts the given property is not empty
propertyName
- The property nameCreates a criterion that asserts the given property is not null
propertyName
- The property nameCreates a criterion that asserts the given property is null
propertyName
- The property nameUsed to restrict a value to be less than or equal to the given value
property
- The propertyvalue
- The valueCreates a subquery criterion that ensures the given property is less than all the given returned values
propertyName
- The property namepropertyValue
- The property valueConstraints a property to be less than or equal to a specified other property
propertyName
- The propertyotherPropertyName
- The other propertyCreates an like Criterion based on the specified property name and value.
propertyName
- The property namepropertyValue
- The property valueUsed to restrict a value to be less than or equal to the given value
property
- The propertyvalue
- The valueCreates a subquery criterion that ensures the given property is less than all the given returned values
propertyName
- The property namepropertyValue
- The property valueConstraints a property to be less than a specified other property
propertyName
- The propertyotherPropertyName
- The other propertyUsed to restrict a value to be less than or equal to the given value
property
- The propertyvalue
- The valueCreates a "not equals" Criterion based on the specified property name and value.
propertyName
- The property namepropertyValue
- The property valueConstraints a property to be not equal to a specified other property
propertyName
- The propertyotherPropertyName
- The other propertyOrders by the specified property name (defaults to ascending)
propertyName
- The property name to order byOrders by the specified property name and direction
propertyName
- The property name to order bydirection
- Either "asc" for ascending or "desc" for descendingCreates an rlike Criterion based on the specified property name and value.
propertyName
- The property namepropertyValue
- The property valueCreates a Criterion that contrains a collection property by size
propertyName
- The property namesize
- The size to constrain byCreates a Criterion that contrains a collection property to be greater than or equal to the given size
propertyName
- The property namesize
- The size to constrain byCreates a Criterion that contrains a collection property to be greater than the given size
propertyName
- The property namesize
- The size to constrain byCreates a Criterion that contrains a collection property to be less than or equal to the given size
propertyName
- The property namesize
- The size to constrain byCreates a Criterion that contrains a collection property to be less than to the given size
propertyName
- The property namesize
- The size to constrain byCreates a Criterion that contrains a collection property to be not equal to the given size
propertyName
- The property namesize
- The size to constrain by