public class Utils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Utils.MappingObservableSubscriber<T,R> |
static class |
Utils.ObservableSubscriber<T> |
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static <T,R> Handler<AsyncResult<T>> |
convertResult(Handler<AsyncResult<R>> resultHandler,
java.util.function.Function<T,R> converter) |
static <T> Handler<AsyncResult<List<T>>> |
toJsonArrayResult(Handler<AsyncResult<JsonArray>> resultHandler) |
static Handler<AsyncResult<com.mongodb.bulk.BulkWriteResult>> |
toMongoClientBulkWriteResult(Handler<AsyncResult<MongoClientBulkWriteResult>> resultHandler) |
static Handler<AsyncResult<com.mongodb.client.result.DeleteResult>> |
toMongoClientDeleteResult(Handler<AsyncResult<MongoClientDeleteResult>> resultHandler) |
static Handler<AsyncResult<com.mongodb.client.result.UpdateResult>> |
toMongoClientUpdateResult(Handler<AsyncResult<MongoClientUpdateResult>> resultHandler) |
static <T> Handler<AsyncResult<List<T>>> |
toSingleResult(Handler<AsyncResult<T>> resultHandler) |
static <T> Handler<AsyncResult<T>> |
toVoidResult(Handler<AsyncResult<Void>> resultHandler) |
public static final String ID_FIELD
public static <T,R> Handler<AsyncResult<T>> convertResult(Handler<AsyncResult<R>> resultHandler, java.util.function.Function<T,R> converter)
public static <T> Handler<AsyncResult<T>> toVoidResult(Handler<AsyncResult<Void>> resultHandler)
public static <T> Handler<AsyncResult<List<T>>> toJsonArrayResult(Handler<AsyncResult<JsonArray>> resultHandler)
public static <T> Handler<AsyncResult<List<T>>> toSingleResult(Handler<AsyncResult<T>> resultHandler)
public static Handler<AsyncResult<com.mongodb.client.result.DeleteResult>> toMongoClientDeleteResult(Handler<AsyncResult<MongoClientDeleteResult>> resultHandler)
public static Handler<AsyncResult<com.mongodb.client.result.UpdateResult>> toMongoClientUpdateResult(Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)
public static Handler<AsyncResult<com.mongodb.bulk.BulkWriteResult>> toMongoClientBulkWriteResult(Handler<AsyncResult<MongoClientBulkWriteResult>> resultHandler)
Copyright © 2019 Eclipse. All rights reserved.