Package | Description |
---|---|
com.mongodb.operation |
The core of the MongoDB driver works via operations, using the command pattern.
|
Modifier and Type | Method and Description |
---|---|
CountOperation |
CountOperation.filter(BsonDocument filter)
Sets the filter to apply to the query.
|
CountOperation |
CountOperation.hint(BsonValue hint)
Sets the hint to apply.
|
CountOperation |
CountOperation.limit(long limit)
Sets the limit to apply.
|
CountOperation |
CountOperation.maxTime(long maxTime,
TimeUnit timeUnit)
Sets the maximum execution time on the server for this operation.
|
CountOperation |
CountOperation.readConcern(ReadConcern readConcern)
Sets the read concern
|
CountOperation |
CountOperation.skip(long skip)
Sets the number of documents to skip.
|
Copyright © 2016. All Rights Reserved.