Package io.objectbox.query
@ParametersAreNonnullByDefault
package io.objectbox.query
Classes related to
building
a Query
or PropertyQuery
.
For more details look at the documentation of individual classes and docs.objectbox.io/queries.
-
ClassDescriptionYou can throw this inside a
QueryConsumer
to signalQuery.forEach(QueryConsumer)
should "break".Wraps the ID of a matching object and a score when usingQuery.findIdsWithScores(long, long)
.Exposes internal APIs to tests and code in other packages.LazyList<E>A thread-safe, unmodifiableList
that gets Objects from their Box not until they are accessed.Wraps a matching object and a score when usingQuery.findWithScores(long, long)
.Not really an enum, but binary flags to use across languagesQuery for a specific property; create usingQuery.property(Property)
.A condition on aProperty
, which can have an alias to allow referring to it later.Property
based query conditions with implementations split by number and type of values, such asLongCondition
,LongLongCondition
,LongArrayCondition
and the generalNullCondition
.Conditions for properties with anHnswIndex
.Query<T>A repeatable Query returning the latest matching objects.QueryBuilder<T>Builds aQuery
using conditions which can then be used to return a list of matching Objects.Allows building queries with a fluent interface.QueryFilter<T>Decides which entities to keep as a query result.