Package io.objectbox.query
Class PropertyQueryConditionImpl.NearestNeighborCondition<T>
java.lang.Object
io.objectbox.query.PropertyQueryConditionImpl<T>
io.objectbox.query.PropertyQueryConditionImpl.NearestNeighborCondition<T>
- All Implemented Interfaces:
PropertyQueryCondition<T>
,QueryCondition<T>
- Enclosing class:
- PropertyQueryConditionImpl<T>
public static class PropertyQueryConditionImpl.NearestNeighborCondition<T>
extends PropertyQueryConditionImpl<T>
Conditions for properties with an
HnswIndex
.-
Nested Class Summary
Nested classes/interfaces inherited from class io.objectbox.query.PropertyQueryConditionImpl
PropertyQueryConditionImpl.ByteArrayCondition<T>, PropertyQueryConditionImpl.DoubleCondition<T>, PropertyQueryConditionImpl.DoubleDoubleCondition<T>, PropertyQueryConditionImpl.IntArrayCondition<T>, PropertyQueryConditionImpl.LongArrayCondition<T>, PropertyQueryConditionImpl.LongCondition<T>, PropertyQueryConditionImpl.LongLongCondition<T>, PropertyQueryConditionImpl.NearestNeighborCondition<T>, PropertyQueryConditionImpl.NullCondition<T>, PropertyQueryConditionImpl.StringArrayCondition<T>, PropertyQueryConditionImpl.StringCondition<T>, PropertyQueryConditionImpl.StringDoubleCondition<T>, PropertyQueryConditionImpl.StringLongCondition<T>, PropertyQueryConditionImpl.StringStringCondition<T>
-
Field Summary
Fields inherited from class io.objectbox.query.PropertyQueryConditionImpl
property
-
Constructor Summary
ConstructorsConstructorDescriptionNearestNeighborCondition
(Property<T> property, float[] queryVector, int maxResultCount) -
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.Methods inherited from class io.objectbox.query.PropertyQueryConditionImpl
alias, apply
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
-
Constructor Details
-
NearestNeighborCondition
-
-
Method Details
-
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:
-