| Package | Description |
|---|---|
| com.mongodb.client.gridfs |
This package contains the new GridFS implementation
|
| Modifier and Type | Method and Description |
|---|---|
abstract GridFSDownloadStream |
GridFSDownloadStream.batchSize(int batchSize)
Sets the number of chunks to return per batch.
|
GridFSDownloadStream |
GridFSBucket.openDownloadStream(BsonValue id)
Opens a Stream from which the application can read the contents of the stored file specified by
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 |
GridFSBucket.openDownloadStream(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 |
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. |
GridFSDownloadStream |
GridFSBucket.openDownloadStreamByName(String filename)
Deprecated.
use
GridFSBucket.openDownloadStream(String) instead. |
GridFSDownloadStream |
GridFSBucket.openDownloadStreamByName(String filename,
GridFSDownloadByNameOptions options)
Deprecated.
|
Copyright © 2017. All Rights Reserved.