Package | Description |
---|---|
org.springframework.data.mongodb.core |
MongoDB core support.
|
org.springframework.data.mongodb.core.aggregation |
Support for the MongoDB aggregation framework.
|
Modifier and Type | Method and Description |
---|---|
<O> AggregationResults<O> |
MongoTemplate.aggregate(TypedAggregation<?> aggregation,
Class<O> outputType) |
<O> AggregationResults<O> |
MongoOperations.aggregate(TypedAggregation<?> aggregation,
Class<O> outputType)
Execute an aggregation operation.
|
<O> AggregationResults<O> |
MongoTemplate.aggregate(TypedAggregation<?> aggregation,
String inputCollectionName,
Class<O> outputType) |
<O> AggregationResults<O> |
MongoOperations.aggregate(TypedAggregation<?> aggregation,
String collectionName,
Class<O> outputType)
Execute an aggregation operation.
|
Modifier and Type | Method and Description |
---|---|
static <T> TypedAggregation<T> |
Aggregation.newAggregation(Class<T> type,
AggregationOperation... operations)
Creates a new
TypedAggregation for the given type and AggregationOperation s. |
static <T> TypedAggregation<T> |
Aggregation.newAggregation(Class<T> type,
List<? extends AggregationOperation> operations)
Creates a new
TypedAggregation for the given type and AggregationOperation s. |
TypedAggregation<I> |
TypedAggregation.withOptions(AggregationOptions options) |
Copyright © 2011-2015–2015 Pivotal Software, Inc.. All rights reserved.