Package org.apache.ignite.cache.query
Class IndexQueryCriteriaBuilder
- java.lang.Object
-
- org.apache.ignite.cache.query.IndexQueryCriteriaBuilder
-
public class IndexQueryCriteriaBuilder extends Object
Factory ofIndexQueryCriterionforIndexQuery.
-
-
Constructor Summary
Constructors Constructor Description IndexQueryCriteriaBuilder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IndexQueryCriterionbetween(String field, Object lower, Object upper)Between.static IndexQueryCriterioneq(String field, Object val)Equal To.static IndexQueryCriteriongt(String field, Object val)Greater Then.static IndexQueryCriteriongte(String field, Object val)Greater Then or Equal To.static IndexQueryCriterionin(String field, Collection<?> vals)In.static IndexQueryCriterionlt(String field, Object val)Less Then.static IndexQueryCriterionlte(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.
-
-