Package | Description |
---|---|
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 |
GridFSDownloadStreamImpl |
Modifier and Type | Method and Description |
---|---|
GridFSDownloadStream |
GridFSDownloadStreamImpl.batchSize(int batchSize) |
GridFSDownloadStream |
GridFSDownloadStream.batchSize(int batchSize)
Sets the number of chunks to return per batch.
|
private GridFSDownloadStream |
GridFSBucketImpl.createGridFSDownloadStream(ClientSession clientSession,
GridFSFindIterable gridFSFindIterable) |
GridFSDownloadStream |
GridFSBucketImpl.openDownloadStream(BsonValue id) |
GridFSDownloadStream |
GridFSBucket.openDownloadStream(BsonValue id)
Opens a AsyncInputStream from which the application can read the contents of the stored file specified by
id . |
GridFSDownloadStream |
GridFSBucketImpl.openDownloadStream(ClientSession clientSession,
BsonValue id) |
GridFSDownloadStream |
GridFSBucket.openDownloadStream(ClientSession clientSession,
BsonValue id)
Opens a AsyncInputStream from which the application can read the contents of the stored file specified by
id . |
GridFSDownloadStream |
GridFSBucketImpl.openDownloadStream(ClientSession clientSession,
ObjectId id) |
GridFSDownloadStream |
GridFSBucket.openDownloadStream(ClientSession clientSession,
ObjectId id)
Opens a AsyncInputStream from which the application can read the contents of the stored file specified by
id . |
GridFSDownloadStream |
GridFSBucketImpl.openDownloadStream(ClientSession clientSession,
java.lang.String filename) |
GridFSDownloadStream |
GridFSBucket.openDownloadStream(ClientSession clientSession,
java.lang.String filename)
Opens a Stream from which the application can read the contents of the latest version of the stored file specified by the
filename . |
GridFSDownloadStream |
GridFSBucketImpl.openDownloadStream(ClientSession clientSession,
java.lang.String filename,
GridFSDownloadOptions options) |
GridFSDownloadStream |
GridFSBucket.openDownloadStream(ClientSession clientSession,
java.lang.String filename,
GridFSDownloadOptions options)
Opens a Stream from which the application can read the contents of the stored file specified by
filename and the revision
in options . |
GridFSDownloadStream |
GridFSBucketImpl.openDownloadStream(ObjectId id) |
GridFSDownloadStream |
GridFSBucket.openDownloadStream(ObjectId id)
Opens a AsyncInputStream from which the application can read the contents of the stored file specified by
id . |
GridFSDownloadStream |
GridFSBucketImpl.openDownloadStream(java.lang.String filename) |
GridFSDownloadStream |
GridFSBucket.openDownloadStream(java.lang.String filename)
Opens a Stream from which the application can read the contents of the latest version of the stored file specified by the
filename . |
GridFSDownloadStream |
GridFSBucketImpl.openDownloadStream(java.lang.String filename,
GridFSDownloadOptions options) |
GridFSDownloadStream |
GridFSBucket.openDownloadStream(java.lang.String filename,
GridFSDownloadOptions options)
Opens a Stream from which the application can read the contents of the stored file specified by
filename and the revision
in options . |
Modifier and Type | Method and Description |
---|---|
private void |
GridFSBucketImpl.downloadToAsyncOutputStream(GridFSDownloadStream downloadStream,
AsyncOutputStream destination,
SingleResultCallback<java.lang.Long> callback) |
private void |
GridFSBucketImpl.readAndWriteOutputStream(AsyncOutputStream destination,
GridFSDownloadStream downloadStream,
java.nio.ByteBuffer buffer,
long amountRead,
SingleResultCallback<java.lang.Long> callback) |