public static class AggregationOptions.Builder extends Object
AggregationOptions.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AggregationOptions.Builder |
allowDiskUse(boolean allowDiskUse)
Defines whether to off-load intensive sort-operations to disk.
|
AggregationOptions |
build()
Returns a new
AggregationOptions instance with the given configuration. |
AggregationOptions.Builder |
cursor(com.mongodb.DBObject cursor)
Additional options to the aggregation.
|
AggregationOptions.Builder |
explain(boolean explain)
Defines whether to get the execution plan for the aggregation instead of the actual results.
|
public AggregationOptions.Builder allowDiskUse(boolean allowDiskUse)
allowDiskUse - public AggregationOptions.Builder explain(boolean explain)
explain - public AggregationOptions.Builder cursor(com.mongodb.DBObject cursor)
cursor - public AggregationOptions build()
AggregationOptions instance with the given configuration.Copyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.