Uses of Class
io.objectbox.query.QueryBuilder
Packages that use QueryBuilder
Package
Description
ObjectBox is an an easy to use, object-oriented lightweight database and a full alternative to SQLite.
-
Uses of QueryBuilder in io.objectbox
Methods in io.objectbox that return QueryBuilderModifier and TypeMethodDescriptionBox.query()Create a query with no conditions.Box.query(QueryCondition<T> queryCondition) Applies the given query conditions and returns the builder for further customization, such as result order. -
Uses of QueryBuilder in io.objectbox.query
Methods in io.objectbox.query that return QueryBuilderModifier and TypeMethodDescriptionQueryBuilder.and()And AND changes how conditions are combined using a following OR.QueryBuilder.apply(QueryCondition<T> queryCondition) Applies the given query conditions and returns the builder for further customization, such as result order.<TARGET> QueryBuilder<TARGET> QueryBuilder.backlink(RelationInfo<TARGET, ?> relationInfo) Creates a backlink (reversed link) to another entity, for which you also can describe conditions using the returned builder.Note: New code should use thenew query API.Note: New code should use thenew query API.Note: New code should use thenew query API.QueryBuilder.contains(Property<T> property, String value, QueryBuilder.StringOrder order) Note: New code should use thenew query API.QueryBuilder.containsElement(Property<T> property, String value, QueryBuilder.StringOrder order) Note: New code should use thenew query API.QueryBuilder.containsKeyValue(Property<T> property, String key, String value, QueryBuilder.StringOrder order) Note: New code should use thenew query API.QueryBuilder.eager(int limit, RelationInfo relationInfo, RelationInfo... more) Likeeager(RelationInfo, RelationInfo[]), but limits eager loading to the given count.QueryBuilder.eager(RelationInfo relationInfo, RelationInfo... more) Specifies relations that should be resolved eagerly.QueryBuilder.endsWith(Property<T> property, String value, QueryBuilder.StringOrder order) Note: New code should use thenew query API.Note: New code should use thenew query API.Note: New code should use thenew query API.Note: New code should use thenew query API.Note: New code should use thenew query API.QueryBuilder.equal(Property<T> property, String value, QueryBuilder.StringOrder order) Note: New code should use thenew query API.Note: New code should use thenew query API.QueryBuilder.filter(QueryFilter<T> filter) Sets a filter that executes on primary query results (returned from the db core) on a Java level.Note: New code should use thenew query API.Note: New code should use thenew query API.Note: New code should use thenew query API.QueryBuilder.greater(Property<T> property, String value, QueryBuilder.StringOrder order) Note: New code should use thenew query API.Note: New code should use thenew query API.QueryBuilder.greaterOrEqual(Property<T> property, byte[] value) Note: New code should use thenew query API.QueryBuilder.greaterOrEqual(Property<T> property, double value) Note: New code should use thenew query API.QueryBuilder.greaterOrEqual(Property<T> property, long value) Note: New code should use thenew query API.QueryBuilder.greaterOrEqual(Property<T> property, String value, QueryBuilder.StringOrder order) Note: New code should use thenew query API.QueryBuilder.greaterOrEqual(Property<T> property, Date value) Note: New code should use thenew query API.Note: New code should use thenew query API.Note: New code should use thenew query API.QueryBuilder.in(Property<T> property, String[] values, QueryBuilder.StringOrder order) Note: New code should use thenew query API.Note: New code should use thenew query API.Note: New code should use thenew query API.Note: New code should use thenew query API.Note: New code should use thenew query API.QueryBuilder.less(Property<T> property, String value, QueryBuilder.StringOrder order) Note: New code should use thenew query API.Note: New code should use thenew query API.QueryBuilder.lessOrEqual(Property<T> property, byte[] value) Note: New code should use thenew query API.QueryBuilder.lessOrEqual(Property<T> property, double value) Note: New code should use thenew query API.QueryBuilder.lessOrEqual(Property<T> property, long value) Note: New code should use thenew query API.QueryBuilder.lessOrEqual(Property<T> property, String value, QueryBuilder.StringOrder order) Note: New code should use thenew query API.QueryBuilder.lessOrEqual(Property<T> property, Date value) Note: New code should use thenew query API.private <TARGET> QueryBuilder<TARGET> QueryBuilder.link(RelationInfo<?, ?> relationInfo, EntityInfo<?> relationOwner, EntityInfo<?> target, boolean backlink) <TARGET> QueryBuilder<TARGET> QueryBuilder.link(RelationInfo<?, TARGET> relationInfo) Creates a link to another entity, for which you also can describe conditions using the returned builder.QueryBuilder.nearestNeighbors(Property<T> property, float[] queryVector, int maxResultCount) Note: New code should use thenew query API.Note: New code should use thenew query API.Note: New code should use thenew query API.QueryBuilder.notEqual(Property<T> property, String value, QueryBuilder.StringOrder order) Note: New code should use thenew query API.Note: New code should use thenew query API.Note: New code should use thenew query API.Note: New code should use thenew query API.Note: New code should use thenew query API.QueryBuilder.or()Combines the previous condition with the following condition with a logical OR.Specifies given property to be used for sorting.Defines the order with which the results are ordered (default: none).Specifies given property in descending order to be used for sorting.QueryBuilder.parameterAlias(String alias) Note: New code should use thenew query API.QueryBuilder.relationCount(RelationInfo<T, ?> relationInfo, int relationCount) Note: New code should use thenew query API.QueryBuilder.sort(Comparator<T> comparator) QueryBuilder.startsWith(Property<T> property, String value, QueryBuilder.StringOrder order) Note: New code should use thenew query API.Methods in io.objectbox.query with parameters of type QueryBuilderModifier and TypeMethodDescription(package private) voidLogicQueryCondition.apply(QueryBuilder<T> builder) voidPropertyQueryConditionImpl.apply(QueryBuilder<T> builder) (package private) abstract voidQueryConditionImpl.apply(QueryBuilder<T> builder) (package private) voidRelationCountCondition.apply(QueryBuilder<T> builder) (package private) abstract voidPropertyQueryConditionImpl.applyCondition(QueryBuilder<T> builder) (package private) voidPropertyQueryConditionImpl.ByteArrayCondition.applyCondition(QueryBuilder<T> builder) (package private) voidPropertyQueryConditionImpl.DoubleCondition.applyCondition(QueryBuilder<T> builder) (package private) voidPropertyQueryConditionImpl.DoubleDoubleCondition.applyCondition(QueryBuilder<T> builder) (package private) voidPropertyQueryConditionImpl.IntArrayCondition.applyCondition(QueryBuilder<T> builder) (package private) voidPropertyQueryConditionImpl.LongArrayCondition.applyCondition(QueryBuilder<T> builder) (package private) voidPropertyQueryConditionImpl.LongCondition.applyCondition(QueryBuilder<T> builder) (package private) voidPropertyQueryConditionImpl.LongLongCondition.applyCondition(QueryBuilder<T> builder) (package private) voidPropertyQueryConditionImpl.NearestNeighborCondition.applyCondition(QueryBuilder<T> builder) (package private) voidPropertyQueryConditionImpl.NullCondition.applyCondition(QueryBuilder<T> builder) (package private) voidPropertyQueryConditionImpl.StringArrayCondition.applyCondition(QueryBuilder<T> builder) (package private) voidPropertyQueryConditionImpl.StringCondition.applyCondition(QueryBuilder<T> builder) (package private) voidPropertyQueryConditionImpl.StringStringCondition.applyCondition(QueryBuilder<T> builder) (package private) voidLogicQueryCondition.AndCondition.applyOperator(QueryBuilder<T> builder, long leftCondition, long rightCondition) (package private) abstract voidLogicQueryCondition.applyOperator(QueryBuilder<T> builder, long leftCondition, long rightCondition) (package private) voidLogicQueryCondition.OrCondition.applyOperator(QueryBuilder<T> builder, long leftCondition, long rightCondition)