public interface PgConnection extends SqlConnection
begin, close, isSSLstatic void connect(Vertx vertx, PgConnectOptions options, Handler<AsyncResult<PgConnection>> handler)
vertx - the vertx instanceoptions - the connect optionshandler - the handler called with the connection or the failurestatic void connect(Vertx vertx, Handler<AsyncResult<PgConnection>> handler)
connect(Vertx, PgConnectOptions, Handler) with options build from the environment variables.static void connect(Vertx vertx, String connectionUri, Handler<AsyncResult<PgConnection>> handler)
connect(Vertx, PgConnectOptions, Handler) with options build from connectionUri.PgConnection notificationHandler(Handler<PgNotification> handler)
PgNotification and has access to the channel name
and the notification payload.handler - the handlerPgConnection cancelRequest(Handler<AsyncResult<Void>> handler)
handler - the handler notified if cancelling request is sentint processId()
int secretKey()
PgConnection prepare(String sql, Handler<AsyncResult<PreparedQuery>> handler)
prepare in interface SqlConnectionPgConnection exceptionHandler(Handler<Throwable> handler)
exceptionHandler in interface SqlConnectionPgConnection closeHandler(Handler<Void> handler)
closeHandler in interface SqlConnectionPgConnection preparedQuery(String sql, Handler<AsyncResult<RowSet>> handler)
preparedQuery in interface SqlClientpreparedQuery in interface SqlConnection<R> PgConnection preparedQuery(String sql, Collector<Row,?,R> collector, Handler<AsyncResult<SqlResult<R>>> handler)
preparedQuery in interface SqlClientpreparedQuery in interface SqlConnectionPgConnection query(String sql, Handler<AsyncResult<RowSet>> handler)
query in interface SqlClientquery in interface SqlConnection<R> PgConnection query(String sql, Collector<Row,?,R> collector, Handler<AsyncResult<SqlResult<R>>> handler)
query in interface SqlClientquery in interface SqlConnectionPgConnection preparedQuery(String sql, Tuple arguments, Handler<AsyncResult<RowSet>> handler)
preparedQuery in interface SqlClientpreparedQuery in interface SqlConnection<R> PgConnection preparedQuery(String sql, Tuple arguments, Collector<Row,?,R> collector, Handler<AsyncResult<SqlResult<R>>> handler)
preparedQuery in interface SqlClientpreparedQuery in interface SqlConnectionPgConnection preparedBatch(String sql, List<Tuple> batch, Handler<AsyncResult<RowSet>> handler)
preparedBatch in interface SqlClientpreparedBatch in interface SqlConnection<R> PgConnection preparedBatch(String sql, List<Tuple> batch, Collector<Row,?,R> collector, Handler<AsyncResult<SqlResult<R>>> handler)
preparedBatch in interface SqlClientpreparedBatch in interface SqlConnectionCopyright © 2019 Eclipse. All rights reserved.