public class IndexQueryCriteriaBuilder extends Object
IndexQueryCriterion
for IndexQuery
.Constructor and Description |
---|
IndexQueryCriteriaBuilder() |
Modifier and Type | Method and Description |
---|---|
static IndexQueryCriterion |
between(String field,
Object lower,
Object upper)
Between.
|
static IndexQueryCriterion |
eq(String field,
Object val)
Equal To.
|
static IndexQueryCriterion |
gt(String field,
Object val)
Greater Then.
|
static IndexQueryCriterion |
gte(String field,
Object val)
Greater Then or Equal To.
|
static IndexQueryCriterion |
in(String field,
Collection<?> vals)
In.
|
static IndexQueryCriterion |
lt(String field,
Object val)
Less Then.
|
static IndexQueryCriterion |
lte(String field,
Object val)
Less Then or Equal To.
|
public static IndexQueryCriterion eq(String field, Object val)
field
- Index field to apply criterion.val
- Strict equality value.public static IndexQueryCriterion lt(String field, Object val)
field
- Index field to apply criterion.val
- Exclusive upper bound.public static IndexQueryCriterion lte(String field, Object val)
field
- Index field to apply criterion.val
- Inclusive upper bound.public static IndexQueryCriterion gt(String field, Object val)
field
- Index field to apply criterion.val
- Exclusive lower bound.public static IndexQueryCriterion gte(String field, Object val)
field
- Index field to apply criterion.val
- Inclusive lower bound.public static IndexQueryCriterion between(String field, Object lower, Object upper)
field
- Index field to apply criterion.lower
- Inclusive lower bound.upper
- Inclusive upper bound.public static IndexQueryCriterion in(String field, Collection<?> vals)
field
- Index field to apply criterion.vals
- Collection of values to find.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023