Package io.micronaut.data.model.query
Class QueryModel.Between
java.lang.Object
io.micronaut.data.model.query.QueryModel.PropertyNameCriterion
io.micronaut.data.model.query.QueryModel.PropertyCriterion
io.micronaut.data.model.query.QueryModel.Between
- All Implemented Interfaces:
QueryModel.Criterion
- Enclosing interface:
- QueryModel
Criterion used to restrict the result to be between values (range query).
-
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
-
Method Summary
Methods inherited from class io.micronaut.data.model.query.QueryModel.PropertyCriterion
getValue, ignoreCase, isIgnoreCase, setValue
-
Constructor Details
-
Between
Default constructor.- Parameters:
property
- The property namefrom
- The from parameterto
- The to parameter
-
-
Method Details
-
getProperty
- Overrides:
getProperty
in classQueryModel.PropertyNameCriterion
- Returns:
- The name of the property
-
getFrom
- Returns:
- The from parameter
-
getTo
- Returns:
- The to parameter
-