Spring Data MongoDB - Core

org.springframework.data.mongodb.core.aggregation
Interface AggregationOperation

All Known Subinterfaces:
FieldsExposingAggregationOperation
All Known Implementing Classes:
GeoNearOperation, GroupOperation, MatchOperation, ProjectionOperation, ProjectionOperation.ProjectionOperationBuilder, SkipOperation, SortOperation, UnwindOperation

public interface AggregationOperation

Represents one single operation in an aggregation pipeline.

Since:
1.3
Author:
Sebastian Herold, Thomas Darimont, Oliver Gierke

Method Summary
 com.mongodb.DBObject toDBObject(AggregationOperationContext context)
          Turns the AggregationOperation into a DBObject by using the given AggregationOperationContext.
 

Method Detail

toDBObject

com.mongodb.DBObject toDBObject(AggregationOperationContext context)
Turns the AggregationOperation into a DBObject by using the given AggregationOperationContext.

Returns:
the DBObject

Spring Data MongoDB - Core

Copyright © 2011-2013-2014 Pivotal. All Rights Reserved.