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)
Deprecated.
using custom id values for with GridFS is no longer supported
|
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.openDownloadStreamByName(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.openDownloadStreamByName(String filename,
GridFSDownloadByNameOptions options)
Opens a Stream from which the application can read the contents of the stored file specified by
filename and the revision
in options . |
Copyright © 2016. All Rights Reserved.