Package | Description |
---|---|
com.mongodb |
The core mongodb package
|
com.mongodb.operation |
The core of the MongoDB driver works via operations, using the command pattern.
|
Modifier and Type | Method and Description |
---|---|
(package private) GroupOperation<DBObject> |
GroupCommand.toOperation(MongoNamespace namespace,
DBObjectCodec codec) |
Modifier and Type | Method and Description |
---|---|
GroupOperation<T> |
GroupOperation.collation(Collation collation)
Sets the collation options
|
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.
|