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.StringDoubleCondition,PropertyQueryConditionImpl.StringLongCondition,PropertyQueryConditionImpl.StringStringCondition,RelationCountCondition
public interface QueryCondition<T>
Allows building queries with a fluent interface. Use through
Box.query(QueryCondition)
and build a condition with Property methods.-
Method Summary
Modifier and TypeMethodDescriptionand(QueryCondition<T> queryCondition) Combines this condition using AND with the given condition.or(QueryCondition<T> queryCondition) Combines this condition using OR with the given condition.
-
Method Details
-
and
Combines this condition using AND with the given condition.- See Also:
-
or
Combines this condition using OR with the given condition.- See Also:
-