Package | Description |
---|---|
com.mongodb |
The core mongodb package
|
com.mongodb.async.client |
This packages contains classes for the new async client
|
com.mongodb.async.client.gridfs |
Contains the classes for supporting MongoDB's specification for storing very large files, GridFS.
|
com.mongodb.client |
This package contains classes for the new client api for MongoDatabase and MongoCollection
|
com.mongodb.client.gridfs |
This package contains the new GridFS implementation
|
com.mongodb.client.model |
This package contains models and options that help describe MongoCollection operations
|
com.mongodb.operation |
The core of the MongoDB driver works via operations, using the command pattern.
|
Modifier and Type | Field and Description |
---|---|
static ReadConcern |
ReadConcern.DEFAULT
Use the servers default read concern.
|
static ReadConcern |
ReadConcern.LINEARIZABLE
The linearizable read concern.
|
static ReadConcern |
ReadConcern.LOCAL
The local read concern.
|
static ReadConcern |
ReadConcern.MAJORITY
The majority read concern.
|
Modifier and Type | Method and Description |
---|---|
ReadConcern |
DB.getReadConcern()
Get the read concern for this database.
|
ReadConcern |
MongoClientOptions.getReadConcern()
The read concern to use.
|
ReadConcern |
DBCollection.getReadConcern()
Get the read concern for this collection.
|
ReadConcern |
Mongo.getReadConcern()
Gets the read concern
|
ReadConcern |
ConnectionString.getReadConcern()
Gets the read concern specified in the connection string.
|
Modifier and Type | Method and Description |
---|---|
MongoClientOptions.Builder |
MongoClientOptions.Builder.readConcern(ReadConcern readConcern)
Sets the read concern.
|
void |
DB.setReadConcern(ReadConcern readConcern)
Sets the read concern for this database.
|
void |
DBCollection.setReadConcern(ReadConcern readConcern)
Sets the read concern for this collection.
|
Modifier and Type | Method and Description |
---|---|
ReadConcern |
MongoCollection.getReadConcern()
Get the read concern for the MongoCollection.
|
ReadConcern |
MongoDatabase.getReadConcern()
Get the read concern for the MongoDatabase.
|
ReadConcern |
MongoClientSettings.getReadConcern()
The read concern to use.
|
Modifier and Type | Method and Description |
---|---|
MongoClientSettings.Builder |
MongoClientSettings.Builder.readConcern(ReadConcern readConcern)
Sets the read concern.
|
MongoCollection<TDocument> |
MongoCollection.withReadConcern(ReadConcern readConcern)
Create a new MongoCollection instance with a different read concern.
|
MongoDatabase |
MongoDatabase.withReadConcern(ReadConcern readConcern)
Create a new MongoDatabase instance with a different read concern.
|
Modifier and Type | Method and Description |
---|---|
ReadConcern |
GridFSBucket.getReadConcern()
Get the read concern for the GridFSBucket.
|
Modifier and Type | Method and Description |
---|---|
GridFSBucket |
GridFSBucket.withReadConcern(ReadConcern readConcern)
Create a new MongoDatabase instance with a different read concern.
|
Modifier and Type | Method and Description |
---|---|
ReadConcern |
MongoCollection.getReadConcern()
Get the read concern for the MongoCollection.
|
ReadConcern |
MongoDatabase.getReadConcern()
Get the read concern for the MongoDatabase.
|
Modifier and Type | Method and Description |
---|---|
MongoCollection<TDocument> |
MongoCollection.withReadConcern(ReadConcern readConcern)
Create a new MongoCollection instance with a different read concern.
|
MongoDatabase |
MongoDatabase.withReadConcern(ReadConcern readConcern)
Create a new MongoDatabase instance with a different read concern.
|
Modifier and Type | Method and Description |
---|---|
ReadConcern |
GridFSBucket.getReadConcern()
Get the read concern for the GridFSBucket.
|
Modifier and Type | Method and Description |
---|---|
GridFSBucket |
GridFSBucket.withReadConcern(ReadConcern readConcern)
Create a new GridFSBucket instance with a different read concern.
|
Modifier and Type | Method and Description |
---|---|
ReadConcern |
DBCollectionDistinctOptions.getReadConcern()
Returns the readConcern
|
ReadConcern |
DBCollectionCountOptions.getReadConcern()
Returns the readConcern
|
ReadConcern |
DBCollectionFindOptions.getReadConcern()
Returns the readConcern
|
Modifier and Type | Method and Description |
---|---|
DBCollectionDistinctOptions |
DBCollectionDistinctOptions.readConcern(ReadConcern readConcern)
Sets the readConcern
|
DBCollectionCountOptions |
DBCollectionCountOptions.readConcern(ReadConcern readConcern)
Sets the readConcern
|
DBCollectionFindOptions |
DBCollectionFindOptions.readConcern(ReadConcern readConcern)
Sets the readConcern
|
Modifier and Type | Method and Description |
---|---|
ReadConcern |
ChangeStreamOperation.getReadConcern()
Gets the read concern
|
ReadConcern |
CountOperation.getReadConcern()
Gets the read concern
|
ReadConcern |
ParallelCollectionScanOperation.getReadConcern()
Gets the read concern
|
ReadConcern |
MapReduceWithInlineResultsOperation.getReadConcern()
Gets the read concern
|
ReadConcern |
FindOperation.getReadConcern()
Gets the read concern
|
ReadConcern |
DistinctOperation.getReadConcern()
Gets the read concern
|
ReadConcern |
AggregateOperation.getReadConcern()
Gets the read concern
|
Modifier and Type | Method and Description |
---|---|
ChangeStreamOperation<T> |
ChangeStreamOperation.readConcern(ReadConcern readConcern)
Sets the read concern
|
CountOperation |
CountOperation.readConcern(ReadConcern readConcern)
Sets the read concern
|
ParallelCollectionScanOperation<T> |
ParallelCollectionScanOperation.readConcern(ReadConcern readConcern)
Sets the read concern
|
MapReduceWithInlineResultsOperation<T> |
MapReduceWithInlineResultsOperation.readConcern(ReadConcern readConcern)
Sets the read concern
|
FindOperation<T> |
FindOperation.readConcern(ReadConcern readConcern)
Sets the read concern
|
DistinctOperation<T> |
DistinctOperation.readConcern(ReadConcern readConcern)
Sets the read concern
|
AggregateOperation<T> |
AggregateOperation.readConcern(ReadConcern readConcern)
Sets the read concern
|
Copyright © 2018. All rights reserved.