Package | Description |
---|---|
com.mongodb.operation |
The core of the MongoDB driver works via operations, using the command pattern.
|
Modifier and Type | Method and Description |
---|---|
GroupOperation<T> |
GroupOperation.filter(BsonDocument filter)
Sets the optional query filter to determine which documents in the collection to process.
|
GroupOperation<T> |
GroupOperation.finalizeFunction(BsonJavaScript finalizeFunction)
Sets the function that runs each item in the result set before returning the final value.
|
GroupOperation<T> |
GroupOperation.key(BsonDocument key)
Sets the document containing the field or fields to group.
|
GroupOperation<T> |
GroupOperation.keyFunction(BsonJavaScript keyFunction)
Sets the function that creates a "key object" for use as the grouping key.
|
Copyright © 2016. All Rights Reserved.