| Package | Description |
|---|---|
| org.springframework.data.mongodb.core.aggregation |
Support for the MongoDB aggregation framework.
|
| Modifier and Type | Field and Description |
|---|---|
static AggregationOptions |
Aggregation.DEFAULT_OPTIONS |
| Modifier and Type | Method and Description |
|---|---|
AggregationOptions |
AggregationOptions.Builder.build()
Returns a new
AggregationOptions instance with the given configuration. |
static AggregationOptions |
AggregationOptions.fromDocument(org.bson.Document document)
Creates new
AggregationOptions given DBObject containing aggregation options. |
AggregationOptions |
Aggregation.getOptions()
Get
AggregationOptions to apply. |
| Modifier and Type | Method and Description |
|---|---|
TypedAggregation<I> |
TypedAggregation.withOptions(AggregationOptions options) |
Aggregation |
Aggregation.withOptions(AggregationOptions options)
Returns a copy of this
Aggregation with the given AggregationOptions set. |
| Constructor and Description |
|---|
Aggregation(List<AggregationOperation> aggregationOperations,
AggregationOptions options)
Creates a new
Aggregation from the given AggregationOperations. |
TypedAggregation(Class<I> inputType,
List<AggregationOperation> operations,
AggregationOptions options)
Creates a new
TypedAggregation from the given AggregationOperations and the given
AggregationOptions. |
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.