| Modifier and Type | Field and Description | 
|---|---|
static io.vertx.lang.rx.TypeArg<Mapper> | 
__TYPE_ARG  | 
io.vertx.lang.rx.TypeArg<T> | 
__typeArg_0  | 
| Constructor and Description | 
|---|
Mapper(Mapper delegate)  | 
Mapper(Object delegate,
      io.vertx.lang.rx.TypeArg<T> typeArg_0)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
delete(List<Object> primaryKey,
      Handler<AsyncResult<Void>> handler)
Asynchronous delete method based on the column values of the primary key. 
 | 
boolean | 
equals(Object o)  | 
void | 
get(List<Object> primaryKey,
   Handler<AsyncResult<T>> handler)
Asynchronous get method based on the column values of the primary key. 
 | 
Mapper | 
getDelegate()  | 
int | 
hashCode()  | 
static <T> Mapper<T> | 
newInstance(Mapper arg)  | 
static <T> Mapper<T> | 
newInstance(Mapper arg,
           io.vertx.lang.rx.TypeArg<T> __typeArg_T)  | 
Single<Void> | 
rxDelete(List<Object> primaryKey)
Asynchronous delete method based on the column values of the primary key. 
 | 
Single<T> | 
rxGet(List<Object> primaryKey)
Asynchronous get method based on the column values of the primary key. 
 | 
Single<Void> | 
rxSave(T entity)
Asynchronous save method. 
 | 
void | 
save(T entity,
    Handler<AsyncResult<Void>> handler)
Asynchronous save method. 
 | 
String | 
toString()  | 
public static final io.vertx.lang.rx.TypeArg<Mapper> __TYPE_ARG
public final io.vertx.lang.rx.TypeArg<T> __typeArg_0
public Mapper(Mapper delegate)
public Mapper getDelegate()
public void save(T entity, Handler<AsyncResult<Void>> handler)
entity - object to be stored in databasehandler - result handlerpublic Single<Void> rxSave(T entity)
entity - object to be stored in databasepublic void delete(List<Object> primaryKey, Handler<AsyncResult<Void>> handler)
primaryKey - primary key used to find row to deletehandler - result handlerpublic Single<Void> rxDelete(List<Object> primaryKey)
primaryKey - primary key used to find row to deletepublic void get(List<Object> primaryKey, Handler<AsyncResult<T>> handler)
primaryKey - primary key used to retrieve rowhandler - result handlerpublic Single<T> rxGet(List<Object> primaryKey)
primaryKey - primary key used to retrieve rowCopyright © 2020 Eclipse. All rights reserved.