public interface Mapper<T>
Mapper
, but adapted for Vert.x.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.
|
void |
get(List<Object> primaryKey,
Handler<AsyncResult<T>> handler)
Asynchronous get method based on the column values of the primary key.
|
void |
save(T entity,
Handler<AsyncResult<Void>> handler)
Asynchronous save method.
|
void save(T entity, Handler<AsyncResult<Void>> handler)
entity
- object to be stored in databasehandler
- result handlervoid delete(List<Object> primaryKey, Handler<AsyncResult<Void>> handler)
primaryKey
- primary key used to find row to deletehandler
- result handlervoid get(List<Object> primaryKey, Handler<AsyncResult<T>> handler)
primaryKey
- primary key used to retrieve rowhandler
- result handlerCopyright © 2023 Eclipse. All rights reserved.