Package | Description |
---|---|
com.mongodb.async.client.gridfs |
Contains the classes for supporting MongoDB's specification for storing very large files, GridFS.
|
com.mongodb.client.gridfs |
This package contains the new GridFS implementation
|
com.mongodb.client.gridfs.model |
This package contains models for use with GridFS
|
Modifier and Type | Method and Description |
---|---|
void |
GridFSBucketImpl.downloadToStream(java.lang.String filename,
AsyncOutputStream destination,
GridFSDownloadOptions options,
SingleResultCallback<java.lang.Long> callback) |
void |
GridFSBucket.downloadToStream(java.lang.String filename,
AsyncOutputStream destination,
GridFSDownloadOptions options,
SingleResultCallback<java.lang.Long> callback)
Downloads the contents of the stored file specified by
filename and by the revision in options and writes the
contents to the destination Stream. |
private GridFSFindIterable |
GridFSBucketImpl.findFileByName(java.lang.String filename,
GridFSDownloadOptions options) |
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 |
---|---|
void |
GridFSBucketImpl.downloadToStream(java.lang.String filename,
java.io.OutputStream destination,
GridFSDownloadOptions options) |
void |
GridFSBucket.downloadToStream(java.lang.String filename,
java.io.OutputStream destination,
GridFSDownloadOptions options)
Downloads the contents of the stored file specified by
filename and by the revision in options and writes the
contents to the destination Stream. |
private GridFSFile |
GridFSBucketImpl.getFileByName(java.lang.String filename,
GridFSDownloadOptions options) |
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 |
---|---|
GridFSDownloadOptions |
GridFSDownloadOptions.revision(int revision)
Set the revision of the file to retrieve.
|