| Package | Description |
|---|---|
| com.mongodb.operation |
The core of the MongoDB driver works via operations, using the command pattern.
|
| Modifier and Type | Method and Description |
|---|---|
DistinctOperation<T> |
DistinctOperation.collation(Collation collation)
Sets the collation options
|
DistinctOperation<T> |
DistinctOperation.filter(BsonDocument filter)
Sets the query filter to apply to the query.
|
DistinctOperation<T> |
DistinctOperation.maxTime(long maxTime,
TimeUnit timeUnit)
Sets the maximum execution time on the server for this operation.
|
DistinctOperation<T> |
DistinctOperation.readConcern(ReadConcern readConcern)
Sets the read concern
|
Copyright © 2017. All Rights Reserved.