## Uses of Interface
com.holonplatform.datastore.mongo.core.expression.BsonQueryDefinition.Builder

- Packages that use BsonQueryDefinition.Builder
  Package | Description
  --- | ---
  com.holonplatform.datastore.mongo.core.expression |

- - ### Uses of BsonQueryDefinition.Builder in com.holonplatform.datastore.mongo.core.expression

    Methods in com.holonplatform.datastore.mongo.core.expression that return BsonQueryDefinition.Builder
    Modifier and Type | Method and Description
    --- | ---
    `BsonQueryDefinition.Builder` | BsonQueryDefinition.Builder.`batchSize(int batchSize)` Set the query batch size.
    `static BsonQueryDefinition.Builder` | BsonQueryDefinition.`builder()` Get a `BsonQueryDefinition` builder.
    `BsonQueryDefinition.Builder` | BsonQueryDefinition.Builder.`collation(com.mongodb.client.model.Collation collation)` Set the `Collation` to use.
    `BsonQueryDefinition.Builder` | BsonQueryDefinition.Builder.`collectionName(String collectionName)` Set the query collection name.
    `BsonQueryDefinition.Builder` | BsonQueryDefinition.Builder.`comment(String comment)` Set the query comment.
    `BsonQueryDefinition.Builder` | BsonQueryDefinition.Builder.`cursorType(com.mongodb.CursorType cursorType)` Set the cursor type.
    `BsonQueryDefinition.Builder` | BsonQueryDefinition.Builder.`distinct(boolean distinct)` Set whether the query should return distinct results.
    `BsonQueryDefinition.Builder` | BsonQueryDefinition.Builder.`filter(BsonFilterExpression filter)` Set the query filter.
    `BsonQueryDefinition.Builder` | BsonQueryDefinition.Builder.`group(org.bson.conversions.Bson group)` Set the group id for aggregation type query.
    `BsonQueryDefinition.Builder` | BsonQueryDefinition.Builder.`groupFilter(BsonFilterExpression groupFilter)` Set the filter to apply to the group stage in an aggregation type query.
    `BsonQueryDefinition.Builder` | BsonQueryDefinition.Builder.`hint(org.bson.conversions.Bson hint)` Set the hint for which index to use.
    `BsonQueryDefinition.Builder` | BsonQueryDefinition.Builder.`limit(int limit)` Set the query results limit.
    `BsonQueryDefinition.Builder` | BsonQueryDefinition.Builder.`max(org.bson.conversions.Bson max)` Set the exclusive upper bound for a specific index.
    `BsonQueryDefinition.Builder` | BsonQueryDefinition.Builder.`min(org.bson.conversions.Bson min)` Set the inclusive lower bound for a specific index.
    `BsonQueryDefinition.Builder` | BsonQueryDefinition.Builder.`offset(int offset)` Set the query results offset.
    `BsonQueryDefinition.Builder` | BsonQueryDefinition.Builder.`partial(boolean partial)` Set whether to get partial results from a sharded cluster if one or more shards are unreachable (instead of throwing an error).
    `BsonQueryDefinition.Builder` | BsonQueryDefinition.Builder.`returnKey(boolean returnKey)` Set whether the find operation will return only the index keys in the resulting documents.
    `BsonQueryDefinition.Builder` | BsonQueryDefinition.Builder.`showRecordId(boolean showRecordId)` Set whether to add a `$recordId` field to the returned documents.
    `BsonQueryDefinition.Builder` | BsonQueryDefinition.Builder.`sort(org.bson.conversions.Bson sort)` Set the query sort.
    `BsonQueryDefinition.Builder` | BsonQueryDefinition.Builder.`timeout(long timeout, TimeUnit timeoutUnit)` Set the query execution timeout.

Copyright © 2019 The Holon Platform. All rights reserved.