public class OutOperation extends Object implements AggregationOperation
$out-operation.
We recommend to use the static factory method Aggregation.out(String) instead of creating instances of this
class directly.
| Constructor and Description |
|---|
OutOperation(String outCollectionName) |
| Modifier and Type | Method and Description |
|---|---|
com.mongodb.DBObject |
toDBObject(AggregationOperationContext context)
|
public OutOperation(String outCollectionName)
outCollectionName - Collection name to export the results. Must not be null.public com.mongodb.DBObject toDBObject(AggregationOperationContext context)
AggregationOperationtoDBObject in interface AggregationOperationCopyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.