Package | Description |
---|---|
com.mongodb.async.client |
This packages contains classes for the new async client
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
AggregateIterableImpl<TDocument,TResult> |
Modifier and Type | Method and Description |
---|---|
AggregateIterable<TDocument> |
MongoCollection.aggregate(ClientSession clientSession,
java.util.List<? extends Bson> pipeline)
Aggregates documents according to the specified aggregation pipeline.
|
AggregateIterable<TDocument> |
MongoCollectionImpl.aggregate(ClientSession clientSession,
java.util.List<? extends Bson> pipeline) |
<TResult> AggregateIterable<TResult> |
MongoCollection.aggregate(ClientSession clientSession,
java.util.List<? extends Bson> pipeline,
java.lang.Class<TResult> resultClass)
Aggregates documents according to the specified aggregation pipeline.
|
<TResult> AggregateIterable<TResult> |
MongoCollectionImpl.aggregate(ClientSession clientSession,
java.util.List<? extends Bson> pipeline,
java.lang.Class<TResult> resultClass) |
AggregateIterable<TDocument> |
MongoCollection.aggregate(java.util.List<? extends Bson> pipeline)
Aggregates documents according to the specified aggregation pipeline.
|
AggregateIterable<TDocument> |
MongoCollectionImpl.aggregate(java.util.List<? extends Bson> pipeline) |
<TResult> AggregateIterable<TResult> |
MongoCollection.aggregate(java.util.List<? extends Bson> pipeline,
java.lang.Class<TResult> resultClass)
Aggregates documents according to the specified aggregation pipeline.
|
<TResult> AggregateIterable<TResult> |
MongoCollectionImpl.aggregate(java.util.List<? extends Bson> pipeline,
java.lang.Class<TResult> resultClass) |
AggregateIterable<TResult> |
AggregateIterable.allowDiskUse(java.lang.Boolean allowDiskUse)
Enables writing to temporary files.
|
AggregateIterable<TResult> |
AggregateIterableImpl.allowDiskUse(java.lang.Boolean allowDiskUse) |
AggregateIterable<TResult> |
AggregateIterable.batchSize(int batchSize)
Sets the number of documents to return per batch.
|
AggregateIterable<TResult> |
AggregateIterableImpl.batchSize(int batchSize) |
AggregateIterable<TResult> |
AggregateIterable.bypassDocumentValidation(java.lang.Boolean bypassDocumentValidation)
Sets the bypass document level validation flag.
|
AggregateIterable<TResult> |
AggregateIterableImpl.bypassDocumentValidation(java.lang.Boolean bypassDocumentValidation) |
AggregateIterable<TResult> |
AggregateIterable.collation(Collation collation)
Sets the collation options
|
AggregateIterable<TResult> |
AggregateIterableImpl.collation(Collation collation) |
AggregateIterable<TResult> |
AggregateIterable.comment(java.lang.String comment)
Sets the comment to the aggregation.
|
AggregateIterable<TResult> |
AggregateIterableImpl.comment(java.lang.String comment) |
private <TResult> AggregateIterable<TResult> |
MongoCollectionImpl.createAggregateIterable(ClientSession clientSession,
java.util.List<? extends Bson> pipeline,
java.lang.Class<TResult> resultClass) |
AggregateIterable<TResult> |
AggregateIterable.hint(Bson hint)
Sets the hint for which index to use.
|
AggregateIterable<TResult> |
AggregateIterableImpl.hint(Bson hint) |
AggregateIterable<TResult> |
AggregateIterable.maxAwaitTime(long maxAwaitTime,
java.util.concurrent.TimeUnit timeUnit)
The maximum amount of time for the server to wait on new documents to satisfy a
$changeStream aggregation. |
AggregateIterable<TResult> |
AggregateIterableImpl.maxAwaitTime(long maxAwaitTime,
java.util.concurrent.TimeUnit timeUnit) |
AggregateIterable<TResult> |
AggregateIterable.maxTime(long maxTime,
java.util.concurrent.TimeUnit timeUnit)
Sets the maximum execution time on the server for this operation.
|
AggregateIterable<TResult> |
AggregateIterableImpl.maxTime(long maxTime,
java.util.concurrent.TimeUnit timeUnit) |
AggregateIterable<TResult> |
AggregateIterable.useCursor(java.lang.Boolean useCursor)
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.
|
AggregateIterable<TResult> |
AggregateIterableImpl.useCursor(java.lang.Boolean useCursor)
Deprecated.
|