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 |
---|---|
private GridFSFindIterable |
GridFSBucketImpl.createGridFSFindIterable(ClientSession clientSession,
java.lang.String filename,
GridFSDownloadOptions options) |
void |
GridFSBucketImpl.downloadToStream(ClientSession clientSession,
java.lang.String filename,
AsyncOutputStream destination,
GridFSDownloadOptions options,
SingleResultCallback<java.lang.Long> callback) |
void |
GridFSBucket.downloadToStream(ClientSession clientSession,
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. |
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. |
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(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(ClientSession clientSession,
java.lang.String filename,
java.io.OutputStream destination,
GridFSDownloadOptions options) |
void |
GridFSBucket.downloadToStream(ClientSession clientSession,
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. |
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(ClientSession clientSession,
java.lang.String filename,
GridFSDownloadOptions options) |
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(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.
|