All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
close()
Close the client and release its resources
|
Completable |
delete(String id)
Deletes a file by it's ID
|
Single<Long> |
downloadByFileName(WriteStream<Buffer> stream,
String fileName) |
Single<Long> |
downloadByFileNameWithOptions(WriteStream<Buffer> stream,
String fileName,
GridFsDownloadOptions options) |
Single<Long> |
downloadById(WriteStream<Buffer> stream,
String id) |
Single<Long> |
downloadFile(String fileName)
Downloads a file.
|
Single<Long> |
downloadFileAs(String fileName,
String newFileName)
Downloads a file and gives it a new name.
|
Single<Long> |
downloadFileByID(String id,
String fileName)
Downloads a file using the ID generated by GridFs.
|
Completable |
drop()
Drops the entire file bucket with all of its contents
|
boolean |
equals(Object o) |
Single<List<String>> |
findAllIds()
Finds all file ids in the bucket
|
Single<List<String>> |
findIds(JsonObject query)
Finds all file ids that match a query.
|
MongoGridFsClient |
getDelegate() |
int |
hashCode() |
static MongoGridFsClient |
newInstance(MongoGridFsClient arg) |
Completable |
rxDelete(String id)
Deletes a file by it's ID
|
Single<Long> |
rxDownloadByFileName(WriteStream<Buffer> stream,
String fileName) |
Single<Long> |
rxDownloadByFileNameWithOptions(WriteStream<Buffer> stream,
String fileName,
GridFsDownloadOptions options) |
Single<Long> |
rxDownloadById(WriteStream<Buffer> stream,
String id) |
Single<Long> |
rxDownloadFile(String fileName)
Downloads a file.
|
Single<Long> |
rxDownloadFileAs(String fileName,
String newFileName)
Downloads a file and gives it a new name.
|
Single<Long> |
rxDownloadFileByID(String id,
String fileName)
Downloads a file using the ID generated by GridFs.
|
Completable |
rxDrop()
Drops the entire file bucket with all of its contents
|
Single<List<String>> |
rxFindAllIds()
Finds all file ids in the bucket
|
Single<List<String>> |
rxFindIds(JsonObject query)
Finds all file ids that match a query.
|
Single<String> |
rxUploadByFileName(Flowable<Buffer> stream,
String fileName) |
Single<String> |
rxUploadByFileNameWithOptions(Flowable<Buffer> stream,
String fileName,
GridFsUploadOptions options) |
Single<String> |
rxUploadFile(String fileName)
Upload a file to gridfs
|
Single<String> |
rxUploadFileWithOptions(String fileName,
GridFsUploadOptions options)
Upload a file to gridfs with options
|
String |
toString() |
Single<String> |
uploadByFileName(Flowable<Buffer> stream,
String fileName) |
Single<String> |
uploadByFileNameWithOptions(Flowable<Buffer> stream,
String fileName,
GridFsUploadOptions options) |
Single<String> |
uploadFile(String fileName)
Upload a file to gridfs
|
Single<String> |
uploadFileWithOptions(String fileName,
GridFsUploadOptions options)
Upload a file to gridfs with options
|