Package io.objectbox.query
Class RelationCountCondition<T>
- java.lang.Object
-
- io.objectbox.query.RelationCountCondition<T>
-
- All Implemented Interfaces:
QueryCondition<T>
public class RelationCountCondition<T> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RelationCountCondition(RelationInfo<T,?> relationInfo, int relationCount)
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Constructor Detail
-
RelationCountCondition
public RelationCountCondition(RelationInfo<T,?> relationInfo, int relationCount)
-
-
Method Detail
-
and
public QueryCondition<T> and(QueryCondition<T> queryCondition)
Description copied from interface:QueryCondition
Combines this condition using AND with the given condition.- Specified by:
and
in interfaceQueryCondition<T>
- See Also:
QueryCondition.or(QueryCondition)
-
or
public QueryCondition<T> or(QueryCondition<T> queryCondition)
Description copied from interface:QueryCondition
Combines this condition using OR with the given condition.- Specified by:
or
in interfaceQueryCondition<T>
- See Also:
QueryCondition.and(QueryCondition)
-
-