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 |
GridFSBucket.downloadToStream(String filename,
AsyncOutputStream destination,
GridFSDownloadOptions options,
SingleResultCallback<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. |
GridFSDownloadStream |
GridFSBucket.openDownloadStream(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 |
GridFSBucket.downloadToStream(String filename,
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. |
GridFSDownloadStream |
GridFSBucket.openDownloadStream(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.
|
Copyright © 2017. All Rights Reserved.