Package io.objectbox.query
Interface QueryCondition<T>
-
- All Known Subinterfaces:
PropertyQueryCondition<T>
- All Known Implementing Classes:
PropertyQueryConditionImpl
,PropertyQueryConditionImpl.ByteArrayCondition
,PropertyQueryConditionImpl.DoubleCondition
,PropertyQueryConditionImpl.DoubleDoubleCondition
,PropertyQueryConditionImpl.IntArrayCondition
,PropertyQueryConditionImpl.LongArrayCondition
,PropertyQueryConditionImpl.LongCondition
,PropertyQueryConditionImpl.LongLongCondition
,PropertyQueryConditionImpl.NearestNeighborCondition
,PropertyQueryConditionImpl.NullCondition
,PropertyQueryConditionImpl.StringArrayCondition
,PropertyQueryConditionImpl.StringCondition
,PropertyQueryConditionImpl.StringStringCondition
,RelationCountCondition
public interface QueryCondition<T>
Allows building queries with a fluent interface. Use throughBox.query(QueryCondition)
and build a condition withProperty
methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QueryCondition<T>
and(QueryCondition<T> queryCondition)
Combines this condition using AND with the given condition.QueryCondition<T>
or(QueryCondition<T> queryCondition)
Combines this condition using OR with the given condition.
-
-
-
Method Detail
-
and
QueryCondition<T> and(QueryCondition<T> queryCondition)
Combines this condition using AND with the given condition.- See Also:
or(QueryCondition)
-
or
QueryCondition<T> or(QueryCondition<T> queryCondition)
Combines this condition using OR with the given condition.- See Also:
and(QueryCondition)
-
-