Package | Description |
---|---|
com.mongodb.client |
This package contains client interfaces
|
Modifier and Type | Method and Description |
---|---|
DistinctIterable<TResult> |
DistinctIterable.batchSize(int batchSize)
Sets the number of documents to return per batch.
|
<TResult> DistinctIterable<TResult> |
MongoCollection.distinct(String fieldName,
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(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 © 2016. All Rights Reserved.