| Modifier and Type | Field and Description |
|---|---|
static TypeArg<Mapper> |
__TYPE_ARG |
TypeArg<T> |
__typeArg_0 |
| Constructor and Description |
|---|
Mapper(Mapper delegate) |
Mapper(Object delegate,
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,
TypeArg<T> __typeArg_T) |
io.reactivex.Completable |
rxDelete(List<Object> primaryKey)
Asynchronous delete method based on the column values of the primary key.
|
io.reactivex.Single<T> |
rxGet(List<Object> primaryKey)
Asynchronous get method based on the column values of the primary key.
|
io.reactivex.Completable |
rxSave(T entity)
Asynchronous save method.
|
void |
save(T entity,
Handler<AsyncResult<Void>> handler)
Asynchronous save method.
|
String |
toString() |
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 io.reactivex.Completable 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 io.reactivex.Completable 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 io.reactivex.Single<T> rxGet(List<Object> primaryKey)
primaryKey - primary key used to retrieve rowCopyright © 2020 Eclipse. All rights reserved.