Package | Description |
---|---|
com.mongodb.async.client |
This packages contains classes for the new async client
|
Modifier and Type | Method and Description |
---|---|
ChangeStreamIterable<TResult> |
ChangeStreamIterable.batchSize(int batchSize)
Sets the number of documents to return per batch.
|
ChangeStreamIterable<TResult> |
ChangeStreamIterable.collation(Collation collation)
Sets the collation options
|
ChangeStreamIterable<TResult> |
ChangeStreamIterable.fullDocument(FullDocument fullDocument)
Sets the fullDocument value.
|
ChangeStreamIterable<TResult> |
ChangeStreamIterable.maxAwaitTime(long maxAwaitTime,
TimeUnit timeUnit)
Sets the maximum await execution time on the server for this operation.
|
ChangeStreamIterable<TResult> |
ChangeStreamIterable.resumeAfter(BsonDocument resumeToken)
Sets the logical starting point for the new change stream.
|
ChangeStreamIterable<TDocument> |
MongoCollection.watch()
Creates a change stream for this collection.
|
<TResult> ChangeStreamIterable<TResult> |
MongoCollection.watch(Class<TResult> resultClass)
Creates a change stream for this collection.
|
ChangeStreamIterable<TDocument> |
MongoCollection.watch(ClientSession clientSession)
Creates a change stream for this collection.
|
<TResult> ChangeStreamIterable<TResult> |
MongoCollection.watch(ClientSession clientSession,
Class<TResult> resultClass)
Creates a change stream for this collection.
|
ChangeStreamIterable<TDocument> |
MongoCollection.watch(ClientSession clientSession,
List<? extends Bson> pipeline)
Creates a change stream for this collection.
|
<TResult> ChangeStreamIterable<TResult> |
MongoCollection.watch(ClientSession clientSession,
List<? extends Bson> pipeline,
Class<TResult> resultClass)
Creates a change stream for this collection.
|
ChangeStreamIterable<TDocument> |
MongoCollection.watch(List<? extends Bson> pipeline)
Creates a change stream for this collection.
|
<TResult> ChangeStreamIterable<TResult> |
MongoCollection.watch(List<? extends Bson> pipeline,
Class<TResult> resultClass)
Creates a change stream for this collection.
|
Copyright © 2018. All rights reserved.