Package | Description |
---|---|
com.mongodb.client |
Modifier and Type | Method and Description |
---|---|
DistinctIterable<TResult> |
DistinctIterable.batchSize(int batchSize)
Sets the number of documents to return per batch.
|
DistinctIterable<TResult> |
DistinctIterable.collation(com.mongodb.client.model.Collation collation)
Sets the collation options
|
<TResult> DistinctIterable<TResult> |
MongoCollection.distinct(String fieldName,
org.bson.conversions.Bson filter,
Class<TResult> resultClass)
Gets the distinct values of the specified field name.
|
<TResult> DistinctIterable<TResult> |
MongoCollection.distinct(String fieldName,
Class<TResult> resultClass)
Gets the distinct values of the specified field name.
|
DistinctIterable<TResult> |
DistinctIterable.filter(org.bson.conversions.Bson filter)
Sets the query filter to apply to the query.
|
DistinctIterable<TResult> |
DistinctIterable.maxTime(long maxTime,
TimeUnit timeUnit)
Sets the maximum execution time on the server for this operation.
|
Copyright © 2017. All rights reserved.