Package io.objectbox.query
Class PropertyQueryConditionImpl<T>
java.lang.Object
io.objectbox.query.PropertyQueryConditionImpl<T>
- All Implemented Interfaces:
PropertyQueryCondition<T>
,QueryCondition<T>
- Direct Known Subclasses:
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
public abstract class PropertyQueryConditionImpl<T>
extends Object
implements PropertyQueryCondition<T>
Property
based query conditions with implementations split by number and type of values,
such as LongCondition
, LongLongCondition
,
LongArrayCondition
and the general NullCondition
.
Each condition implementation has a set of operation enums, e.g. EQUAL/NOT_EQUAL/..., which represent the actual query condition passed to the native query builder.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
static class
Conditions for properties with anHnswIndex
.static class
static class
static class
static class
static class
static class
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionAssigns an alias to this condition that can later be used with theQuery
setParameter methods.and
(QueryCondition<T> queryCondition) Combines this condition using AND with the given condition.void
apply
(QueryBuilder<T> builder) or
(QueryCondition<T> queryCondition) Combines this condition using OR with the given condition.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.objectbox.query.QueryCondition
and, or
-
Field Details
-
property
-
-
Method Details
-
alias
Description copied from interface:PropertyQueryCondition
Assigns an alias to this condition that can later be used with theQuery
setParameter methods.- Specified by:
alias
in interfacePropertyQueryCondition<T>
-
apply
-
and
Description copied from interface:QueryCondition
Combines this condition using AND with the given condition.- Specified by:
and
in interfaceQueryCondition<T>
- See Also:
-
or
Description copied from interface:QueryCondition
Combines this condition using OR with the given condition.- Specified by:
or
in interfaceQueryCondition<T>
- See Also:
-