Package | Description |
---|---|
com.mongodb.client.gridfs |
This package contains the new GridFS implementation
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
GridFSDownloadStreamImpl |
Modifier and Type | Method and Description |
---|---|
abstract GridFSDownloadStream |
GridFSDownloadStream.batchSize(int batchSize)
Sets the number of chunks to return per batch.
|
GridFSDownloadStream |
GridFSDownloadStreamImpl.batchSize(int batchSize) |
private GridFSDownloadStream |
GridFSBucketImpl.findTheFileInfoAndOpenDownloadStream(BsonValue id) |
GridFSDownloadStream |
GridFSBucketImpl.openDownloadStream(BsonValue id) |
GridFSDownloadStream |
GridFSBucket.openDownloadStream(BsonValue id)
Opens a Stream 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 Stream 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 . |
GridFSDownloadStream |
GridFSBucketImpl.openDownloadStreamByName(java.lang.String filename)
Deprecated.
|
GridFSDownloadStream |
GridFSBucket.openDownloadStreamByName(java.lang.String filename)
Deprecated.
use
GridFSBucket.openDownloadStream(String) instead. |
GridFSDownloadStream |
GridFSBucketImpl.openDownloadStreamByName(java.lang.String filename,
GridFSDownloadByNameOptions options)
Deprecated.
|
GridFSDownloadStream |
GridFSBucket.openDownloadStreamByName(java.lang.String filename,
GridFSDownloadByNameOptions options)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
private void |
GridFSBucketImpl.downloadToStream(GridFSDownloadStream downloadStream,
java.io.OutputStream destination) |