| 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 |
GridFSDownloadStream.batchSize(int batchSize)
Sets the number of chunks to return per batch.
|
GridFSDownloadStream |
GridFSDownloadStreamImpl.batchSize(int batchSize) |
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(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) |