Package | Description |
---|---|
org.springframework.data.mongodb.core |
MongoDB core support.
|
org.springframework.data.mongodb.core.mapreduce |
Support for MongoDB map-reduce operations.
|
Modifier and Type | Method and Description |
---|---|
<T> GroupByResults<T> |
MongoOperations.group(Criteria criteria,
String inputCollectionName,
GroupBy groupBy,
Class<T> entityClass)
Execute a group operation restricting the rows to those which match the provided Criteria.
|
<T> GroupByResults<T> |
MongoTemplate.group(Criteria criteria,
String inputCollectionName,
GroupBy groupBy,
Class<T> entityClass) |
<T> GroupByResults<T> |
MongoOperations.group(String inputCollectionName,
GroupBy groupBy,
Class<T> entityClass)
Execute a group operation over the entire collection.
|
<T> GroupByResults<T> |
MongoTemplate.group(String inputCollectionName,
GroupBy groupBy,
Class<T> entityClass) |
Modifier and Type | Method and Description |
---|---|
GroupBy |
GroupBy.collation(Collation collation)
Define the Collation specifying language-specific rules for string comparison.
|
GroupBy |
GroupBy.finalizeFunction(String finalizeFunction)
Define the function that runs each item in the result set before db.collection.group() returns the final value.
|
GroupBy |
GroupBy.initialDocument(org.bson.Document initialDocument)
Define the aggregation result document.
|
GroupBy |
GroupBy.initialDocument(String initialDocument)
Define the aggregation result document.
|
static GroupBy |
GroupBy.key(String... keys)
Create new
GroupBy with the fields to group. |
static GroupBy |
GroupBy.keyFunction(String key)
Create new
GroupBy with the field to group. |
GroupBy |
GroupBy.reduceFunction(String reduceFunction)
Define the aggregation function that operates on the documents during the grouping operation
|
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.