Package io.micronaut.data.model.query
Interface QueryModel
- All Superinterfaces:
- Criteria
- All Known Implementing Classes:
- AssociationQuery,- DefaultQuery
Deprecated, for removal: This API element is subject to removal in a future version.
Replaced by JPA criteria
Main interface for constructing queries at either compilation or runtime.
- Since:
- 1.0
- Author:
- graemerocher
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic classDeprecated, for removal: This API element is subject to removal in a future version.Criterion used to restrict the results based on belonging to an array.static classDeprecated, for removal: This API element is subject to removal in a future version.Computes the average value of a property.static classDeprecated, for removal: This API element is subject to removal in a future version.Criterion used to restrict the result to be between values (range query).static classDeprecated, for removal: This API element is subject to removal in a future version.A Criterion used to combine to criterion in a logical AND.static classDeprecated, for removal: This API element is subject to removal in a future version.Criterion used to restrict the results based on a result containing the given value.static classDeprecated, for removal: This API element is subject to removal in a future version.Projection to count distinct property name.static classDeprecated, for removal: This API element is subject to removal in a future version.Projection to count distinct entity will do count distinct against identity or composite identity.static classDeprecated, for removal: This API element is subject to removal in a future version.Used to count the results of a query.static interfaceDeprecated, for removal: This API element is subject to removal in a future version.Represents a criterion to be used in a criteria query.static classDeprecated, for removal: This API element is subject to removal in a future version.A Criterion used to combine to criterion in a logical OR.static classDeprecated, for removal: This API element is subject to removal in a future version.Distinct result projection.static classDeprecated, for removal: This API element is subject to removal in a future version.Criterion used to restrict the results based on starting with a given value.static classDeprecated, for removal: This API element is subject to removal in a future version.A criterion that restricts the results based on equality.static classDeprecated, for removal: This API element is subject to removal in a future version.Restricts a value to be equal to all the given values.static classDeprecated, for removal: This API element is subject to removal in a future version.A criterion for one property equaling another.static classDeprecated, for removal: This API element is subject to removal in a future version.Used for exists subquery.static classDeprecated, for removal: This API element is subject to removal in a future version.Used to restrict a value to be greater than the given value.static classDeprecated, for removal: This API element is subject to removal in a future version.Restricts a value to be greater than all the given values.static classDeprecated, for removal: This API element is subject to removal in a future version.Used to restrict a value to be greater than or equal to the given value.static classDeprecated, for removal: This API element is subject to removal in a future version.Restricts a value to be greater than or equal to all the given values.static classDeprecated, for removal: This API element is subject to removal in a future version.A criterion for one property being greater than or equal to another.static classDeprecated, for removal: This API element is subject to removal in a future version.Restricts a value to be greater than some of the given values.static classDeprecated, for removal: This API element is subject to removal in a future version.A criterion for one property being greater than another.static classDeprecated, for removal: This API element is subject to removal in a future version.Restricts a value to be greater than some of the given values.static classDeprecated, for removal: This API element is subject to removal in a future version.Group by property projection.static classDeprecated, for removal: This API element is subject to removal in a future version.A criterion that restricts the results based on the equality of the identifier.static classDeprecated, for removal: This API element is subject to removal in a future version.A projection used to obtain the identifier of an object.static classDeprecated, for removal: This API element is subject to removal in a future version.Criterion used to restrict the results based on a pattern (likeness).static classDeprecated, for removal: This API element is subject to removal in a future version.Criterion used to restrict the results based on a list of values.static classDeprecated, for removal: This API element is subject to removal in a future version.Restricts a property to be empty (such as a blank string).static classDeprecated, for removal: This API element is subject to removal in a future version.Restricts a property to be false.static classDeprecated, for removal: This API element is subject to removal in a future version.Restricts a property to be empty (such as a blank string).static classDeprecated, for removal: This API element is subject to removal in a future version.Restricts a property to be not null.static classDeprecated, for removal: This API element is subject to removal in a future version.Restricts a property to be null.static classDeprecated, for removal: This API element is subject to removal in a future version.Restricts a property to be true.static classDeprecated, for removal: This API element is subject to removal in a future version.base class for a junction (AND or OR or NOT).static classDeprecated, for removal: This API element is subject to removal in a future version.Used to restrict a value to be less than the given value.static classDeprecated, for removal: This API element is subject to removal in a future version.Restricts a value to be less than all the given values.static classDeprecated, for removal: This API element is subject to removal in a future version.Used to restrict a value to be less than the given value.static classDeprecated, for removal: This API element is subject to removal in a future version.Restricts a value to be less than or equal to all the given values.static classDeprecated, for removal: This API element is subject to removal in a future version.A criterion for one property being less than or equal to another.static classDeprecated, for removal: This API element is subject to removal in a future version.Restricts a value to be less than some of the given values.static classDeprecated, for removal: This API element is subject to removal in a future version.A criterion for one property being less than another.static classDeprecated, for removal: This API element is subject to removal in a future version.Restricts a value to be less than some of the given values.static classDeprecated, for removal: This API element is subject to removal in a future version.Criterion used to restrict the results based on a pattern (likeness).static classDeprecated, for removal: This API element is subject to removal in a future version.A projection of a simple literal.static classDeprecated, for removal: This API element is subject to removal in a future version.Computes the pageSize value of a property.static classDeprecated, for removal: This API element is subject to removal in a future version.Computes the min value of a property.static classDeprecated, for removal: This API element is subject to removal in a future version.A criterion used to negate several other criterion.static classDeprecated, for removal: This API element is subject to removal in a future version.A criterion that restricts the results based on equality.static classDeprecated, for removal: This API element is subject to removal in a future version.Restricts a value to be not equal to all the given values.static classDeprecated, for removal: This API element is subject to removal in a future version.A criterion for one property not equaling another.static classDeprecated, for removal: This API element is subject to removal in a future version.Used for exists subquery.static classDeprecated, for removal: This API element is subject to removal in a future version.Criterion used to restrict the results based on a list of values.static classDeprecated, for removal: This API element is subject to removal in a future version.A projection.static classDeprecated, for removal: This API element is subject to removal in a future version.A Criterion that compares to properties.static classDeprecated, for removal: This API element is subject to removal in a future version.Criterion that applies to a property and value.static classDeprecated, for removal: This API element is subject to removal in a future version.A Criterion that applies to a property.static classDeprecated, for removal: This API element is subject to removal in a future version.A projection that obtains the value of a property of an entity.static classDeprecated, for removal: This API element is subject to removal in a future version.Criterion used to restrict the results based on a regex pattern.static classDeprecated, for removal: This API element is subject to removal in a future version.Criterion used to restrict the results based on a regular expression pattern.static classDeprecated, for removal: This API element is subject to removal in a future version.A projection used to project the root entity.static classDeprecated, for removal: This API element is subject to removal in a future version.Size equals criterion.static classDeprecated, for removal: This API element is subject to removal in a future version.Size greater than criterion.static classDeprecated, for removal: This API element is subject to removal in a future version.Size greater than equals criterion.static classDeprecated, for removal: This API element is subject to removal in a future version.Size less than criterion.static classDeprecated, for removal: This API element is subject to removal in a future version.Size less than equals criterion.static classDeprecated, for removal: This API element is subject to removal in a future version.Size not equals criterion.static classDeprecated, for removal: This API element is subject to removal in a future version.Criterion used to restrict the results based on starting with a given value.static classDeprecated, for removal: This API element is subject to removal in a future version.Used to differentiate criterion that require a subquery.static classDeprecated, for removal: This API element is subject to removal in a future version.Computes the sum of a property.static classDeprecated, for removal: This API element is subject to removal in a future version.A criterion that restricts the results based on the equality of the version.
- 
Method SummaryModifier and TypeMethodDescription@NonNull QueryModeladd(@NonNull QueryModel.Criterion criterion) Deprecated, for removal: This API element is subject to removal in a future version.Adds the specified criterion instance to the query.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Apply an "equals" constraint to each property in the key set of aMap.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates a logical conjunction.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Restricts the results by the given property value range (inclusive).@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Restricts the property match to strings containing with the given value.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Restricts the property match to strings ending with the given value.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates an "equals" Criterion based on the specified property name and value.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates a subquery criterion that ensures the given property is equals to all the given returned values.@NonNull QueryModeleqProperty(@NonNull String propertyName, @NonNull String otherPropertyName) Deprecated, for removal: This API element is subject to removal in a future version.Constrains a property to be equal to a specified other property.voidDeprecated, for removal: This API element is subject to removal in a future version.Lock the selected entities.static @NonNull QueryModelfrom(@NonNull PersistentEntity entity) Deprecated, for removal: This API element is subject to removal in a future version.Creates a query from the given entity.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Used to restrict a value to be greater than or equal to the given value.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates a subquery criterion that ensures the given property is greater than or equals to all the given returned values.@NonNull QueryModelgeProperty(@NonNull String propertyName, @NonNull String otherPropertyName) Deprecated, for removal: This API element is subject to removal in a future version.Constrains a property to be greater than or equal to a specified other property.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates a subquery criterion that ensures the given property is greater than or equal to some of the given values.Deprecated, for removal: This API element is subject to removal in a future version.getJoinPath(String path) Deprecated, for removal: This API element is subject to removal in a future version.Obtain the join type for the given association.Deprecated, for removal: This API element is subject to removal in a future version.intgetMax()Deprecated, for removal: This API element is subject to removal in a future version.Get the pageSize results to return.longDeprecated, for removal: This API element is subject to removal in a future version.Get the offset of the query.@NonNull PersistentEntityDeprecated, for removal: This API element is subject to removal in a future version.@NonNull List<QueryModel.Projection>Deprecated, for removal: This API element is subject to removal in a future version.default SortgetSort()Deprecated, for removal: This API element is subject to removal in a future version.The sort to apply.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Used to restrict a value to be greater than or equal to the given value.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates a subquery criterion that ensures the given property is greater than all the given returned values.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Used to restrict a value to be greater than or equal to the given value.@NonNull QueryModelgtProperty(@NonNull String propertyName, @NonNull String otherPropertyName) Deprecated, for removal: This API element is subject to removal in a future version.Constrains a property to be greater than a specified other property.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates a subquery criterion that ensures the given property is greater than some of the given values.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates an "equals" Criterion based on the specified property name and value.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates an ilike Criterion based on the specified property name and value.@NonNull QueryModelinList(@NonNull String propertyName, @NonNull QueryModel subquery) Deprecated, for removal: This API element is subject to removal in a future version.Creates an "in" Criterion using a subquery.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates an "in" Criterion based on the specified property name and list of values.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates a criterion that asserts the given property is empty (such as a blank string).@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates a criterion that asserts the given property is false.booleanDeprecated, for removal: This API element is subject to removal in a future version.Whether to lock the selected entities.@NonNull QueryModelisNotEmpty(@NonNull String propertyName) Deprecated, for removal: This API element is subject to removal in a future version.Creates a criterion that asserts the given property is not empty.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates a criterion that asserts the given property is not null.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates a criterion that asserts the given property is null.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates a criterion that asserts the given property is true.default @NonNull JoinPathjoin(@NonNull Association association) Deprecated, for removal: This API element is subject to removal in a future version.Join on the given association.default @NonNull JoinPathjoin(@NonNull Association association, Join.Type joinType) Deprecated, for removal: This API element is subject to removal in a future version.Join on the given association.@NonNull JoinPathDeprecated, for removal: This API element is subject to removal in a future version.Join on the given association.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Used to restrict a value to be less than or equal to the given value.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates a subquery criterion that ensures the given property is less than or equal to all the given returned values.@NonNull QueryModelleProperty(String propertyName, @NonNull String otherPropertyName) Deprecated, for removal: This API element is subject to removal in a future version.Constrains a property to be less than or equal to a specified other property.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates a subquery criterion that ensures the given property is less than or equal to some of the given values.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates a like Criterion based on the specified property name and value.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Used to restrict a value to be less than or equal to the given value.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates a subquery criterion that ensures the given property is less than all the given returned values.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Used to restrict a value to be less than or equal to the given value.@NonNull QueryModelltProperty(@NonNull String propertyName, @NonNull String otherPropertyName) Deprecated, for removal: This API element is subject to removal in a future version.Constrains a property to be less than a specified other property.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates a subquery criterion that ensures the given property is less than some of the given values.max(int max) Deprecated, for removal: This API element is subject to removal in a future version.Limits the maximum result.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates a "not equals" Criterion based on the specified property name and value.@NonNull QueryModelneProperty(@NonNull String propertyName, @NonNull String otherPropertyName) Deprecated, for removal: This API element is subject to removal in a future version.Constrains a property to be not equal to a specified other property.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates a logical negation.@NonNull QueryModelnotIn(@NonNull String propertyName, @NonNull QueryModel subquery) Deprecated, for removal: This API element is subject to removal in a future version.Creates a negated "in" Criterion using a subquery.offset(long offset) Deprecated, for removal: This API element is subject to removal in a future version.Sets the offset.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates a logical disjunction.@NonNull ProjectionListDeprecated, for removal: This API element is subject to removal in a future version.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates a rlike Criterion based on the specified property name and value.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates a Criterion that constrains a collection property by size.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates a Criterion that constrains a collection property to be greater than or equal to the given size.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates a Criterion that constrains a collection property to be greater than the given size.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates a Criterion that constrains a collection property to be less than or equal to the given size.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates a Criterion that constrains a collection property to be less than to the given size.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates a Criterion that constrains a collection property to be not equal to the given size.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Apply the given sort.@NonNull QueryModelstartsWith(@NonNull String propertyName, @NonNull Object parameter) Deprecated, for removal: This API element is subject to removal in a future version.Restricts the property match to strings starting with the given value.@NonNull QueryModelDeprecated, for removal: This API element is subject to removal in a future version.Creates that restricts the version to the given value.
- 
Method Details- 
idEqDeprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates an "equals" Criterion based on the specified property name and value.
- 
versionEqDeprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates that restricts the version to the given value.
- 
isEmptyDeprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a criterion that asserts the given property is empty (such as a blank string).
- 
isNotEmptyDeprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a criterion that asserts the given property is not empty.- Specified by:
- isNotEmptyin interface- Criteria
- Parameters:
- propertyName- The property name
- Returns:
- The criteria
 
- 
isNullDeprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a criterion that asserts the given property is null.
- 
isTrueDeprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a criterion that asserts the given property is true.
- 
isFalseDeprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a criterion that asserts the given property is false.
- 
isNotNullDeprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a criterion that asserts the given property is not null.
- 
eqDeprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates an "equals" Criterion based on the specified property name and value.
- 
ne@NonNull @NonNull QueryModel ne(@NonNull @NonNull String propertyName, @NonNull @NonNull Object parameter) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a "not equals" Criterion based on the specified property name and value.
- 
between@NonNull @NonNull QueryModel between(@NonNull @NonNull String propertyName, @NonNull @NonNull Object start, @NonNull @NonNull Object finish) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaRestricts the results by the given property value range (inclusive).
- 
gte@NonNull @NonNull QueryModel gte(@NonNull @NonNull String property, @NonNull @NonNull Object parameter) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaUsed to restrict a value to be greater than or equal to the given value.
- 
ge@NonNull @NonNull QueryModel ge(@NonNull @NonNull String property, @NonNull @NonNull Object parameter) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaUsed to restrict a value to be greater than or equal to the given value.
- 
gt@NonNull @NonNull QueryModel gt(@NonNull @NonNull String property, @NonNull @NonNull Object parameter) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaUsed to restrict a value to be greater than or equal to the given value.
- 
lte@NonNull @NonNull QueryModel lte(@NonNull @NonNull String property, @NonNull @NonNull Object parameter) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaUsed to restrict a value to be less than or equal to the given value.
- 
le@NonNull @NonNull QueryModel le(@NonNull @NonNull String property, @NonNull @NonNull Object parameter) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaUsed to restrict a value to be less than or equal to the given value.
- 
lt@NonNull @NonNull QueryModel lt(@NonNull @NonNull String property, @NonNull @NonNull Object parameter) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaUsed to restrict a value to be less than or equal to the given value.
- 
like@NonNull @NonNull QueryModel like(@NonNull @NonNull String propertyName, @NonNull @NonNull Object parameter) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a like Criterion based on the specified property name and value.
- 
startsWith@NonNull @NonNull QueryModel startsWith(@NonNull @NonNull String propertyName, @NonNull @NonNull Object parameter) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaRestricts the property match to strings starting with the given value.- Specified by:
- startsWithin interface- Criteria
- Parameters:
- propertyName- The property name
- parameter- The parameter that provides the value
- Returns:
- The criteria
 
- 
endsWith@NonNull @NonNull QueryModel endsWith(@NonNull @NonNull String propertyName, @NonNull @NonNull Object parameter) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaRestricts the property match to strings ending with the given value.
- 
contains@NonNull @NonNull QueryModel contains(@NonNull @NonNull String propertyName, @NonNull @NonNull Object parameter) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaRestricts the property match to strings containing with the given value.
- 
ilike@NonNull @NonNull QueryModel ilike(@NonNull @NonNull String propertyName, @NonNull @NonNull Object parameter) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates an ilike Criterion based on the specified property name and value. Unlike a like condition, ilike is case-insensitive.
- 
rlike@NonNull @NonNull QueryModel rlike(@NonNull @NonNull String propertyName, @NonNull @NonNull Object parameter) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a rlike Criterion based on the specified property name and value.
- 
andDeprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a logical conjunction.
- 
orDeprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a logical disjunction.
- 
notDeprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a logical negation.
- 
inList@NonNull @NonNull QueryModel inList(@NonNull @NonNull String propertyName, @NonNull @NonNull QueryModel subquery) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates an "in" Criterion using a subquery.
- 
inList@NonNull @NonNull QueryModel inList(@NonNull @NonNull String propertyName, @NonNull @NonNull Object parameter) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates an "in" Criterion based on the specified property name and list of values.
- 
notIn@NonNull @NonNull QueryModel notIn(@NonNull @NonNull String propertyName, @NonNull @NonNull QueryModel subquery) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a negated "in" Criterion using a subquery.
- 
sizeEq@NonNull @NonNull QueryModel sizeEq(@NonNull @NonNull String propertyName, @NonNull @NonNull Object size) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a Criterion that constrains a collection property by size.
- 
sizeGt@NonNull @NonNull QueryModel sizeGt(@NonNull @NonNull String propertyName, @NonNull @NonNull Object size) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a Criterion that constrains a collection property to be greater than the given size.
- 
sizeGe@NonNull @NonNull QueryModel sizeGe(@NonNull @NonNull String propertyName, @NonNull @NonNull Object size) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a Criterion that constrains a collection property to be greater than or equal to the given size.
- 
sizeLe@NonNull @NonNull QueryModel sizeLe(@NonNull @NonNull String propertyName, @NonNull @NonNull Object size) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a Criterion that constrains a collection property to be less than or equal to the given size.
- 
sizeLt@NonNull @NonNull QueryModel sizeLt(@NonNull @NonNull String propertyName, @NonNull @NonNull Object size) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a Criterion that constrains a collection property to be less than to the given size.
- 
sizeNe@NonNull @NonNull QueryModel sizeNe(@NonNull @NonNull String propertyName, @NonNull @NonNull Object size) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a Criterion that constrains a collection property to be not equal to the given size.
- 
eqProperty@NonNull @NonNull QueryModel eqProperty(@NonNull @NonNull String propertyName, @NonNull @NonNull String otherPropertyName) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaConstrains a property to be equal to a specified other property.- Specified by:
- eqPropertyin interface- Criteria
- Parameters:
- propertyName- The property
- otherPropertyName- The other property
- Returns:
- This criteria
 
- 
neProperty@NonNull @NonNull QueryModel neProperty(@NonNull @NonNull String propertyName, @NonNull @NonNull String otherPropertyName) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaConstrains a property to be not equal to a specified other property.- Specified by:
- nePropertyin interface- Criteria
- Parameters:
- propertyName- The property
- otherPropertyName- The other property
- Returns:
- This criteria
 
- 
gtProperty@NonNull @NonNull QueryModel gtProperty(@NonNull @NonNull String propertyName, @NonNull @NonNull String otherPropertyName) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaConstrains a property to be greater than a specified other property.- Specified by:
- gtPropertyin interface- Criteria
- Parameters:
- propertyName- The property
- otherPropertyName- The other property
- Returns:
- This criteria
 
- 
geProperty@NonNull @NonNull QueryModel geProperty(@NonNull @NonNull String propertyName, @NonNull @NonNull String otherPropertyName) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaConstrains a property to be greater than or equal to a specified other property.- Specified by:
- gePropertyin interface- Criteria
- Parameters:
- propertyName- The property
- otherPropertyName- The other property
- Returns:
- This criteria
 
- 
ltProperty@NonNull @NonNull QueryModel ltProperty(@NonNull @NonNull String propertyName, @NonNull @NonNull String otherPropertyName) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaConstrains a property to be less than a specified other property.- Specified by:
- ltPropertyin interface- Criteria
- Parameters:
- propertyName- The property
- otherPropertyName- The other property
- Returns:
- This criteria
 
- 
leProperty@NonNull @NonNull QueryModel leProperty(String propertyName, @NonNull @NonNull String otherPropertyName) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaConstrains a property to be less than or equal to a specified other property.- Specified by:
- lePropertyin interface- Criteria
- Parameters:
- propertyName- The property
- otherPropertyName- The other property
- Returns:
- This criteria
 
- 
allEqDeprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaApply an "equals" constraint to each property in the key set of aMap.
- 
eqAll@NonNull @NonNull QueryModel eqAll(@NonNull @NonNull String propertyName, @NonNull @NonNull Criteria propertyValue) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a subquery criterion that ensures the given property is equals to all the given returned values.
- 
gtAll@NonNull @NonNull QueryModel gtAll(@NonNull @NonNull String propertyName, @NonNull @NonNull Criteria propertyValue) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a subquery criterion that ensures the given property is greater than all the given returned values.
- 
ltAll@NonNull @NonNull QueryModel ltAll(@NonNull @NonNull String propertyName, @NonNull @NonNull Criteria propertyValue) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a subquery criterion that ensures the given property is less than all the given returned values.
- 
geAll@NonNull @NonNull QueryModel geAll(@NonNull @NonNull String propertyName, @NonNull @NonNull Criteria propertyValue) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a subquery criterion that ensures the given property is greater than or equals to all the given returned values.
- 
leAll@NonNull @NonNull QueryModel leAll(@NonNull @NonNull String propertyName, @NonNull @NonNull Criteria propertyValue) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a subquery criterion that ensures the given property is less than or equal to all the given returned values.
- 
gtSome@NonNull @NonNull QueryModel gtSome(@NonNull @NonNull String propertyName, @NonNull @NonNull Criteria propertyValue) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a subquery criterion that ensures the given property is greater than some of the given values.
- 
geSome@NonNull @NonNull QueryModel geSome(@NonNull @NonNull String propertyName, @NonNull @NonNull Criteria propertyValue) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a subquery criterion that ensures the given property is greater than or equal to some of the given values.
- 
ltSome@NonNull @NonNull QueryModel ltSome(@NonNull @NonNull String propertyName, @NonNull @NonNull Criteria propertyValue) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a subquery criterion that ensures the given property is less than some of the given values.
- 
leSome@NonNull @NonNull QueryModel leSome(@NonNull @NonNull String propertyName, @NonNull @NonNull Criteria propertyValue) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CriteriaCreates a subquery criterion that ensures the given property is less than or equal to some of the given values.
- 
getJoinPathsCollection<JoinPath> getJoinPaths()Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- The join paths.
 
- 
getPersistentEntityDeprecated, for removal: This API element is subject to removal in a future version.- Returns:
- The entity the criteria applies to
 
- 
getCriteriaDeprecated, for removal: This API element is subject to removal in a future version.- Returns:
- The criteria for this query
 
- 
getProjectionsDeprecated, for removal: This API element is subject to removal in a future version.- Returns:
- The projections that apply to this query.
 
- 
getJoinPathDeprecated, for removal: This API element is subject to removal in a future version.Obtain the join type for the given association.- Parameters:
- path- The path
- Returns:
- The join type for the association.
 
- 
join@NonNull @NonNull JoinPath join(String path, @NonNull Join.Type joinType, @Nullable @Nullable String alias) Deprecated, for removal: This API element is subject to removal in a future version.Join on the given association.- Parameters:
- path- The join path
- joinType- The join type
- alias- The alias to use.
- Returns:
- The query
 
- 
join@NonNull default @NonNull JoinPath join(@NonNull @NonNull Association association, @NonNull Join.Type joinType) Deprecated, for removal: This API element is subject to removal in a future version.Join on the given association.- Parameters:
- association- The association, never null
- joinType- The join type
- Returns:
- The query
 
- 
joinDeprecated, for removal: This API element is subject to removal in a future version.Join on the given association.- Parameters:
- association- The association, never null
- Returns:
- The query
 
- 
projectionsDeprecated, for removal: This API element is subject to removal in a future version.- Returns:
- The projection list.
 
- 
addDeprecated, for removal: This API element is subject to removal in a future version.Adds the specified criterion instance to the query.- Parameters:
- criterion- The criterion instance
- Returns:
- This query
 
- 
maxDeprecated, for removal: This API element is subject to removal in a future version.Limits the maximum result.- Parameters:
- max- The pageSize
- Returns:
- This query
 
- 
offsetDeprecated, for removal: This API element is subject to removal in a future version.Sets the offset.- Parameters:
- offset- The offset
- Returns:
- This query
 
- 
getSortDeprecated, for removal: This API element is subject to removal in a future version.The sort to apply.- Returns:
- The sort
 
- 
sortDeprecated, for removal: This API element is subject to removal in a future version.Apply the given sort.- Parameters:
- sort- The sort to apply
- Returns:
- This query
 
- 
fromDeprecated, for removal: This API element is subject to removal in a future version.Creates a query from the given entity.- Parameters:
- entity- The entity
- Returns:
- The query
 
- 
getMaxint getMax()Deprecated, for removal: This API element is subject to removal in a future version.Get the pageSize results to return.- Returns:
- The pageSize results
 
- 
getOffsetlong getOffset()Deprecated, for removal: This API element is subject to removal in a future version.Get the offset of the query.- Returns:
- The offset
 
- 
forUpdatevoid forUpdate()Deprecated, for removal: This API element is subject to removal in a future version.Lock the selected entities.
- 
isForUpdateboolean isForUpdate()Deprecated, for removal: This API element is subject to removal in a future version.Whether to lock the selected entities.- Returns:
- true if the selected entities should be locked
 
 
-