Package | Description |
---|---|
io.vertx.ext.mongo | |
io.vertx.reactivex.ext.mongo | |
io.vertx.rxjava.ext.mongo | |
io.vertx.rxjava3.ext.mongo |
Modifier and Type | Method and Description |
---|---|
MongoGridFsClient |
MongoGridFsClient.delete(String id,
Handler<AsyncResult<Void>> resultHandler)
Deletes a file by it's ID
|
MongoGridFsClient |
MongoGridFsClient.downloadByFileName(WriteStream<Buffer> stream,
String fileName,
Handler<AsyncResult<Long>> resultHandler) |
MongoGridFsClient |
MongoGridFsClient.downloadByFileNameWithOptions(WriteStream<Buffer> stream,
String fileName,
GridFsDownloadOptions options,
Handler<AsyncResult<Long>> resultHandler) |
MongoGridFsClient |
MongoGridFsClient.downloadById(WriteStream<Buffer> stream,
String id,
Handler<AsyncResult<Long>> resultHandler) |
MongoGridFsClient |
MongoGridFsClient.downloadFile(String fileName,
Handler<AsyncResult<Long>> resultHandler)
Downloads a file.
|
MongoGridFsClient |
MongoGridFsClient.downloadFileAs(String fileName,
String newFileName,
Handler<AsyncResult<Long>> resultHandler)
Downloads a file and gives it a new name.
|
MongoGridFsClient |
MongoGridFsClient.downloadFileByID(String id,
String fileName,
Handler<AsyncResult<Long>> resultHandler)
Downloads a file using the ID generated by GridFs.
|
MongoGridFsClient |
MongoGridFsClient.drop(Handler<AsyncResult<Void>> resultHandler)
Drops the entire file bucket with all of its contents
|
MongoGridFsClient |
MongoGridFsClient.findAllIds(Handler<AsyncResult<List<String>>> resultHandler)
Finds all file ids in the bucket
|
MongoGridFsClient |
MongoGridFsClient.findIds(JsonObject query,
Handler<AsyncResult<List<String>>> resultHandler)
Finds all file ids that match a query.
|
MongoGridFsClient |
MongoGridFsClient.uploadByFileName(ReadStream<Buffer> stream,
String fileName,
Handler<AsyncResult<String>> resultHandler) |
MongoGridFsClient |
MongoGridFsClient.uploadByFileNameWithOptions(ReadStream<Buffer> stream,
String fileName,
GridFsUploadOptions options,
Handler<AsyncResult<String>> resultHandler) |
MongoGridFsClient |
MongoGridFsClient.uploadFile(String fileName,
Handler<AsyncResult<String>> resultHandler)
Upload a file to gridfs
|
MongoGridFsClient |
MongoGridFsClient.uploadFileWithOptions(String fileName,
GridFsUploadOptions options,
Handler<AsyncResult<String>> resultHandler)
Upload a file to gridfs with options
|
Modifier and Type | Method and Description |
---|---|
Future<MongoGridFsClient> |
MongoClient.createDefaultGridFsBucketService()
Like
MongoClient.createDefaultGridFsBucketService(Handler) but returns a Future of the asynchronous result |
Future<MongoGridFsClient> |
MongoClient.createGridFsBucketService(String bucketName)
Like
MongoClient.createGridFsBucketService(String, Handler) but returns a Future of the asynchronous result |
Modifier and Type | Method and Description |
---|---|
MongoClient |
MongoClient.createDefaultGridFsBucketService(Handler<AsyncResult<MongoGridFsClient>> resultHandler)
Creates a
MongoGridFsClient used to interact with Mongo GridFS. |
MongoClient |
MongoClient.createGridFsBucketService(String bucketName,
Handler<AsyncResult<MongoGridFsClient>> resultHandler)
Creates a
MongoGridFsClient used to interact with Mongo GridFS. |
Modifier and Type | Method and Description |
---|---|
MongoGridFsClient |
MongoGridFsClient.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static MongoGridFsClient |
MongoGridFsClient.newInstance(MongoGridFsClient arg) |
Constructor and Description |
---|
MongoGridFsClient(MongoGridFsClient delegate) |
Modifier and Type | Method and Description |
---|---|
MongoGridFsClient |
MongoGridFsClient.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static MongoGridFsClient |
MongoGridFsClient.newInstance(MongoGridFsClient arg) |
Constructor and Description |
---|
MongoGridFsClient(MongoGridFsClient delegate) |
Modifier and Type | Method and Description |
---|---|
MongoGridFsClient |
MongoGridFsClient.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static MongoGridFsClient |
MongoGridFsClient.newInstance(MongoGridFsClient arg) |
Constructor and Description |
---|
MongoGridFsClient(MongoGridFsClient delegate) |
Copyright © 2022 Eclipse. All rights reserved.