Package | Description |
---|---|
com.mongodb |
The core mongodb package
|
Modifier and Type | Method and Description |
---|---|
AggregationOptions.Builder |
AggregationOptions.Builder.allowDiskUse(Boolean allowDiskUse)
Set whether to enable external sort capabilities.
|
AggregationOptions.Builder |
AggregationOptions.Builder.batchSize(Integer size)
Sets the size of batches to use when iterating over results.
|
static AggregationOptions.Builder |
AggregationOptions.builder()
Creates a new Builder for
AggregationOptions . |
AggregationOptions.Builder |
AggregationOptions.Builder.bypassDocumentValidation(Boolean bypassDocumentValidation)
Sets whether to bypass document validation.
|
AggregationOptions.Builder |
AggregationOptions.Builder.collation(Collation collation)
Sets the collation
|
AggregationOptions.Builder |
AggregationOptions.Builder.maxTime(long maxTime,
TimeUnit timeUnit)
Sets the maximum execution time for the aggregation command.
|
AggregationOptions.Builder |
AggregationOptions.Builder.outputMode(AggregationOptions.OutputMode mode)
Deprecated.
There is no replacement for this. Applications can assume that the driver will use a cursor for server versions
that support it (>= 2.6). The driver will ignore this as of MongoDB 3.6, which does not support inline results for the
aggregate command.
|
Copyright © 2018. All rights reserved.