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
public static class QueryModel.Between extends QueryModel.PropertyCriterion
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
Constructors Constructor Description Between(java.lang.String property, java.lang.Object from, java.lang.Object to)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getFrom()
java.lang.String
getProperty()
java.lang.Object
getTo()
-
Methods inherited from class io.micronaut.data.model.query.QueryModel.PropertyCriterion
getValue, ignoreCase, isIgnoreCase, setValue
-
-
-
-
Method Detail
-
getProperty
public java.lang.String getProperty()
- Overrides:
getProperty
in classQueryModel.PropertyNameCriterion
- Returns:
- The name of the property
-
getFrom
public java.lang.Object getFrom()
- Returns:
- The from parameter
-
getTo
public java.lang.Object getTo()
- Returns:
- The to parameter
-
-