Package io.micronaut.data.model.query
Class QueryModel.ArrayContains
java.lang.Object
io.micronaut.data.model.query.QueryModel.PropertyNameCriterion
io.micronaut.data.model.query.QueryModel.PropertyCriterion
io.micronaut.data.model.query.QueryModel.ArrayContains
- All Implemented Interfaces:
QueryModel.Criterion
- Enclosing interface:
- QueryModel
Criterion used to restrict the results based on belonging to an array.
-
Field Summary
Fields inherited from class io.micronaut.data.model.query.QueryModel.PropertyCriterion
value
Fields inherited from class io.micronaut.data.model.query.QueryModel.PropertyNameCriterion
name
-
Constructor Summary
ConstructorDescriptionArrayContains
(String name, QueryModel subquery) Constructor for a subquery.ArrayContains
(String name, Object parameter) Constructor for an individual parameter. -
Method Summary
Methods inherited from class io.micronaut.data.model.query.QueryModel.PropertyCriterion
getValue, ignoreCase, isIgnoreCase, setValue
Methods inherited from class io.micronaut.data.model.query.QueryModel.PropertyNameCriterion
getProperty
-
Constructor Details
-
ArrayContains
Constructor for an individual parameter.- Parameters:
name
- The nameparameter
- The parameter
-
ArrayContains
Constructor for a subquery.- Parameters:
name
- The namesubquery
- The subquery
-
-
Method Details
-
getName
- Returns:
- The name
-
getSubquery
- Returns:
- The subquery
-