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(org.bson.BsonValue id)
Opens a Stream from which the application can read the contents of the stored file specified by
id . |
GridFSDownloadStream |
GridFSBucket.openDownloadStream(org.bson.types.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,
com.mongodb.client.gridfs.model.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,
com.mongodb.client.gridfs.model.GridFSDownloadByNameOptions options)
Deprecated.
|
Copyright © 2017. All rights reserved.