public class UnwindOperation extends Object implements AggregationOperation
$unwind-operation.
We recommend to use the static factory method Aggregation.unwind(String) instead of creating instances of
this class directly.
http://docs.mongodb.org/manual/reference/aggregation/unwind/#pipe._S_unwind| Constructor and Description |
|---|
UnwindOperation(Field field)
Creates a new
UnwindOperation for the given Field. |
| Modifier and Type | Method and Description |
|---|---|
com.mongodb.DBObject |
toDBObject(AggregationOperationContext context)
|
public UnwindOperation(Field field)
UnwindOperation for the given Field.field - must not be null.public com.mongodb.DBObject toDBObject(AggregationOperationContext context)
AggregationOperationtoDBObject in interface AggregationOperationCopyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.