| 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 |
|---|---|
protected <O> AggregationResults<O> |
MongoTemplate.aggregate(Aggregation aggregation,
String collectionName,
Class<O> outputType,
AggregationOperationContext context) |
| Modifier and Type | Class and Description |
|---|---|
class |
TypeBasedAggregationOperationContext
AggregationOperationContext aware of a particular type and a MappingContext to potentially translate
property references into document field names. |
| Modifier and Type | Field and Description |
|---|---|
static AggregationOperationContext |
Aggregation.DEFAULT_CONTEXT |
| Modifier and Type | Method and Description |
|---|---|
protected List<Object> |
BucketOperationSupport.OperationOutput.getOperationArguments(AggregationOperationContext context) |
com.mongodb.DBObject |
VariableOperators.Map.toDbObject(AggregationOperationContext context) |
com.mongodb.DBObject |
VariableOperators.Let.toDbObject(AggregationOperationContext context) |
com.mongodb.DBObject |
ConditionalOperators.IfNull.toDbObject(AggregationOperationContext context) |
com.mongodb.DBObject |
ConditionalOperators.Switch.CaseOperator.toDbObject(AggregationOperationContext context) |
com.mongodb.DBObject |
ConditionalOperators.Cond.toDbObject(AggregationOperationContext context) |
com.mongodb.DBObject |
BucketOperationSupport.Outputs.toDbObject(AggregationOperationContext context) |
com.mongodb.DBObject |
BucketOperationSupport.OperationOutput.toDbObject(AggregationOperationContext context) |
com.mongodb.DBObject |
ArrayOperators.Filter.toDbObject(AggregationOperationContext context) |
com.mongodb.DBObject |
ArrayOperators.Reduce.toDbObject(AggregationOperationContext context) |
com.mongodb.DBObject |
ArrayOperators.Reduce.PropertyExpression.toDbObject(AggregationOperationContext context) |
com.mongodb.DBObject |
AggregationSpELExpression.toDbObject(AggregationOperationContext context) |
com.mongodb.DBObject |
AggregationExpression.toDbObject(AggregationOperationContext context)
|
com.mongodb.DBObject |
UnwindOperation.toDBObject(AggregationOperationContext context) |
com.mongodb.DBObject |
SortOperation.toDBObject(AggregationOperationContext context) |
com.mongodb.DBObject |
SkipOperation.toDBObject(AggregationOperationContext context) |
com.mongodb.DBObject |
ReplaceRootOperation.toDBObject(AggregationOperationContext context) |
com.mongodb.DBObject |
ProjectionOperation.toDBObject(AggregationOperationContext context) |
com.mongodb.DBObject |
ProjectionOperation.ProjectionOperationBuilder.toDBObject(AggregationOperationContext context) |
com.mongodb.DBObject |
OutOperation.toDBObject(AggregationOperationContext context) |
com.mongodb.DBObject |
MatchOperation.toDBObject(AggregationOperationContext context) |
com.mongodb.DBObject |
LookupOperation.toDBObject(AggregationOperationContext context) |
com.mongodb.DBObject |
LimitOperation.toDBObject(AggregationOperationContext context) |
com.mongodb.DBObject |
GroupOperation.toDBObject(AggregationOperationContext context) |
com.mongodb.DBObject |
GraphLookupOperation.toDBObject(AggregationOperationContext context) |
com.mongodb.DBObject |
GeoNearOperation.toDBObject(AggregationOperationContext context) |
com.mongodb.DBObject |
FacetOperation.toDBObject(AggregationOperationContext context) |
com.mongodb.DBObject |
CountOperation.toDBObject(AggregationOperationContext context) |
com.mongodb.DBObject |
BucketOperationSupport.toDBObject(AggregationOperationContext context) |
com.mongodb.DBObject |
BucketOperation.toDBObject(AggregationOperationContext context) |
com.mongodb.DBObject |
BucketAutoOperation.toDBObject(AggregationOperationContext context) |
com.mongodb.DBObject |
AggregationOperation.toDBObject(AggregationOperationContext context)
|
com.mongodb.DBObject |
AccumulatorOperators.Sum.toDbObject(Object value,
AggregationOperationContext context) |
com.mongodb.DBObject |
AccumulatorOperators.Avg.toDbObject(Object value,
AggregationOperationContext context) |
com.mongodb.DBObject |
AccumulatorOperators.Max.toDbObject(Object value,
AggregationOperationContext context) |
com.mongodb.DBObject |
AccumulatorOperators.Min.toDbObject(Object value,
AggregationOperationContext context) |
com.mongodb.DBObject |
AccumulatorOperators.StdDevPop.toDbObject(Object value,
AggregationOperationContext context) |
com.mongodb.DBObject |
AccumulatorOperators.StdDevSamp.toDbObject(Object value,
AggregationOperationContext context) |
com.mongodb.DBObject |
Aggregation.toDbObject(String inputCollectionName,
AggregationOperationContext rootContext)
Converts this
Aggregation specification to a DBObject. |
Object |
ReplaceRootOperation.Replacement.toDocumentExpression(AggregationOperationContext context)
Renders the current
ReplaceRootOperation.Replacement into a its MongoDB representation based on the given
AggregationOperationContext. |
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.