ReactiveMongoDatabase instead.@Deprecated public interface ReactiveMongoDatabase
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<org.bson.Document> |
aggregate(com.mongodb.reactivestreams.client.ClientSession clientSession,
List<? extends org.bson.conversions.Bson> pipeline)
Deprecated.
Runs an aggregation framework pipeline on the database for pipeline stages
that do not require an underlying collection, such as
$currentOp and $listLocalSessions. |
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<org.bson.Document> |
aggregate(com.mongodb.reactivestreams.client.ClientSession clientSession,
List<? extends org.bson.conversions.Bson> pipeline,
AggregateOptions options)
Deprecated.
Runs an aggregation framework pipeline on the database for pipeline stages
that do not require an underlying collection, such as
$currentOp and $listLocalSessions. |
<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<T> |
aggregate(com.mongodb.reactivestreams.client.ClientSession clientSession,
List<? extends org.bson.conversions.Bson> pipeline,
Class<T> clazz)
Deprecated.
Runs an aggregation framework pipeline on the database for pipeline stages
that do not require an underlying collection, such as
$currentOp and $listLocalSessions. |
<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<T> |
aggregate(com.mongodb.reactivestreams.client.ClientSession clientSession,
List<? extends org.bson.conversions.Bson> pipeline,
Class<T> clazz,
AggregateOptions options)
Deprecated.
Runs an aggregation framework pipeline on the database for pipeline stages
that do not require an underlying collection, such as
$currentOp and $listLocalSessions. |
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<org.bson.Document> |
aggregate(List<? extends org.bson.conversions.Bson> pipeline)
Deprecated.
Runs an aggregation framework pipeline on the database for pipeline stages
that do not require an underlying collection, such as
$currentOp and $listLocalSessions. |
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<org.bson.Document> |
aggregate(List<? extends org.bson.conversions.Bson> pipeline,
AggregateOptions options)
Deprecated.
Runs an aggregation framework pipeline on the database for pipeline stages
that do not require an underlying collection, such as
$currentOp and $listLocalSessions. |
<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<T> |
aggregate(List<? extends org.bson.conversions.Bson> pipeline,
Class<T> clazz)
Deprecated.
Runs an aggregation framework pipeline on the database for pipeline stages
that do not require an underlying collection, such as
$currentOp and $listLocalSessions. |
<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<T> |
aggregate(List<? extends org.bson.conversions.Bson> pipeline,
Class<T> clazz,
AggregateOptions options)
Deprecated.
Runs an aggregation framework pipeline on the database for pipeline stages
that do not require an underlying collection, such as
$currentOp and $listLocalSessions. |
com.mongodb.reactivestreams.client.AggregatePublisher<org.bson.Document> |
aggregateAsPublisher(com.mongodb.reactivestreams.client.ClientSession clientSession,
List<? extends org.bson.conversions.Bson> pipeline)
Deprecated.
Runs an aggregation framework pipeline on the database for pipeline stages
that do not require an underlying collection, such as
$currentOp and $listLocalSessions. |
<T> com.mongodb.reactivestreams.client.AggregatePublisher<T> |
aggregateAsPublisher(com.mongodb.reactivestreams.client.ClientSession clientSession,
List<? extends org.bson.conversions.Bson> pipeline,
Class<T> clazz)
Deprecated.
Runs an aggregation framework pipeline on the database for pipeline stages
that do not require an underlying collection, such as
$currentOp and $listLocalSessions. |
com.mongodb.reactivestreams.client.AggregatePublisher<org.bson.Document> |
aggregateAsPublisher(List<? extends org.bson.conversions.Bson> pipeline)
Deprecated.
Runs an aggregation framework pipeline on the database for pipeline stages
that do not require an underlying collection, such as
$currentOp and $listLocalSessions. |
<T> com.mongodb.reactivestreams.client.AggregatePublisher<T> |
aggregateAsPublisher(List<? extends org.bson.conversions.Bson> pipeline,
Class<T> clazz)
Deprecated.
Runs an aggregation framework pipeline on the database for pipeline stages
that do not require an underlying collection, such as
$currentOp and $listLocalSessions. |
CompletionStage<Void> |
createCollection(com.mongodb.reactivestreams.client.ClientSession clientSession,
String collectionName)
Deprecated.
Create a new collection with the selected options
|
CompletionStage<Void> |
createCollection(com.mongodb.reactivestreams.client.ClientSession clientSession,
String collectionName,
com.mongodb.client.model.CreateCollectionOptions options)
Deprecated.
Create a new collection with the selected options
|
CompletionStage<Void> |
createCollection(String collectionName)
Deprecated.
Create a new collection with the selected options
|
CompletionStage<Void> |
createCollection(String collectionName,
com.mongodb.client.model.CreateCollectionOptions options)
Deprecated.
Create a new collection with the selected options
|
CompletionStage<Void> |
createView(com.mongodb.reactivestreams.client.ClientSession clientSession,
String viewName,
String viewOn,
List<? extends org.bson.conversions.Bson> pipeline)
Deprecated.
Creates a view with the given name, backing collection/view name, aggregation pipeline, and options that
defines the view.
|
CompletionStage<Void> |
createView(com.mongodb.reactivestreams.client.ClientSession clientSession,
String viewName,
String viewOn,
List<? extends org.bson.conversions.Bson> pipeline,
com.mongodb.client.model.CreateViewOptions createViewOptions)
Deprecated.
Creates a view with the given name, backing collection/view name, aggregation pipeline, and options that
defines the view.
|
CompletionStage<Void> |
createView(String viewName,
String viewOn,
List<? extends org.bson.conversions.Bson> pipeline)
Deprecated.
Creates a view with the given name, backing collection/view name, aggregation pipeline, and options that
defines the view.
|
CompletionStage<Void> |
createView(String viewName,
String viewOn,
List<? extends org.bson.conversions.Bson> pipeline,
com.mongodb.client.model.CreateViewOptions createViewOptions)
Deprecated.
Creates a view with the given name, backing collection/view name, aggregation pipeline, and options that
defines the view.
|
CompletionStage<Void> |
drop()
Deprecated.
Drops this database.
|
CompletionStage<Void> |
drop(com.mongodb.reactivestreams.client.ClientSession clientSession)
Deprecated.
Drops this database.
|
ReactiveMongoCollection<org.bson.Document> |
getCollection(String collectionName)
Deprecated.
Gets a collection.
|
<T> ReactiveMongoCollection<T> |
getCollection(String collectionName,
Class<T> clazz)
Deprecated.
Gets a collection, with a specific default document class.
|
String |
getName()
Deprecated.
Gets the name of the database.
|
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<String> |
listCollectionNames()
Deprecated.
Gets a stream of the names of all the collections in this database.
|
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<String> |
listCollectionNames(com.mongodb.reactivestreams.client.ClientSession clientSession)
Deprecated.
Gets a stream of the names of all the collections in this database.
|
org.reactivestreams.Publisher<String> |
listCollectionNamesAsPublisher()
Deprecated.
Gets a stream of the names of all the collections in this database.
|
org.reactivestreams.Publisher<String> |
listCollectionNamesAsPublisher(com.mongodb.reactivestreams.client.ClientSession clientSession)
Deprecated.
Gets a stream of the names of all the collections in this database.
|
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<org.bson.Document> |
listCollections()
Deprecated.
Finds all the collections in this database.
|
<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<T> |
listCollections(Class<T> clazz)
Deprecated.
Finds all the collections in this database.
|
<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<T> |
listCollections(Class<T> clazz,
CollectionListOptions options)
Deprecated.
Finds all the collections in this database.
|
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<org.bson.Document> |
listCollections(com.mongodb.reactivestreams.client.ClientSession clientSession)
Deprecated.
Finds all the collections in this database.
|
<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<T> |
listCollections(com.mongodb.reactivestreams.client.ClientSession clientSession,
Class<T> clazz)
Deprecated.
Finds all the collections in this database.
|
<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<T> |
listCollections(com.mongodb.reactivestreams.client.ClientSession clientSession,
Class<T> clazz,
CollectionListOptions options)
Deprecated.
Finds all the collections in this database.
|
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<org.bson.Document> |
listCollections(com.mongodb.reactivestreams.client.ClientSession clientSession,
CollectionListOptions options)
Deprecated.
Finds all the collections in this database.
|
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<org.bson.Document> |
listCollections(CollectionListOptions options)
Deprecated.
Finds all the collections in this database.
|
com.mongodb.reactivestreams.client.ListCollectionsPublisher<org.bson.Document> |
listCollectionsAsPublisher()
Deprecated.
Finds all the collections in this database.
|
<T> com.mongodb.reactivestreams.client.ListCollectionsPublisher<T> |
listCollectionsAsPublisher(Class<T> clazz)
Deprecated.
Finds all the collections in this database.
|
com.mongodb.reactivestreams.client.ListCollectionsPublisher<org.bson.Document> |
listCollectionsAsPublisher(com.mongodb.reactivestreams.client.ClientSession clientSession)
Deprecated.
Finds all the collections in this database.
|
<T> com.mongodb.reactivestreams.client.ListCollectionsPublisher<T> |
listCollectionsAsPublisher(com.mongodb.reactivestreams.client.ClientSession clientSession,
Class<T> clazz)
Deprecated.
Finds all the collections in this database.
|
CompletionStage<org.bson.Document> |
runCommand(org.bson.conversions.Bson command)
Deprecated.
Executes command in the context of the current database.
|
<T> CompletionStage<T> |
runCommand(org.bson.conversions.Bson command,
Class<T> clazz)
Deprecated.
Executes command in the context of the current database.
|
CompletionStage<org.bson.Document> |
runCommand(org.bson.conversions.Bson command,
com.mongodb.ReadPreference readPreference)
Deprecated.
Executes command in the context of the current database.
|
<T> CompletionStage<T> |
runCommand(org.bson.conversions.Bson command,
com.mongodb.ReadPreference readPreference,
Class<T> clazz)
Deprecated.
Executes command in the context of the current database.
|
CompletionStage<org.bson.Document> |
runCommand(com.mongodb.reactivestreams.client.ClientSession clientSession,
org.bson.conversions.Bson command)
Deprecated.
Executes command in the context of the current database.
|
<T> CompletionStage<T> |
runCommand(com.mongodb.reactivestreams.client.ClientSession clientSession,
org.bson.conversions.Bson command,
Class<T> clazz)
Deprecated.
Executes command in the context of the current database.
|
CompletionStage<org.bson.Document> |
runCommand(com.mongodb.reactivestreams.client.ClientSession clientSession,
org.bson.conversions.Bson command,
com.mongodb.ReadPreference readPreference)
Deprecated.
Executes command in the context of the current database.
|
<T> CompletionStage<T> |
runCommand(com.mongodb.reactivestreams.client.ClientSession clientSession,
org.bson.conversions.Bson command,
com.mongodb.ReadPreference readPreference,
Class<T> clazz)
Deprecated.
Executes command in the context of the current database.
|
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<org.bson.Document>> |
watch()
Deprecated.
Creates a change stream for this database.
|
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<org.bson.Document>> |
watch(ChangeStreamOptions options)
Deprecated.
Creates a change stream for this database.
|
<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<T>> |
watch(Class<T> clazz)
Deprecated.
Creates a change stream for this database.
|
<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<T>> |
watch(Class<T> clazz,
ChangeStreamOptions options)
Deprecated.
Creates a change stream for this database.
|
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<org.bson.Document>> |
watch(com.mongodb.reactivestreams.client.ClientSession clientSession)
Deprecated.
Creates a change stream for this database.
|
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<org.bson.Document>> |
watch(com.mongodb.reactivestreams.client.ClientSession clientSession,
ChangeStreamOptions options)
Deprecated.
Creates a change stream for this database.
|
<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<T>> |
watch(com.mongodb.reactivestreams.client.ClientSession clientSession,
Class<T> clazz)
Deprecated.
Creates a change stream for this database.
|
<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<T>> |
watch(com.mongodb.reactivestreams.client.ClientSession clientSession,
Class<T> clazz,
ChangeStreamOptions options)
Deprecated.
Creates a change stream for this database.
|
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<org.bson.Document>> |
watch(com.mongodb.reactivestreams.client.ClientSession clientSession,
List<? extends org.bson.conversions.Bson> pipeline)
Deprecated.
Creates a change stream for this database.
|
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<org.bson.Document>> |
watch(com.mongodb.reactivestreams.client.ClientSession clientSession,
List<? extends org.bson.conversions.Bson> pipeline,
ChangeStreamOptions options)
Deprecated.
Creates a change stream for this database.
|
<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<T>> |
watch(com.mongodb.reactivestreams.client.ClientSession clientSession,
List<? extends org.bson.conversions.Bson> pipeline,
Class<T> clazz)
Deprecated.
Creates a change stream for this database.
|
<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<T>> |
watch(com.mongodb.reactivestreams.client.ClientSession clientSession,
List<? extends org.bson.conversions.Bson> pipeline,
Class<T> clazz,
ChangeStreamOptions options)
Deprecated.
Creates a change stream for this database.
|
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<org.bson.Document>> |
watch(List<? extends org.bson.conversions.Bson> pipeline)
Deprecated.
Creates a change stream for this database.
|
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<org.bson.Document>> |
watch(List<? extends org.bson.conversions.Bson> pipeline,
ChangeStreamOptions options)
Deprecated.
Creates a change stream for this database.
|
<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<T>> |
watch(List<? extends org.bson.conversions.Bson> pipeline,
Class<T> clazz)
Deprecated.
Creates a change stream for this database.
|
<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<T>> |
watch(List<? extends org.bson.conversions.Bson> pipeline,
Class<T> clazz,
ChangeStreamOptions options)
Deprecated.
Creates a change stream for this database.
|
com.mongodb.reactivestreams.client.ChangeStreamPublisher<org.bson.Document> |
watchAsPublisher()
Deprecated.
Creates a change stream for this database.
|
<T> com.mongodb.reactivestreams.client.ChangeStreamPublisher<T> |
watchAsPublisher(Class<T> clazz)
Deprecated.
Creates a change stream for this database.
|
com.mongodb.reactivestreams.client.ChangeStreamPublisher<org.bson.Document> |
watchAsPublisher(com.mongodb.reactivestreams.client.ClientSession clientSession)
Deprecated.
Creates a change stream for this database.
|
<T> com.mongodb.reactivestreams.client.ChangeStreamPublisher<T> |
watchAsPublisher(com.mongodb.reactivestreams.client.ClientSession clientSession,
Class<T> clazz)
Deprecated.
Creates a change stream for this database.
|
com.mongodb.reactivestreams.client.ChangeStreamPublisher<org.bson.Document> |
watchAsPublisher(com.mongodb.reactivestreams.client.ClientSession clientSession,
List<? extends org.bson.conversions.Bson> pipeline)
Deprecated.
Creates a change stream for this database.
|
<T> com.mongodb.reactivestreams.client.ChangeStreamPublisher<T> |
watchAsPublisher(com.mongodb.reactivestreams.client.ClientSession clientSession,
List<? extends org.bson.conversions.Bson> pipeline,
Class<T> clazz)
Deprecated.
Creates a change stream for this database.
|
com.mongodb.reactivestreams.client.ChangeStreamPublisher<org.bson.Document> |
watchAsPublisher(List<? extends org.bson.conversions.Bson> pipeline)
Deprecated.
Creates a change stream for this database.
|
<T> com.mongodb.reactivestreams.client.ChangeStreamPublisher<T> |
watchAsPublisher(List<? extends org.bson.conversions.Bson> pipeline,
Class<T> clazz)
Deprecated.
Creates a change stream for this database.
|
String getName()
ReactiveMongoCollection<org.bson.Document> getCollection(String collectionName)
collectionName - the name of the collection to return<T> ReactiveMongoCollection<T> getCollection(String collectionName, Class<T> clazz)
T - the type of the class to use instead of Document.collectionName - the name of the collection to returnclazz - the default class to cast any documents returned from the database into.CompletionStage<org.bson.Document> runCommand(org.bson.conversions.Bson command)
command - the command to be runCompletionStage<org.bson.Document> runCommand(org.bson.conversions.Bson command, com.mongodb.ReadPreference readPreference)
command - the command to be runreadPreference - the ReadPreference to be used when executing the command<T> CompletionStage<T> runCommand(org.bson.conversions.Bson command, Class<T> clazz)
T - the type of the class to use instead of Document.command - the command to be runclazz - the default class to cast any documents returned from the database into.<T> CompletionStage<T> runCommand(org.bson.conversions.Bson command, com.mongodb.ReadPreference readPreference, Class<T> clazz)
T - the type of the class to use instead of Document.command - the command to be runreadPreference - the ReadPreference to be used when executing the commandclazz - the default class to cast any documents returned from the database into.CompletionStage<org.bson.Document> runCommand(com.mongodb.reactivestreams.client.ClientSession clientSession, org.bson.conversions.Bson command)
clientSession - the client session with which to associate this operationcommand - the command to be runCompletionStage<org.bson.Document> runCommand(com.mongodb.reactivestreams.client.ClientSession clientSession, org.bson.conversions.Bson command, com.mongodb.ReadPreference readPreference)
clientSession - the client session with which to associate this operationreadPreference - the ReadPreference to be used when executing the commandcommand - the command to be run<T> CompletionStage<T> runCommand(com.mongodb.reactivestreams.client.ClientSession clientSession, org.bson.conversions.Bson command, Class<T> clazz)
T - the type of the class to use instead of Document.clientSession - the client session with which to associate this operationcommand - the command to be runclazz - the default class to cast any documents returned from the database into.<T> CompletionStage<T> runCommand(com.mongodb.reactivestreams.client.ClientSession clientSession, org.bson.conversions.Bson command, com.mongodb.ReadPreference readPreference, Class<T> clazz)
T - the type of the class to use instead of Document.clientSession - the client session with which to associate this operationreadPreference - the ReadPreference to be used when executing the commandcommand - the command to be runclazz - the default class to cast any documents returned from the database into.CompletionStage<Void> drop()
CompletionStage<Void> drop(com.mongodb.reactivestreams.client.ClientSession clientSession)
clientSession - the client session with which to associate this operationorg.reactivestreams.Publisher<String> listCollectionNamesAsPublisher()
org.reactivestreams.Publisher<String> listCollectionNamesAsPublisher(com.mongodb.reactivestreams.client.ClientSession clientSession)
clientSession - the client session with which to associate this operationcom.mongodb.reactivestreams.client.ListCollectionsPublisher<org.bson.Document> listCollectionsAsPublisher()
<T> com.mongodb.reactivestreams.client.ListCollectionsPublisher<T> listCollectionsAsPublisher(Class<T> clazz)
T - the target document type of the iterableclazz - the class to decode each document intocom.mongodb.reactivestreams.client.ListCollectionsPublisher<org.bson.Document> listCollectionsAsPublisher(com.mongodb.reactivestreams.client.ClientSession clientSession)
clientSession - the client session with which to associate this operation<T> com.mongodb.reactivestreams.client.ListCollectionsPublisher<T> listCollectionsAsPublisher(com.mongodb.reactivestreams.client.ClientSession clientSession,
Class<T> clazz)
T - the target document type of the iterableclientSession - the client session with which to associate this operationclazz - the class to decode each document intoorg.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<String> listCollectionNames()
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<String> listCollectionNames(com.mongodb.reactivestreams.client.ClientSession clientSession)
clientSession - the client session with which to associate this operationorg.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<org.bson.Document> listCollections()
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<org.bson.Document> listCollections(CollectionListOptions options)
options - the stream options<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<T> listCollections(Class<T> clazz)
T - the target document type of the iterableclazz - the class to decode each document into<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<T> listCollections(Class<T> clazz, CollectionListOptions options)
T - the target document type of the iterableclazz - the class to decode each document intooptions - the stream optionsorg.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<org.bson.Document> listCollections(com.mongodb.reactivestreams.client.ClientSession clientSession)
clientSession - the client session with which to associate this operationorg.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<org.bson.Document> listCollections(com.mongodb.reactivestreams.client.ClientSession clientSession,
CollectionListOptions options)
clientSession - the client session with which to associate this operationoptions - the stream options<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<T> listCollections(com.mongodb.reactivestreams.client.ClientSession clientSession,
Class<T> clazz)
T - the target document type of the iterableclientSession - the client session with which to associate this operationclazz - the class to decode each document into<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<T> listCollections(com.mongodb.reactivestreams.client.ClientSession clientSession,
Class<T> clazz,
CollectionListOptions options)
T - the target document type of the iterableclientSession - the client session with which to associate this operationclazz - the class to decode each document intooptions - the stream optionsCompletionStage<Void> createCollection(String collectionName)
collectionName - the name for the new collection to createCompletionStage<Void> createCollection(String collectionName, com.mongodb.client.model.CreateCollectionOptions options)
collectionName - the name for the new collection to createoptions - various options for creating the collectionCompletionStage<Void> createCollection(com.mongodb.reactivestreams.client.ClientSession clientSession, String collectionName)
clientSession - the client session with which to associate this operationcollectionName - the name for the new collection to createCompletionStage<Void> createCollection(com.mongodb.reactivestreams.client.ClientSession clientSession, String collectionName, com.mongodb.client.model.CreateCollectionOptions options)
clientSession - the client session with which to associate this operationcollectionName - the name for the new collection to createoptions - various options for creating the collectionCompletionStage<Void> createView(String viewName, String viewOn, List<? extends org.bson.conversions.Bson> pipeline)
viewName - the name of the view to createviewOn - the backing collection/view for the viewpipeline - the pipeline that defines the viewCompletionStage<Void> createView(String viewName, String viewOn, List<? extends org.bson.conversions.Bson> pipeline, com.mongodb.client.model.CreateViewOptions createViewOptions)
viewName - the name of the view to createviewOn - the backing collection/view for the viewpipeline - the pipeline that defines the viewcreateViewOptions - various options for creating the viewCompletionStage<Void> createView(com.mongodb.reactivestreams.client.ClientSession clientSession, String viewName, String viewOn, List<? extends org.bson.conversions.Bson> pipeline)
clientSession - the client session with which to associate this operationviewName - the name of the view to createviewOn - the backing collection/view for the viewpipeline - the pipeline that defines the viewCompletionStage<Void> createView(com.mongodb.reactivestreams.client.ClientSession clientSession, String viewName, String viewOn, List<? extends org.bson.conversions.Bson> pipeline, com.mongodb.client.model.CreateViewOptions createViewOptions)
clientSession - the client session with which to associate this operationviewName - the name of the view to createviewOn - the backing collection/view for the viewpipeline - the pipeline that defines the viewcreateViewOptions - various options for creating the viewcom.mongodb.reactivestreams.client.ChangeStreamPublisher<org.bson.Document> watchAsPublisher()
<T> com.mongodb.reactivestreams.client.ChangeStreamPublisher<T> watchAsPublisher(Class<T> clazz)
T - the target document type of the iterableclazz - the class to decode each document intocom.mongodb.reactivestreams.client.ChangeStreamPublisher<org.bson.Document> watchAsPublisher(List<? extends org.bson.conversions.Bson> pipeline)
pipeline - the aggregation pipeline to apply to the change stream<T> com.mongodb.reactivestreams.client.ChangeStreamPublisher<T> watchAsPublisher(List<? extends org.bson.conversions.Bson> pipeline, Class<T> clazz)
T - the target document type of the iterablepipeline - the aggregation pipeline to apply to the change streamclazz - the class to decode each document intocom.mongodb.reactivestreams.client.ChangeStreamPublisher<org.bson.Document> watchAsPublisher(com.mongodb.reactivestreams.client.ClientSession clientSession)
clientSession - the client session with which to associate this operation<T> com.mongodb.reactivestreams.client.ChangeStreamPublisher<T> watchAsPublisher(com.mongodb.reactivestreams.client.ClientSession clientSession,
Class<T> clazz)
T - the target document type of the iterableclientSession - the client session with which to associate this operationclazz - the class to decode each document intocom.mongodb.reactivestreams.client.ChangeStreamPublisher<org.bson.Document> watchAsPublisher(com.mongodb.reactivestreams.client.ClientSession clientSession,
List<? extends org.bson.conversions.Bson> pipeline)
clientSession - the client session with which to associate this operationpipeline - the aggregation pipeline to apply to the change stream<T> com.mongodb.reactivestreams.client.ChangeStreamPublisher<T> watchAsPublisher(com.mongodb.reactivestreams.client.ClientSession clientSession,
List<? extends org.bson.conversions.Bson> pipeline,
Class<T> clazz)
T - the target document type of the iterableclientSession - the client session with which to associate this operationpipeline - the aggregation pipeline to apply to the change streamclazz - the class to decode each document intoorg.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<org.bson.Document>> watch()
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<org.bson.Document>> watch(ChangeStreamOptions options)
options - the stream options<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<T>> watch(Class<T> clazz)
T - the target document type of the iterableclazz - the class to decode each document into<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<T>> watch(Class<T> clazz, ChangeStreamOptions options)
T - the target document type of the iterableclazz - the class to decode each document intooptions - the stream optionsorg.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<org.bson.Document>> watch(List<? extends org.bson.conversions.Bson> pipeline)
pipeline - the aggregation pipeline to apply to the change streamorg.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<org.bson.Document>> watch(List<? extends org.bson.conversions.Bson> pipeline, ChangeStreamOptions options)
pipeline - the aggregation pipeline to apply to the change streamoptions - the stream options<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<T>> watch(List<? extends org.bson.conversions.Bson> pipeline, Class<T> clazz)
T - the target document type of the iterablepipeline - the aggregation pipeline to apply to the change streamclazz - the class to decode each document into<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<T>> watch(List<? extends org.bson.conversions.Bson> pipeline, Class<T> clazz, ChangeStreamOptions options)
T - the target document type of the iterablepipeline - the aggregation pipeline to apply to the change streamclazz - the class to decode each document intooptions - the stream optionsorg.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<org.bson.Document>> watch(com.mongodb.reactivestreams.client.ClientSession clientSession)
clientSession - the client session with which to associate this operationorg.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<org.bson.Document>> watch(com.mongodb.reactivestreams.client.ClientSession clientSession,
ChangeStreamOptions options)
clientSession - the client session with which to associate this operationoptions - the stream options<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<T>> watch(com.mongodb.reactivestreams.client.ClientSession clientSession,
Class<T> clazz)
T - the target document type of the iterableclientSession - the client session with which to associate this operationclazz - the class to decode each document into<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<T>> watch(com.mongodb.reactivestreams.client.ClientSession clientSession,
Class<T> clazz,
ChangeStreamOptions options)
T - the target document type of the iterableclientSession - the client session with which to associate this operationclazz - the class to decode each document intooptions - the stream optionsorg.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<org.bson.Document>> watch(com.mongodb.reactivestreams.client.ClientSession clientSession,
List<? extends org.bson.conversions.Bson> pipeline)
clientSession - the client session with which to associate this operationpipeline - the aggregation pipeline to apply to the change streamorg.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<org.bson.Document>> watch(com.mongodb.reactivestreams.client.ClientSession clientSession,
List<? extends org.bson.conversions.Bson> pipeline,
ChangeStreamOptions options)
clientSession - the client session with which to associate this operationpipeline - the aggregation pipeline to apply to the change streamoptions - the stream options<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<T>> watch(com.mongodb.reactivestreams.client.ClientSession clientSession,
List<? extends org.bson.conversions.Bson> pipeline,
Class<T> clazz)
T - the target document type of the iterableclientSession - the client session with which to associate this operationpipeline - the aggregation pipeline to apply to the change streamclazz - the class to decode each document into<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<com.mongodb.client.model.changestream.ChangeStreamDocument<T>> watch(com.mongodb.reactivestreams.client.ClientSession clientSession,
List<? extends org.bson.conversions.Bson> pipeline,
Class<T> clazz,
ChangeStreamOptions options)
T - the target document type of the iterableclientSession - the client session with which to associate this operationpipeline - the aggregation pipeline to apply to the change streamclazz - the class to decode each document intooptions - the stream optionscom.mongodb.reactivestreams.client.AggregatePublisher<org.bson.Document> aggregateAsPublisher(List<? extends org.bson.conversions.Bson> pipeline)
$currentOp and $listLocalSessions.pipeline - the aggregation pipeline<T> com.mongodb.reactivestreams.client.AggregatePublisher<T> aggregateAsPublisher(List<? extends org.bson.conversions.Bson> pipeline, Class<T> clazz)
$currentOp and $listLocalSessions.T - the target document type of the iterable.pipeline - the aggregation pipelineclazz - the class to decode each document intocom.mongodb.reactivestreams.client.AggregatePublisher<org.bson.Document> aggregateAsPublisher(com.mongodb.reactivestreams.client.ClientSession clientSession,
List<? extends org.bson.conversions.Bson> pipeline)
$currentOp and $listLocalSessions.clientSession - the client session with which to associate this operationpipeline - the aggregation pipeline<T> com.mongodb.reactivestreams.client.AggregatePublisher<T> aggregateAsPublisher(com.mongodb.reactivestreams.client.ClientSession clientSession,
List<? extends org.bson.conversions.Bson> pipeline,
Class<T> clazz)
$currentOp and $listLocalSessions.T - the target document type of the iterable.clientSession - the client session with which to associate this operationpipeline - the aggregation pipelineclazz - the class to decode each document intoorg.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<org.bson.Document> aggregate(List<? extends org.bson.conversions.Bson> pipeline)
$currentOp and $listLocalSessions.pipeline - the aggregation pipelineorg.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<org.bson.Document> aggregate(List<? extends org.bson.conversions.Bson> pipeline, AggregateOptions options)
$currentOp and $listLocalSessions.pipeline - the aggregation pipelineoptions - the stream options<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<T> aggregate(List<? extends org.bson.conversions.Bson> pipeline, Class<T> clazz)
$currentOp and $listLocalSessions.T - the target document type of the iterable.pipeline - the aggregation pipelineclazz - the class to decode each document into<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<T> aggregate(List<? extends org.bson.conversions.Bson> pipeline, Class<T> clazz, AggregateOptions options)
$currentOp and $listLocalSessions.T - the target document type of the iterable.pipeline - the aggregation pipelineclazz - the class to decode each document intooptions - the stream optionsorg.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<org.bson.Document> aggregate(com.mongodb.reactivestreams.client.ClientSession clientSession,
List<? extends org.bson.conversions.Bson> pipeline)
$currentOp and $listLocalSessions.clientSession - the client session with which to associate this operationpipeline - the aggregation pipelineorg.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<org.bson.Document> aggregate(com.mongodb.reactivestreams.client.ClientSession clientSession,
List<? extends org.bson.conversions.Bson> pipeline,
AggregateOptions options)
$currentOp and $listLocalSessions.clientSession - the client session with which to associate this operationpipeline - the aggregation pipelineoptions - the stream options<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<T> aggregate(com.mongodb.reactivestreams.client.ClientSession clientSession,
List<? extends org.bson.conversions.Bson> pipeline,
Class<T> clazz)
$currentOp and $listLocalSessions.T - the target document type of the iterable.clientSession - the client session with which to associate this operationpipeline - the aggregation pipelineclazz - the class to decode each document into<T> org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<T> aggregate(com.mongodb.reactivestreams.client.ClientSession clientSession,
List<? extends org.bson.conversions.Bson> pipeline,
Class<T> clazz,
AggregateOptions options)
$currentOp and $listLocalSessions.T - the target document type of the iterable.clientSession - the client session with which to associate this operationpipeline - the aggregation pipelineclazz - the class to decode each document intooptions - the stream optionsCopyright © 2020 JBoss by Red Hat. All rights reserved.