Package org.apache.ignite.cache.query
Class IndexQueryCriteriaBuilder
- java.lang.Object
-
- org.apache.ignite.cache.query.IndexQueryCriteriaBuilder
-
public class IndexQueryCriteriaBuilder extends Object
Factory ofIndexQueryCriterion
forIndexQuery
.
-
-
Constructor Summary
Constructors Constructor Description IndexQueryCriteriaBuilder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
eq
public static IndexQueryCriterion eq(String field, Object val)
Equal To.- Parameters:
field
- Index field to apply criterion.val
- Strict equality value.- Returns:
- Criterion.
-
lt
public static IndexQueryCriterion lt(String field, Object val)
Less Then.- Parameters:
field
- Index field to apply criterion.val
- Exclusive upper bound.- Returns:
- Criterion.
-
lte
public static IndexQueryCriterion lte(String field, Object val)
Less Then or Equal To.- Parameters:
field
- Index field to apply criterion.val
- Inclusive upper bound.- Returns:
- Criterion.
-
gt
public static IndexQueryCriterion gt(String field, Object val)
Greater Then.- Parameters:
field
- Index field to apply criterion.val
- Exclusive lower bound.- Returns:
- Criterion.
-
gte
public static IndexQueryCriterion gte(String field, Object val)
Greater Then or Equal To.- Parameters:
field
- Index field to apply criterion.val
- Inclusive lower bound.- Returns:
- Criterion.
-
between
public static IndexQueryCriterion between(String field, Object lower, Object upper)
Between.- Parameters:
field
- Index field to apply criterion.lower
- Inclusive lower bound.upper
- Inclusive upper bound.- Returns:
- Criterion.
-
in
public static IndexQueryCriterion in(String field, Collection<?> vals)
In.- Parameters:
field
- Index field to apply criterion.vals
- Collection of values to find.- Returns:
- Criterion.
-
-