Package | Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
MongoCollectionImpl<TDocument> |
Modifier and Type | Method and Description |
---|---|
MongoCollection<Document> |
MongoDatabaseImpl.getCollection(java.lang.String collectionName) |
MongoCollection<Document> |
MongoDatabase.getCollection(java.lang.String collectionName)
Gets a collection.
|
<TDocument> |
MongoDatabaseImpl.getCollection(java.lang.String collectionName,
java.lang.Class<TDocument> documentClass) |
<TDocument> |
MongoDatabase.getCollection(java.lang.String collectionName,
java.lang.Class<TDocument> documentClass)
Gets a collection, with a specific default document class.
|
MongoCollection<TDocument> |
MongoCollection.withCodecRegistry(CodecRegistry codecRegistry)
Create a new MongoCollection instance with a different codec registry.
|
MongoCollection<TDocument> |
MongoCollectionImpl.withCodecRegistry(CodecRegistry codecRegistry) |
<NewTDocument> |
MongoCollection.withDocumentClass(java.lang.Class<NewTDocument> newDocumentClass)
Create a new MongoCollection instance with a different default class to cast any documents returned from the database into..
|
<NewTDocument> |
MongoCollectionImpl.withDocumentClass(java.lang.Class<NewTDocument> newDocumentClass) |
MongoCollection<TDocument> |
MongoCollection.withReadConcern(ReadConcern readConcern)
Create a new MongoCollection instance with a different read concern.
|
MongoCollection<TDocument> |
MongoCollectionImpl.withReadConcern(ReadConcern readConcern) |
MongoCollection<TDocument> |
MongoCollection.withReadPreference(ReadPreference readPreference)
Create a new MongoCollection instance with a different read preference.
|
MongoCollection<TDocument> |
MongoCollectionImpl.withReadPreference(ReadPreference readPreference) |
MongoCollection<TDocument> |
MongoCollection.withWriteConcern(WriteConcern writeConcern)
Create a new MongoCollection instance with a different write concern.
|
MongoCollection<TDocument> |
MongoCollectionImpl.withWriteConcern(WriteConcern writeConcern) |
Modifier and Type | Field and Description |
---|---|
private MongoCollection<Document> |
GridFSUploadStreamImpl.chunksCollection |
private MongoCollection<Document> |
GridFSDownloadStreamImpl.chunksCollection |
private MongoCollection<Document> |
GridFSBucketImpl.chunksCollection |
private MongoCollection<Document> |
GridFSIndexCheckImpl.chunksCollection |
private MongoCollection<GridFSFile> |
GridFSUploadStreamImpl.filesCollection |
private MongoCollection<GridFSFile> |
GridFSBucketImpl.filesCollection |
private MongoCollection<GridFSFile> |
GridFSIndexCheckImpl.filesCollection |
Modifier and Type | Method and Description |
---|---|
private static MongoCollection<Document> |
GridFSBucketImpl.getChunksCollection(MongoDatabase database,
java.lang.String bucketName) |
private static MongoCollection<GridFSFile> |
GridFSBucketImpl.getFilesCollection(MongoDatabase database,
java.lang.String bucketName) |
Modifier and Type | Method and Description |
---|---|
private <T> void |
GridFSIndexCheckImpl.hasIndex(MongoCollection<T> collection,
Document index,
SingleResultCallback<java.lang.Boolean> callback) |
Constructor and Description |
---|
GridFSBucketImpl(java.lang.String bucketName,
int chunkSizeBytes,
MongoCollection<GridFSFile> filesCollection,
MongoCollection<Document> chunksCollection) |
GridFSBucketImpl(java.lang.String bucketName,
int chunkSizeBytes,
MongoCollection<GridFSFile> filesCollection,
MongoCollection<Document> chunksCollection) |
GridFSDownloadStreamImpl(ClientSession clientSession,
GridFSFindIterable fileInfoIterable,
MongoCollection<Document> chunksCollection) |
GridFSIndexCheckImpl(ClientSession clientSession,
MongoCollection<GridFSFile> filesCollection,
MongoCollection<Document> chunksCollection) |
GridFSIndexCheckImpl(ClientSession clientSession,
MongoCollection<GridFSFile> filesCollection,
MongoCollection<Document> chunksCollection) |
GridFSUploadStreamImpl(ClientSession clientSession,
MongoCollection<GridFSFile> filesCollection,
MongoCollection<Document> chunksCollection,
BsonValue fileId,
java.lang.String filename,
int chunkSizeBytes,
Document metadata,
GridFSIndexCheck indexCheck) |
GridFSUploadStreamImpl(ClientSession clientSession,
MongoCollection<GridFSFile> filesCollection,
MongoCollection<Document> chunksCollection,
BsonValue fileId,
java.lang.String filename,
int chunkSizeBytes,
Document metadata,
GridFSIndexCheck indexCheck) |