类 Tx
- java.lang.Object
-
- org.pharosnet.vertx.pg.dal.core.Tx
-
public class Tx extends Object
-
-
构造器概要
构造器 构造器 说明 Tx(io.vertx.sqlclient.Transaction tx)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidclose()voidcommit(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)voidrollback(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)voidupdate(String ql, io.vertx.core.Handler<io.vertx.core.AsyncResult<Integer>> handler)voidupdate(String ql, io.vertx.sqlclient.Tuple args, io.vertx.core.Handler<io.vertx.core.AsyncResult<Integer>> handler)voidupdate(ExecBuilder builder, io.vertx.core.Handler<io.vertx.core.AsyncResult<Integer>> handler)voidupdateBatch(String ql, List<io.vertx.sqlclient.Tuple> args, io.vertx.core.Handler<io.vertx.core.AsyncResult<Integer>> handler)voidupdateBatch(ExecBatchBuilder builder, io.vertx.core.Handler<io.vertx.core.AsyncResult<Integer>> handler)
-
-
-
方法详细资料
-
rollback
public void rollback(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
-
close
public void close()
-
commit
public void commit(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
-
update
public void update(String ql, io.vertx.core.Handler<io.vertx.core.AsyncResult<Integer>> handler)
-
update
public void update(String ql, io.vertx.sqlclient.Tuple args, io.vertx.core.Handler<io.vertx.core.AsyncResult<Integer>> handler)
-
updateBatch
public void updateBatch(String ql, List<io.vertx.sqlclient.Tuple> args, io.vertx.core.Handler<io.vertx.core.AsyncResult<Integer>> handler)
-
update
public void update(ExecBuilder builder, io.vertx.core.Handler<io.vertx.core.AsyncResult<Integer>> handler)
-
updateBatch
public void updateBatch(ExecBatchBuilder builder, io.vertx.core.Handler<io.vertx.core.AsyncResult<Integer>> handler)
-
-