A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mongodb.github.io/mongo-java-driver/3.12/javadoc/com/mongodb/async/client/MongoDatabase.html below:

MongoDatabase

Modifier and Type Method Description AggregateIterable<Document> aggregate​(ClientSession clientSession, List<? extends 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.

<TResult> AggregateIterable<TResult> aggregate​(ClientSession clientSession, List<? extends Bson> pipeline, Class<TResult> resultClass)

Deprecated.

Runs an aggregation framework pipeline on the database for pipeline stages that do not require an underlying collection, such as $currentOp and $listLocalSessions.

AggregateIterable<Document> aggregate​(List<? extends 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.

<TResult> AggregateIterable<TResult> aggregate​(List<? extends Bson> pipeline, Class<TResult> resultClass)

Deprecated.

Runs an aggregation framework pipeline on the database for pipeline stages that do not require an underlying collection, such as $currentOp and $listLocalSessions.

void createCollection​(ClientSession clientSession, String collectionName, SingleResultCallback<Void> callback)

Deprecated.

Create a new collection with the given name.

void createCollection​(ClientSession clientSession, String collectionName, CreateCollectionOptions options, SingleResultCallback<Void> callback)

Deprecated.

Create a new collection with the selected options

void createCollection​(String collectionName, SingleResultCallback<Void> callback)

Deprecated.

Create a new collection with the given name.

void createCollection​(String collectionName, CreateCollectionOptions options, SingleResultCallback<Void> callback)

Deprecated.

Create a new collection with the selected options

void createView​(ClientSession clientSession, String viewName, String viewOn, List<? extends Bson> pipeline, SingleResultCallback<Void> callback)

Deprecated.

Creates a view with the given name, backing collection/view name, and aggregation pipeline that defines the view.

void createView​(ClientSession clientSession, String viewName, String viewOn, List<? extends Bson> pipeline, CreateViewOptions createViewOptions, SingleResultCallback<Void> callback)

Deprecated.

Creates a view with the given name, backing collection/view name, aggregation pipeline, and options that defines the view.

void createView​(String viewName, String viewOn, List<? extends Bson> pipeline, SingleResultCallback<Void> callback)

Deprecated.

Creates a view with the given name, backing collection/view name, and aggregation pipeline that defines the view.

void createView​(String viewName, String viewOn, List<? extends Bson> pipeline, CreateViewOptions createViewOptions, SingleResultCallback<Void> callback)

Deprecated.

Creates a view with the given name, backing collection/view name, aggregation pipeline, and options that defines the view.

void drop​(ClientSession clientSession, SingleResultCallback<Void> callback)

Deprecated.

Drops this database.

void drop​(SingleResultCallback<Void> callback)

Deprecated.

Drops this database.

CodecRegistry getCodecRegistry()

Deprecated.

Get the codec registry for the MongoDatabase.

MongoCollection<Document> getCollection​(String collectionName)

Deprecated.

Gets a collection.

<TDocument>
MongoCollection<TDocument>
getCollection​(String collectionName, Class<TDocument> documentClass)

Deprecated.

Gets a collection, with a specific default document class.

String getName()

Deprecated.

Gets the name of the database.

ReadConcern getReadConcern()

Deprecated.

Get the read concern for the MongoDatabase.

ReadPreference getReadPreference()

Deprecated.

Get the read preference for the MongoDatabase.

WriteConcern getWriteConcern()

Deprecated.

Get the write concern for the MongoDatabase.

MongoIterable<String> listCollectionNames()

Deprecated.

Gets the names of all the collections in this database.

MongoIterable<String> listCollectionNames​(ClientSession clientSession)

Deprecated.

Gets the names of all the collections in this database.

ListCollectionsIterable<Document> listCollections()

Deprecated.

Finds all the collections in this database.

ListCollectionsIterable<Document> listCollections​(ClientSession clientSession)

Deprecated.

Finds all the collections in this database.

<TResult> ListCollectionsIterable<TResult> listCollections​(ClientSession clientSession, Class<TResult> resultClass)

Deprecated.

Finds all the collections in this database.

<TResult> ListCollectionsIterable<TResult> listCollections​(Class<TResult> resultClass)

Deprecated.

Finds all the collections in this database.

void runCommand​(ClientSession clientSession, Bson command, SingleResultCallback<Document> callback)

Deprecated.

void runCommand​(ClientSession clientSession, Bson command, ReadPreference readPreference, SingleResultCallback<Document> callback)

Deprecated.

Executes the given command in the context of the current database with the given read preference.

<TResult> void runCommand​(ClientSession clientSession, Bson command, ReadPreference readPreference, Class<TResult> resultClass, SingleResultCallback<TResult> callback)

Deprecated.

Executes the given command in the context of the current database with the given read preference.

<TResult> void runCommand​(ClientSession clientSession, Bson command, Class<TResult> resultClass, SingleResultCallback<TResult> callback)

Deprecated.

void runCommand​(Bson command, SingleResultCallback<Document> callback)

Deprecated.

void runCommand​(Bson command, ReadPreference readPreference, SingleResultCallback<Document> callback)

Deprecated.

Executes the given command in the context of the current database with the given read preference.

<TResult> void runCommand​(Bson command, ReadPreference readPreference, Class<TResult> resultClass, SingleResultCallback<TResult> callback)

Deprecated.

Executes the given command in the context of the current database with the given read preference.

<TResult> void runCommand​(Bson command, Class<TResult> resultClass, SingleResultCallback<TResult> callback)

Deprecated.

ChangeStreamIterable<Document> watch()

Deprecated.

Creates a change stream for this database.

ChangeStreamIterable<Document> watch​(ClientSession clientSession)

Deprecated.

Creates a change stream for this database.

<TResult> ChangeStreamIterable<TResult> watch​(ClientSession clientSession, Class<TResult> resultClass)

Deprecated.

Creates a change stream for this database.

ChangeStreamIterable<Document> watch​(ClientSession clientSession, List<? extends Bson> pipeline)

Deprecated.

Creates a change stream for this database.

<TResult> ChangeStreamIterable<TResult> watch​(ClientSession clientSession, List<? extends Bson> pipeline, Class<TResult> resultClass)

Deprecated.

Creates a change stream for this database.

<TResult> ChangeStreamIterable<TResult> watch​(Class<TResult> resultClass)

Deprecated.

Creates a change stream for this database.

ChangeStreamIterable<Document> watch​(List<? extends Bson> pipeline)

Deprecated.

Creates a change stream for this database.

<TResult> ChangeStreamIterable<TResult> watch​(List<? extends Bson> pipeline, Class<TResult> resultClass)

Deprecated.

Creates a change stream for this database.

MongoDatabase withCodecRegistry​(CodecRegistry codecRegistry)

Deprecated.

Create a new MongoDatabase instance with a different codec registry.

MongoDatabase withReadConcern​(ReadConcern readConcern)

Deprecated.

Create a new MongoDatabase instance with a different read concern.

MongoDatabase withReadPreference​(ReadPreference readPreference)

Deprecated.

Create a new MongoDatabase instance with a different read preference.

MongoDatabase withWriteConcern​(WriteConcern writeConcern)

Deprecated.

Create a new MongoDatabase instance with a different write concern.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4