| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final boolean |
DEFAULT_CACHE_PREPARED_STATEMENTS |
false |
public static final String |
DEFAULT_DATABASE |
"db" |
public static final String |
DEFAULT_HOST |
"localhost" |
public static final String |
DEFAULT_PASSWORD |
"pass" |
public static final int |
DEFAULT_PIPELINING_LIMIT |
256 |
public static final String |
DEFAULT_USER |
"user" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final int |
DEFAULT_MAX_SIZE |
4 |
public static final int |
DEFAULT_MAX_WAIT_QUEUE_SIZE |
-1 |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/deprecated-list.html ================================================Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/help-doc.html ================================================The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
Each annotation type has its own separate page with the following sections:
Each enum has its own separate page with the following sections:
Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
These links take you to the next or previous class, interface, package, or related page.
These links show and hide the HTML frames. All pages are available with or without frames.
The All Classes link shows all classes and interfaces except non-static nested types.
Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
The Constant Field Values page lists the static final fields and their values.
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/index-all.html ================================================BigDecimal value at the end of the tuple.Boolean value at the end of the tuple.Boolean value at the end of the tuple.Boolean value at the end of the tuple.Box value at the end of the tuple.Box value at the end of the tuple.Buffer value at the end of the tuple.Circle value at the end of the tuple.Circle value at the end of the tuple.Double value at the end of the tuple.Double value at the end of the tuple.Double value at the end of the tuple.Float value at the end of the tuple.Float value at the end of the tuple.Float value at the end of the tuple.Integer value at the end of the tuple.Integer value at the end of the tuple.Integer value at the end of the tuple.Point value at the end of the tuple.Interval value at the end of the tuple.Json value at the end of the tuple.Line value at the end of the tuple.Line value at the end of the tuple.Line value at the end of the tuple.Line value at the end of the tuple.LineSegment value at the end of the tuple.LineSegment value at the end of the tuple.LocalDate value at the end of the tuple.LocalDate value at the end of the tuple.LocalDate value at the end of the tuple.LocalDate value at the end of the tuple.LocalDateTime value at the end of the tuple.LocalDateTime value at the end of the tuple.LocalDateTime value at the end of the tuple.LocalDateTime value at the end of the tuple.LocalTime value at the end of the tuple.LocalTime value at the end of the tuple.LocalTime value at the end of the tuple.LocalTime value at the end of the tuple.Long value at the end of the tuple.Long value at the end of the tuple.Long value at the end of the tuple.Numeric value at the end of the tuple.Numeric value at the end of the tuple.OffsetDateTime value at the end of the tuple.OffsetDateTime value at the end of the tuple.OffsetDateTime value at the end of the tuple.OffsetDateTime value at the end of the tuple.OffsetTime value at the end of the tuple.OffsetTime value at the end of the tuple.OffsetTime value at the end of the tuple.OffsetTime value at the end of the tuple.Path value at the end of the tuple.Path value at the end of the tuple.Point value at the end of the tuple.Point value at the end of the tuple.Polygon value at the end of the tuple.Polygon value at the end of the tuple.Short value at the end of the tuple.Short value at the end of the tuple.Short value at the end of the tuple.String value at the end of the tuple.String value at the end of the tuple.String value at the end of the tuple.Temporal value at the end of the tuple.Temporal value at the end of the tuple.Temporal value at the end of the tuple.UUID value at the end of the tuple.UUID value at the end of the tuple.UUID value at the end of the tuple.UUID value at the end of the tuple.PgTransaction for controlling and tracking
this transaction.PgTransaction for controlling and tracking
this transaction.PgTransaction for controlling and tracking
this transaction.Points that are opposite corners of the box.Box.name.name.name.Point and radius.Circle.PgCursor.close() but with a completionHandler called when the cursor has been released.PgPreparedQuery.close() but notifies the completionHandler when it's closed.PgCursor.close() but with a completionHandler called when the cursor has been released.PgPreparedQuery.close() but notifies the completionHandler when it's closed.PgCursor.close() but with a completionHandler called when the cursor has been released.PgPreparedQuery.close() but notifies the completionHandler when it's closed.PgTransaction.commit() with an handler to be notified when the transaction commit has completedPgTransaction.commit() with an handler to be notified when the transaction commit has completedPgTransaction.commit() with an handler to be notified when the transaction commit has completedPgClient.connect(Vertx, PgConnectOptions, Handler) with options build from the environment variables.PgClient.connect(Vertx, PgConnectOptions, Handler) with options build from connectionUri.PgClient.connect(io.vertx.reactivex.core.Vertx, io.reactiverse.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.reactivex.pgclient.PgConnection>>) with options build from the environment variables.PgClient.connect(io.vertx.rxjava.core.Vertx, io.reactiverse.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.rxjava.pgclient.PgConnection>>) with options build from the environment variables.Numeric instance for the given number.arguments.arguments.arguments.PgPreparedQuery.execute(Tuple, Handler) with an empty tuple argument.PgPreparedQuery.execute(Tuple, Collector, Handler) with an empty tuple argument.arguments.arguments.PgPreparedQuery.execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.reactivex.pgclient.PgRowSet>>) with an empty tuple argument.arguments.PgPreparedQuery.execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.rxjava.pgclient.PgRowSet>>) with an empty tuple argument.arguments.PgConnectOptions configured with environment variables, if the environment variable
is not set, then a default value will take precedence over this.PgPoolOptions configured with environment variables, if the environment variable
is not set, then a default value will take precedence over this.PgConnectOptions configured from a connection URI.PgPoolOptions configured from a connection URI.BigDecimal value at pos.BigDecimal value at pos.pos.pos.pos.pos.pos.pos.pos.pos.pos.pos.Boolean value at pos.Boolean value at pos.Boolean value at pos.Boolean value at pos.Boolean value at pos.Boolean value at pos.Box value at pos.Box value at pos.pos.pos.pos.pos.Box value at pos.Box value at pos.pos.pos.pos.pos.pos.pos.pos.pos.pos.pos.Buffer value at pos.Buffer value at pos.Circle value at pos.Circle value at pos.pos.pos.pos.pos.Circle value at pos.Circle value at pos.pos.pos.pos.pos.pos.pos.pos.pos.pos.pos.pos.pos.pos.Double value at pos.Double value at pos.Double value at pos.Double value at pos.Double value at pos.Double value at pos.pos.pos.pos.pos.pos.pos.Float value at pos.Float value at pos.Float value at pos.Float value at pos.Float value at pos.Float value at pos.pos.pos.pos.pos.pos.pos.Integer value at pos.Integer value at pos.Integer value at pos.Integer value at pos.Integer value at pos.Integer value at pos.Interval value at pos.Interval value at pos.pos.pos.pos.pos.Interval value at pos.Interval value at pos.pos.pos.pos.pos.pos.pos.pos.pos.pos.pos.Json value at pos.Json value at pos.Line value at pos.Line value at pos.pos.pos.pos.pos.Line value at pos.Line value at pos.pos.pos.pos.pos.LineSegment value at pos.LineSegment value at pos.pos.pos.pos.pos.LineSegment value at pos.LineSegment value at pos.pos.pos.pos.pos.LocalDate value at pos.LocalDate value at pos.LocalDate value at pos.LocalDate value at pos.LocalDate value at pos.LocalDate value at pos.LocalDate value at pos.LocalDate value at pos.pos.pos.pos.pos.LocalDateTime value at pos.LocalDateTime value at pos.LocalDateTime value at pos.LocalDateTime value at pos.LocalDateTime value at pos.LocalDateTime value at pos.LocalDateTime value at pos.LocalDateTime value at pos.pos.pos.pos.pos.LocalTime value at pos.LocalTime value at pos.LocalTime value at pos.LocalTime value at pos.LocalTime value at pos.LocalTime value at pos.LocalTime value at pos.LocalTime value at pos.pos.pos.pos.pos.pos.pos.pos.pos.pos.pos.Long value at pos.Long value at pos.Long value at pos.Long value at pos.Long value at pos.Long value at pos.Numeric value at pos.Numeric value at pos.pos.pos.pos.pos.Numeric value at pos.Numeric value at pos.pos.pos.pos.pos.OffsetDateTime value at pos.OffsetDateTime value at pos.OffsetDateTime value at pos.OffsetDateTime value at pos.OffsetDateTime value at pos.OffsetDateTime value at pos.OffsetDateTime value at pos.OffsetDateTime value at pos.pos.pos.pos.pos.OffsetTime value at pos.OffsetTime value at pos.OffsetTime value at pos.OffsetTime value at pos.OffsetTime value at pos.OffsetTime value at pos.OffsetTime value at pos.OffsetTime value at pos.pos.pos.pos.pos.Path value at pos.Path value at pos.pos.pos.pos.pos.Path value at pos.Path value at pos.pos.pos.pos.pos.Point value at pos.Point value at pos.pos.pos.pos.pos.Point value at pos.Point value at pos.pos.pos.pos.pos.Polygon value at pos.Polygon value at pos.pos.pos.pos.pos.Polygon value at pos.Polygon value at pos.pos.pos.pos.pos.pos.pos.pos.pos.pos.pos.Short value at pos.Short value at pos.Short value at pos.Short value at pos.Short value at pos.Short value at pos.pos.pos.pos.pos.pos.pos.String value at pos.String value at pos.String value at pos.String value at pos.String value at pos.String value at pos.pos.Temporal value at pos.pos.Temporal value at pos.pos.Temporal value at pos.UUID value at pos.UUID value at pos.UUID value at pos.UUID value at pos.UUID value at pos.UUID value at pos.UUID value at pos.UUID value at pos.pos.pos.pos.pos.pos.pos.pos.pos.pos.pos.true when the cursor has results in progress and the #execute should be called to retrieve
them.true when the cursor has results in progress and the should be called to retrieve
them.true when the cursor has results in progress and the should be called to retrieve
them.Interval.Line.Points that are the endpoints of the segment.LineSegment.NaN value.null, e.g for a simple query that executed multiple queries or for
a batch result.null, e.g for a simple query that executed multiple queries or for
a batch result.null, e.g for a simple query that executed multiple queries or for
a batch result.Numeric instance for the given s.Path.LISTEN/UNLISTEN commands.LISTEN/UNLISTEN commands.LISTEN/UNLISTEN commands.PgConnectOptions.PgNotification.PgPoolOptions.LISTEN/UNLISTEN to Postgres channels.LISTEN/UNLISTEN to Postgres channels.LISTEN/UNLISTEN to Postgres channels.Point.Polygon.PgClient.pool(PgPoolOptions) with options build from the environment variables.PgClient.pool(PgPoolOptions) with options build from connectionUri.PgClient.pool(Vertx, PgPoolOptions) with options build from the environment variables.PgClient.pool(Vertx, PgPoolOptions) with options build from connectionUri.options.PgClient.pool(PgPoolOptions) with a specific Vertx instance.PgClient.pool() with options build from the environment variables.PgClient.pool() with options build from connectionUri.PgClient.pool() with options build from the environment variables.PgClient.pool() with options build from connectionUri.options.PgClient.pool() with a specific instance.PgClient.pool() with options build from the environment variables.PgClient.pool() with options build from connectionUri.PgClient.pool() with options build from the environment variables.PgClient.pool() with options build from connectionUri.options.PgClient.pool() with a specific instance.handler.handler.handler.PgTransaction.rollback() with an handler to be notified when the transaction rollback has completedPgTransaction.rollback() with an handler to be notified when the transaction rollback has completedPgTransaction.rollback() with an handler to be notified when the transaction rollback has completedPgCursor.close() but with a completionHandler called when the cursor has been released.PgPreparedQuery.close() but notifies the completionHandler when it's closed.PgCursor.close() but with a completionHandler called when the cursor has been released.PgPreparedQuery.close() but notifies the completionHandler when it's closed.PgTransaction.commit() with an handler to be notified when the transaction commit has completedPgTransaction.commit() with an handler to be notified when the transaction commit has completedPgClient.connect(io.vertx.reactivex.core.Vertx, io.reactiverse.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.reactivex.pgclient.PgConnection>>) with options build from the environment variables.PgClient.connect(io.vertx.rxjava.core.Vertx, io.reactiverse.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.rxjava.pgclient.PgConnection>>) with options build from the environment variables.PgPreparedQuery.execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.reactivex.pgclient.PgRowSet>>) with an empty tuple argument.arguments.PgPreparedQuery.execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.rxjava.pgclient.PgRowSet>>) with an empty tuple argument.arguments.handler.handler.PgTransaction.rollback() with an handler to be notified when the transaction rollback has completedPgTransaction.rollback() with an handler to be notified when the transaction rollback has completedSslMode for the client, this option can be used to provide different levels of secure protection.Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/index.html ================================================public interface Json
| Modifier and Type | Method and Description |
|---|---|
static Json |
create(Object value) |
Object |
value() |
Copyright © 2018 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/JsonImpl.html ================================================public static final JsonImpl NULL
Copyright © 2018 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/Numeric.html ================================================public final class Numeric extends Number
| Modifier and Type | Field and Description |
|---|---|
static Numeric |
NaN
Constant for the
NaN value. |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
bigDecimalValue() |
BigInteger |
bigIntegerValue() |
static Numeric |
create(Number number)
Return a
Numeric instance for the given number. |
double |
doubleValue() |
boolean |
equals(Object obj) |
float |
floatValue() |
int |
hashCode() |
int |
intValue() |
boolean |
isNaN() |
long |
longValue() |
static Numeric |
parse(String s)
Parse and return a
Numeric instance for the given s. |
short |
shortValue() |
String |
toString() |
public static final Numeric NaN
NaN value.public static Numeric create(Number number)
Numeric instance for the given number.
Null values or infinite Double or Float are rejected.number - the numberNumeric valueNumberFormatException - when the number is infinitepublic short shortValue()
shortValue in class Numberpublic float floatValue()
floatValue in class Numberpublic double doubleValue()
doubleValue in class Numberpublic boolean isNaN()
true when this number represents NaNpublic BigDecimal bigDecimalValue()
BigDecimal. It can be null when this instance
represents the NaN value.public BigInteger bigIntegerValue()
BigInteger. It can be null when this instance
represents the NaN value.Copyright © 2018 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/PgClient.html ================================================public interface PgClient
| Modifier and Type | Method and Description |
|---|---|
static void |
connect(io.vertx.core.Vertx vertx,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Like
connect(Vertx, PgConnectOptions, Handler) with options build from the environment variables. |
static void |
connect(io.vertx.core.Vertx vertx,
PgConnectOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Connects to the database and returns the connection if that succeeds.
|
static void |
connect(io.vertx.core.Vertx vertx,
String connectionUri,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Like
connect(Vertx, PgConnectOptions, Handler) with options build from connectionUri. |
static PgPool |
pool()
Like
pool(PgPoolOptions) with options build from the environment variables. |
static PgPool |
pool(PgPoolOptions options)
Create a connection pool to the database configured with the given
options. |
static PgPool |
pool(String connectionUri)
Like
pool(PgPoolOptions) with options build from connectionUri. |
static PgPool |
pool(io.vertx.core.Vertx vertx)
Like
pool(Vertx, PgPoolOptions) with options build from the environment variables. |
static PgPool |
pool(io.vertx.core.Vertx vertx,
PgPoolOptions options)
Like
pool(PgPoolOptions) with a specific Vertx instance. |
static PgPool |
pool(io.vertx.core.Vertx vertx,
String connectionUri)
Like
pool(Vertx, PgPoolOptions) with options build from connectionUri. |
<R> PgClient |
preparedBatch(String sql,
List<Tuple> batch,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Prepare and execute a createBatch.
|
PgClient |
preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a createBatch.
|
<R> PgClient |
preparedQuery(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Prepare and execute a query.
|
PgClient |
preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
<R> PgClient |
preparedQuery(String sql,
Tuple arguments,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Prepare and execute a query.
|
PgClient |
preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
<R> PgClient |
query(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Execute a simple query.
|
PgClient |
query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a simple query.
|
static PgPool pool()
pool(PgPoolOptions) with options build from the environment variables.static PgPool pool(String connectionUri)
pool(PgPoolOptions) with options build from connectionUri.static PgPool pool(io.vertx.core.Vertx vertx)
pool(Vertx, PgPoolOptions) with options build from the environment variables.static PgPool pool(io.vertx.core.Vertx vertx, String connectionUri)
pool(Vertx, PgPoolOptions) with options build from connectionUri.static PgPool pool(PgPoolOptions options)
options.options - the options for creating the poolstatic PgPool pool(io.vertx.core.Vertx vertx, PgPoolOptions options)
pool(PgPoolOptions) with a specific Vertx instance.static void connect(io.vertx.core.Vertx vertx,
PgConnectOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
vertx - the vertx instanceoptions - the connect optionshandler - the handler called with the connection or the failurestatic void connect(io.vertx.core.Vertx vertx,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
connect(Vertx, PgConnectOptions, Handler) with options build from the environment variables.static void connect(io.vertx.core.Vertx vertx,
String connectionUri,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
connect(Vertx, PgConnectOptions, Handler) with options build from connectionUri.PgClient query(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
sql - the query SQLhandler - the handler notified with the execution result<R> PgClient query(String sql, Collector<Row,?,R> collector, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
sql - the query SQLcollector - the collectorhandler - the handler notified with the execution resultPgClient preparedQuery(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
sql - the prepared query SQLhandler - the handler notified with the execution result<R> PgClient preparedQuery(String sql, Collector<Row,?,R> collector, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
sql - the prepared query SQLcollector - the collectorhandler - the handler notified with the execution resultPgClient preparedQuery(String sql, Tuple arguments, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
sql - the prepared query SQLarguments - the list of argumentshandler - the handler notified with the execution result<R> PgClient preparedQuery(String sql, Tuple arguments, Collector<Row,?,R> collector, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
sql - the prepared query SQLarguments - the list of argumentscollector - the collectorhandler - the handler notified with the execution resultPgClient preparedBatch(String sql, List<Tuple> batch, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
sql - the prepared query SQLbatch - the batch of tupleshandler - the handler notified with the execution result<R> PgClient preparedBatch(String sql, List<Tuple> batch, Collector<Row,?,R> collector, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
sql - the prepared query SQLbatch - the batch of tuplescollector - the collectorhandler - the handler notified with the execution resultCopyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/PgConnectOptions.html ================================================public class PgConnectOptions
extends io.vertx.core.net.NetClientOptions
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_CACHE_PREPARED_STATEMENTS |
static String |
DEFAULT_DATABASE |
static String |
DEFAULT_HOST |
static String |
DEFAULT_PASSWORD |
static int |
DEFAULT_PIPELINING_LIMIT |
static int |
DEFAULT_PORT |
static SslMode |
DEFAULT_SSLMODE |
static String |
DEFAULT_USER |
DEFAULT_HOSTNAME_VERIFICATION_ALGORITHM, DEFAULT_RECONNECT_ATTEMPTS, DEFAULT_RECONNECT_INTERVALDEFAULT_CONNECT_TIMEOUT, DEFAULT_METRICS_NAME, DEFAULT_TRUST_ALLDEFAULT_ENABLED_SECURE_TRANSPORT_PROTOCOLS, DEFAULT_IDLE_TIMEOUT, DEFAULT_IDLE_TIMEOUT_TIME_UNIT, DEFAULT_SO_LINGER, DEFAULT_SSL, DEFAULT_SSL_ENGINE, DEFAULT_TCP_CORK, DEFAULT_TCP_FAST_OPEN, DEFAULT_TCP_KEEP_ALIVE, DEFAULT_TCP_NO_DELAY, DEFAULT_TCP_QUICKACK, DEFAULT_USE_ALPN, DEFAULT_USE_POOLED_BUFFERS| Constructor and Description |
|---|
PgConnectOptions() |
PgConnectOptions(io.vertx.core.json.JsonObject json) |
PgConnectOptions(PgConnectOptions other) |
getHostnameVerificationAlgorithm, getReconnectAttempts, getReconnectInterval, removeEnabledSecureTransportProtocol, setIdleTimeoutUnitgetConnectTimeout, getLocalAddress, getMetricsName, getProxyOptions, isTrustAllgetCrlPaths, getCrlValues, getEnabledCipherSuites, getEnabledSecureTransportProtocols, getIdleTimeout, getIdleTimeoutUnit, getJdkSslEngineOptions, getKeyCertOptions, getKeyStoreOptions, getOpenSslEngineOptions, getPemKeyCertOptions, getPemTrustOptions, getPfxKeyCertOptions, getPfxTrustOptions, getSoLinger, getSslEngineOptions, getTrustOptions, getTrustStoreOptions, isSsl, isTcpCork, isTcpFastOpen, isTcpKeepAlive, isTcpNoDelay, isTcpQuickAck, isUseAlpn, isUsePooledBufferspublic static final String DEFAULT_HOST
public static int DEFAULT_PORT
public static final String DEFAULT_DATABASE
public static final String DEFAULT_USER
public static final String DEFAULT_PASSWORD
public static final boolean DEFAULT_CACHE_PREPARED_STATEMENTS
public static final int DEFAULT_PIPELINING_LIMIT
public static final SslMode DEFAULT_SSLMODE
public PgConnectOptions()
public PgConnectOptions(io.vertx.core.json.JsonObject json)
public PgConnectOptions(PgConnectOptions other)
public static PgConnectOptions fromUri(String connectionUri) throws IllegalArgumentException
PgConnectOptions configured from a connection URI.connectionUri - the connection URI to configure fromPgConnectOptions parsed from the connection URIIllegalArgumentException - when the connectionUri is in an invalid formatpublic static PgConnectOptions fromEnv()
PgConnectOptions configured with environment variables, if the environment variable
is not set, then a default value will take precedence over this.public String getHost()
public PgConnectOptions setHost(String host)
public int getPort()
public PgConnectOptions setPort(int port)
public String getDatabase()
public PgConnectOptions setDatabase(String database)
public String getUser()
public PgConnectOptions setUser(String user)
public String getPassword()
public PgConnectOptions setPassword(String password)
public int getPipeliningLimit()
public PgConnectOptions setPipeliningLimit(int pipeliningLimit)
public boolean getCachePreparedStatements()
public PgConnectOptions setCachePreparedStatements(boolean cachePreparedStatements)
public SslMode getSslMode()
public PgConnectOptions setSslMode(SslMode sslmode)
SslMode for the client, this option can be used to provide different levels of secure protection.sslmode - the value of sslmodepublic PgConnectOptions setSendBufferSize(int sendBufferSize)
setSendBufferSize in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setReceiveBufferSize(int receiveBufferSize)
setReceiveBufferSize in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setReuseAddress(boolean reuseAddress)
setReuseAddress in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setTrafficClass(int trafficClass)
setTrafficClass in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setTcpNoDelay(boolean tcpNoDelay)
setTcpNoDelay in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setTcpKeepAlive(boolean tcpKeepAlive)
setTcpKeepAlive in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setSoLinger(int soLinger)
setSoLinger in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setUsePooledBuffers(boolean usePooledBuffers)
setUsePooledBuffers in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setIdleTimeout(int idleTimeout)
setIdleTimeout in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setSsl(boolean ssl)
setSsl in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setKeyCertOptions(io.vertx.core.net.KeyCertOptions options)
setKeyCertOptions in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setKeyStoreOptions(io.vertx.core.net.JksOptions options)
setKeyStoreOptions in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setPfxKeyCertOptions(io.vertx.core.net.PfxOptions options)
setPfxKeyCertOptions in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setPemKeyCertOptions(io.vertx.core.net.PemKeyCertOptions options)
setPemKeyCertOptions in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setTrustOptions(io.vertx.core.net.TrustOptions options)
setTrustOptions in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setTrustStoreOptions(io.vertx.core.net.JksOptions options)
setTrustStoreOptions in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setPemTrustOptions(io.vertx.core.net.PemTrustOptions options)
setPemTrustOptions in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setPfxTrustOptions(io.vertx.core.net.PfxOptions options)
setPfxTrustOptions in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions addEnabledCipherSuite(String suite)
addEnabledCipherSuite in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions addEnabledSecureTransportProtocol(String protocol)
addEnabledSecureTransportProtocol in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions addCrlPath(String crlPath) throws NullPointerException
addCrlPath in class io.vertx.core.net.NetClientOptionsNullPointerExceptionpublic PgConnectOptions addCrlValue(io.vertx.core.buffer.Buffer crlValue) throws NullPointerException
addCrlValue in class io.vertx.core.net.NetClientOptionsNullPointerExceptionpublic PgConnectOptions setTrustAll(boolean trustAll)
setTrustAll in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setConnectTimeout(int connectTimeout)
setConnectTimeout in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setMetricsName(String metricsName)
setMetricsName in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setReconnectAttempts(int attempts)
setReconnectAttempts in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setHostnameVerificationAlgorithm(String hostnameVerificationAlgorithm)
setHostnameVerificationAlgorithm in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setLogActivity(boolean logEnabled)
setLogActivity in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setReconnectInterval(long interval)
setReconnectInterval in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setProxyOptions(io.vertx.core.net.ProxyOptions proxyOptions)
setProxyOptions in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setLocalAddress(String localAddress)
setLocalAddress in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setUseAlpn(boolean useAlpn)
setUseAlpn in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setSslEngineOptions(io.vertx.core.net.SSLEngineOptions sslEngineOptions)
setSslEngineOptions in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setJdkSslEngineOptions(io.vertx.core.net.JdkSSLEngineOptions sslEngineOptions)
setJdkSslEngineOptions in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setOpenSslEngineOptions(io.vertx.core.net.OpenSSLEngineOptions sslEngineOptions)
setOpenSslEngineOptions in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setReusePort(boolean reusePort)
setReusePort in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setTcpFastOpen(boolean tcpFastOpen)
setTcpFastOpen in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setTcpCork(boolean tcpCork)
setTcpCork in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setTcpQuickAck(boolean tcpQuickAck)
setTcpQuickAck in class io.vertx.core.net.NetClientOptionspublic PgConnectOptions setEnabledSecureTransportProtocols(Set<String> enabledSecureTransportProtocols)
setEnabledSecureTransportProtocols in class io.vertx.core.net.NetClientOptionspublic io.vertx.core.json.JsonObject toJson()
toJson in class io.vertx.core.net.ClientOptionsBasepublic boolean equals(Object o)
equals in class io.vertx.core.net.NetClientOptionspublic int hashCode()
hashCode in class io.vertx.core.net.NetClientOptionspublic boolean isUsingDomainSocket()
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/PgConnectOptionsConverter.html ================================================public class PgConnectOptionsConverter extends Object
PgConnectOptions.
NOTE: This class has been automatically generated from the PgConnectOptions original class using Vert.x codegen.| Constructor and Description |
|---|
PgConnectOptionsConverter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
fromJson(Iterable<Map.Entry<String,Object>> json,
PgConnectOptions obj) |
static void |
toJson(PgConnectOptions obj,
io.vertx.core.json.JsonObject json) |
static void |
toJson(PgConnectOptions obj,
Map<String,Object> json) |
public static void fromJson(Iterable<Map.Entry<String,Object>> json, PgConnectOptions obj)
public static void toJson(PgConnectOptions obj, io.vertx.core.json.JsonObject json)
public static void toJson(PgConnectOptions obj, Map<String,Object> json)
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/PgConnection.html ================================================public interface PgConnection extends PgClient
| Modifier and Type | Method and Description |
|---|---|
PgTransaction |
begin()
Begin a transaction and returns a
PgTransaction for controlling and tracking
this transaction. |
PgConnection |
cancelRequest(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Send a request cancellation message to tell the server to cancel processing request in this connection.
|
void |
close()
Close the current connection after all the pending commands have been processed.
|
PgConnection |
closeHandler(io.vertx.core.Handler<Void> handler)
Set an handler called when the connection is closed.
|
PgConnection |
exceptionHandler(io.vertx.core.Handler<Throwable> handler)
Set an handler called with connection errors.
|
boolean |
isSSL() |
PgConnection |
notificationHandler(io.vertx.core.Handler<PgNotification> handler)
Set an handler called when the connection receives notification on a channel.
|
PgConnection |
prepare(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgPreparedQuery>> handler)
Create a prepared query.
|
<R> PgConnection |
preparedBatch(String sql,
List<Tuple> batch,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Prepare and execute a createBatch.
|
PgConnection |
preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a createBatch.
|
<R> PgConnection |
preparedQuery(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Prepare and execute a query.
|
PgConnection |
preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
<R> PgConnection |
preparedQuery(String sql,
Tuple arguments,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Prepare and execute a query.
|
PgConnection |
preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
int |
processId() |
<R> PgConnection |
query(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Execute a simple query.
|
PgConnection |
query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a simple query.
|
int |
secretKey() |
PgConnection prepare(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgPreparedQuery>> handler)
sql - the sqlhandler - the handler notified with the prepared query asynchronouslyPgConnection exceptionHandler(io.vertx.core.Handler<Throwable> handler)
handler - the handlerPgConnection closeHandler(io.vertx.core.Handler<Void> handler)
handler - the handlerPgTransaction begin()
PgTransaction for controlling and tracking
this transaction.
When the connection is explicitely closed, any inflight transaction is rollbacked.PgConnection notificationHandler(io.vertx.core.Handler<PgNotification> handler)
PgNotification and has access to the channel name
and the notification payload.handler - the handlerint processId()
int secretKey()
PgConnection cancelRequest(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
handler - the handler notified if cancelling request is sentboolean isSSL()
void close()
PgConnection preparedQuery(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedQuery in interface PgClientsql - the prepared query SQLhandler - the handler notified with the execution result<R> PgConnection preparedQuery(String sql, Collector<Row,?,R> collector, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
PgClientpreparedQuery in interface PgClientsql - the prepared query SQLcollector - the collectorhandler - the handler notified with the execution resultPgConnection query(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClient<R> PgConnection query(String sql, Collector<Row,?,R> collector, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
PgClientPgConnection preparedQuery(String sql, Tuple arguments, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedQuery in interface PgClientsql - the prepared query SQLarguments - the list of argumentshandler - the handler notified with the execution result<R> PgConnection preparedQuery(String sql, Tuple arguments, Collector<Row,?,R> collector, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
PgClientpreparedQuery in interface PgClientsql - the prepared query SQLarguments - the list of argumentscollector - the collectorhandler - the handler notified with the execution resultPgConnection preparedBatch(String sql, List<Tuple> batch, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedBatch in interface PgClientsql - the prepared query SQLbatch - the batch of tupleshandler - the handler notified with the execution result<R> PgConnection preparedBatch(String sql, List<Tuple> batch, Collector<Row,?,R> collector, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
PgClientpreparedBatch in interface PgClientsql - the prepared query SQLbatch - the batch of tuplescollector - the collectorhandler - the handler notified with the execution resultCopyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/PgCursor.html ================================================public interface PgCursor
| Modifier and Type | Method and Description |
|---|---|
default void |
close()
Release the cursor.
|
void |
close(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
Like
close() but with a completionHandler called when the cursor has been released. |
boolean |
hasMore()
Returns
true when the cursor has results in progress and the #execute should be called to retrieve
them. |
void |
read(int count,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Read rows from the cursor, the result is provided asynchronously to the
handler. |
void read(int count,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
handler.count - the amount of rows to readhandler - the handler for the resultboolean hasMore()
true when the cursor has results in progress and the #execute should be called to retrieve
them.default void close()
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/PgException.html ================================================public class PgException extends RuntimeException
| Constructor and Description |
|---|
PgException(io.reactiverse.pgclient.impl.codec.decoder.ErrorResponse error) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
String |
getDetail() |
String |
getSeverity() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/PgIterator.html ================================================| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Row |
next() |
forEachRemaining, removeCopyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/PgNotification.html ================================================public class PgNotification extends Object
| Constructor and Description |
|---|
PgNotification() |
PgNotification(io.vertx.core.json.JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
String |
getChannel() |
String |
getPayload() |
int |
getProcessId() |
PgNotification |
setChannel(String channel)
Set the channel value.
|
PgNotification |
setPayload(String payload)
Set the payload value.
|
PgNotification |
setProcessId(int processId)
Set the process id.
|
io.vertx.core.json.JsonObject |
toJson() |
public PgNotification()
public PgNotification(io.vertx.core.json.JsonObject json)
public int getProcessId()
public PgNotification setProcessId(int processId)
public String getChannel()
public PgNotification setChannel(String channel)
public String getPayload()
public PgNotification setPayload(String payload)
public io.vertx.core.json.JsonObject toJson()
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/PgNotificationConverter.html ================================================public class PgNotificationConverter extends Object
PgNotification.
NOTE: This class has been automatically generated from the PgNotification original class using Vert.x codegen.| Constructor and Description |
|---|
PgNotificationConverter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
fromJson(Iterable<Map.Entry<String,Object>> json,
PgNotification obj) |
static void |
toJson(PgNotification obj,
io.vertx.core.json.JsonObject json) |
static void |
toJson(PgNotification obj,
Map<String,Object> json) |
public static void fromJson(Iterable<Map.Entry<String,Object>> json, PgNotification obj)
public static void toJson(PgNotification obj, io.vertx.core.json.JsonObject json)
public static void toJson(PgNotification obj, Map<String,Object> json)
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/PgPool.html ================================================public interface PgPool extends PgClient
| Modifier and Type | Method and Description |
|---|---|
void |
begin(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgTransaction>> handler)
Borrow a connection from the pool and begin a transaction, the underlying connection will be returned
to the pool when the transaction ends.
|
void |
close()
Close the pool and release the associated resources.
|
void |
getConnection(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Get a connection from the pool.
|
<R> PgPool |
preparedBatch(String sql,
List<Tuple> batch,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Prepare and execute a createBatch.
|
PgPool |
preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a createBatch.
|
<R> PgPool |
preparedQuery(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Prepare and execute a query.
|
PgPool |
preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
<R> PgPool |
preparedQuery(String sql,
Tuple arguments,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Prepare and execute a query.
|
PgPool |
preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
<R> PgPool |
query(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Execute a simple query.
|
PgPool |
query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a simple query.
|
PgPool preparedQuery(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedQuery in interface PgClientsql - the prepared query SQLhandler - the handler notified with the execution result<R> PgPool preparedQuery(String sql, Collector<Row,?,R> collector, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
PgClientpreparedQuery in interface PgClientsql - the prepared query SQLcollector - the collectorhandler - the handler notified with the execution resultPgPool query(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClient<R> PgPool query(String sql, Collector<Row,?,R> collector, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
PgClientPgPool preparedQuery(String sql, Tuple arguments, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedQuery in interface PgClientsql - the prepared query SQLarguments - the list of argumentshandler - the handler notified with the execution result<R> PgPool preparedQuery(String sql, Tuple arguments, Collector<Row,?,R> collector, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
PgClientpreparedQuery in interface PgClientsql - the prepared query SQLarguments - the list of argumentscollector - the collectorhandler - the handler notified with the execution resultPgPool preparedBatch(String sql, List<Tuple> batch, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedBatch in interface PgClientsql - the prepared query SQLbatch - the batch of tupleshandler - the handler notified with the execution result<R> PgPool preparedBatch(String sql, List<Tuple> batch, Collector<Row,?,R> collector, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
PgClientpreparedBatch in interface PgClientsql - the prepared query SQLbatch - the batch of tuplescollector - the collectorhandler - the handler notified with the execution resultvoid getConnection(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
handler - the handler that will get the connection resultvoid begin(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgTransaction>> handler)
void close()
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/PgPoolOptions.html ================================================public class PgPoolOptions extends PgConnectOptions
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MAX_SIZE
The default maximum number of connections a client will pool = 4
|
static int |
DEFAULT_MAX_WAIT_QUEUE_SIZE
Default max wait queue size = -1 (unbounded)
|
DEFAULT_CACHE_PREPARED_STATEMENTS, DEFAULT_DATABASE, DEFAULT_HOST, DEFAULT_PASSWORD, DEFAULT_PIPELINING_LIMIT, DEFAULT_PORT, DEFAULT_SSLMODE, DEFAULT_USERDEFAULT_HOSTNAME_VERIFICATION_ALGORITHM, DEFAULT_RECONNECT_ATTEMPTS, DEFAULT_RECONNECT_INTERVALDEFAULT_CONNECT_TIMEOUT, DEFAULT_METRICS_NAME, DEFAULT_TRUST_ALLDEFAULT_ENABLED_SECURE_TRANSPORT_PROTOCOLS, DEFAULT_IDLE_TIMEOUT, DEFAULT_IDLE_TIMEOUT_TIME_UNIT, DEFAULT_SO_LINGER, DEFAULT_SSL, DEFAULT_SSL_ENGINE, DEFAULT_TCP_CORK, DEFAULT_TCP_FAST_OPEN, DEFAULT_TCP_KEEP_ALIVE, DEFAULT_TCP_NO_DELAY, DEFAULT_TCP_QUICKACK, DEFAULT_USE_ALPN, DEFAULT_USE_POOLED_BUFFERS| Constructor and Description |
|---|
PgPoolOptions() |
PgPoolOptions(io.vertx.core.json.JsonObject json) |
PgPoolOptions(PgConnectOptions other) |
PgPoolOptions(PgPoolOptions other) |
| Modifier and Type | Method and Description |
|---|---|
PgPoolOptions |
addCrlPath(String crlPath) |
PgPoolOptions |
addCrlValue(io.vertx.core.buffer.Buffer crlValue) |
PgPoolOptions |
addEnabledCipherSuite(String suite) |
PgPoolOptions |
addEnabledSecureTransportProtocol(String protocol) |
boolean |
equals(Object o) |
static PgPoolOptions |
fromEnv()
Provide a
PgPoolOptions configured with environment variables, if the environment variable
is not set, then a default value will take precedence over this. |
static PgPoolOptions |
fromUri(String connectionUri)
Provide a
PgPoolOptions configured from a connection URI. |
int |
getMaxSize() |
int |
getMaxWaitQueueSize() |
int |
hashCode() |
PgPoolOptions |
setCachePreparedStatements(boolean cachePreparedStatements) |
PgPoolOptions |
setConnectTimeout(int connectTimeout) |
PgPoolOptions |
setDatabase(String database) |
PgPoolOptions |
setHost(String host) |
PgPoolOptions |
setHostnameVerificationAlgorithm(String hostnameVerificationAlgorithm) |
PgPoolOptions |
setIdleTimeout(int idleTimeout) |
PgPoolOptions |
setJdkSslEngineOptions(io.vertx.core.net.JdkSSLEngineOptions sslEngineOptions) |
PgPoolOptions |
setKeyCertOptions(io.vertx.core.net.KeyCertOptions options) |
PgPoolOptions |
setKeyStoreOptions(io.vertx.core.net.JksOptions options) |
PgPoolOptions |
setLocalAddress(String localAddress) |
PgPoolOptions |
setLogActivity(boolean logEnabled) |
PgPoolOptions |
setMaxSize(int maxSize)
Set the maximum pool size
|
PgPoolOptions |
setMaxWaitQueueSize(int maxWaitQueueSize)
Set the maximum connection request allowed in the wait queue, any requests beyond the max size will result in
an failure.
|
PgPoolOptions |
setMetricsName(String metricsName) |
PgPoolOptions |
setOpenSslEngineOptions(io.vertx.core.net.OpenSSLEngineOptions sslEngineOptions) |
PgPoolOptions |
setPassword(String password) |
PgPoolOptions |
setPemKeyCertOptions(io.vertx.core.net.PemKeyCertOptions options) |
PgPoolOptions |
setPemTrustOptions(io.vertx.core.net.PemTrustOptions options) |
PgPoolOptions |
setPfxKeyCertOptions(io.vertx.core.net.PfxOptions options) |
PgPoolOptions |
setPfxTrustOptions(io.vertx.core.net.PfxOptions options) |
PgPoolOptions |
setPipeliningLimit(int pipeliningLimit) |
PgPoolOptions |
setPort(int port) |
PgPoolOptions |
setProxyOptions(io.vertx.core.net.ProxyOptions proxyOptions) |
PgPoolOptions |
setReceiveBufferSize(int receiveBufferSize) |
PgPoolOptions |
setReconnectAttempts(int attempts) |
PgPoolOptions |
setReconnectInterval(long interval) |
PgPoolOptions |
setReuseAddress(boolean reuseAddress) |
PgPoolOptions |
setReusePort(boolean reusePort) |
PgPoolOptions |
setSendBufferSize(int sendBufferSize) |
PgPoolOptions |
setSoLinger(int soLinger) |
PgPoolOptions |
setSsl(boolean ssl) |
PgPoolOptions |
setSslEngineOptions(io.vertx.core.net.SSLEngineOptions sslEngineOptions) |
PgPoolOptions |
setSslMode(SslMode sslmode)
Set
SslMode for the client, this option can be used to provide different levels of secure protection. |
PgPoolOptions |
setTcpCork(boolean tcpCork) |
PgPoolOptions |
setTcpFastOpen(boolean tcpFastOpen) |
PgPoolOptions |
setTcpKeepAlive(boolean tcpKeepAlive) |
PgPoolOptions |
setTcpNoDelay(boolean tcpNoDelay) |
PgPoolOptions |
setTcpQuickAck(boolean tcpQuickAck) |
PgPoolOptions |
setTrafficClass(int trafficClass) |
PgPoolOptions |
setTrustAll(boolean trustAll) |
PgPoolOptions |
setTrustOptions(io.vertx.core.net.TrustOptions options) |
PgPoolOptions |
setTrustStoreOptions(io.vertx.core.net.JksOptions options) |
PgPoolOptions |
setUseAlpn(boolean useAlpn) |
PgPoolOptions |
setUsePooledBuffers(boolean usePooledBuffers) |
PgPoolOptions |
setUser(String user) |
io.vertx.core.json.JsonObject |
toJson() |
getCachePreparedStatements, getDatabase, getHost, getPassword, getPipeliningLimit, getPort, getSslMode, getUser, isUsingDomainSocket, setEnabledSecureTransportProtocolsgetHostnameVerificationAlgorithm, getReconnectAttempts, getReconnectInterval, removeEnabledSecureTransportProtocol, setIdleTimeoutUnitgetConnectTimeout, getLocalAddress, getMetricsName, getProxyOptions, isTrustAllgetCrlPaths, getCrlValues, getEnabledCipherSuites, getEnabledSecureTransportProtocols, getIdleTimeout, getIdleTimeoutUnit, getJdkSslEngineOptions, getKeyCertOptions, getKeyStoreOptions, getOpenSslEngineOptions, getPemKeyCertOptions, getPemTrustOptions, getPfxKeyCertOptions, getPfxTrustOptions, getSoLinger, getSslEngineOptions, getTrustOptions, getTrustStoreOptions, isSsl, isTcpCork, isTcpFastOpen, isTcpKeepAlive, isTcpNoDelay, isTcpQuickAck, isUseAlpn, isUsePooledBufferspublic static final int DEFAULT_MAX_SIZE
public static final int DEFAULT_MAX_WAIT_QUEUE_SIZE
public PgPoolOptions()
public PgPoolOptions(io.vertx.core.json.JsonObject json)
public PgPoolOptions(PgPoolOptions other)
public PgPoolOptions(PgConnectOptions other)
public static PgPoolOptions fromUri(String connectionUri) throws IllegalArgumentException
PgPoolOptions configured from a connection URI.connectionUri - the connection URI to configure fromPgPoolOptions parsed from the connection URIIllegalArgumentException - when the connectionUri is in an invalid formatpublic static PgPoolOptions fromEnv()
PgPoolOptions configured with environment variables, if the environment variable
is not set, then a default value will take precedence over this.public int getMaxSize()
public PgPoolOptions setMaxSize(int maxSize)
maxSize - the maximum pool sizepublic int getMaxWaitQueueSize()
public PgPoolOptions setMaxWaitQueueSize(int maxWaitQueueSize)
maxWaitQueueSize - the maximum number of waiting requestspublic PgPoolOptions setHost(String host)
setHost in class PgConnectOptionspublic PgPoolOptions setPort(int port)
setPort in class PgConnectOptionspublic PgPoolOptions setDatabase(String database)
setDatabase in class PgConnectOptionspublic PgPoolOptions setUser(String user)
setUser in class PgConnectOptionspublic PgPoolOptions setPassword(String password)
setPassword in class PgConnectOptionspublic PgPoolOptions setPipeliningLimit(int pipeliningLimit)
setPipeliningLimit in class PgConnectOptionspublic PgPoolOptions setCachePreparedStatements(boolean cachePreparedStatements)
setCachePreparedStatements in class PgConnectOptionspublic PgPoolOptions setSslMode(SslMode sslmode)
PgConnectOptionsSslMode for the client, this option can be used to provide different levels of secure protection.setSslMode in class PgConnectOptionssslmode - the value of sslmodepublic PgPoolOptions setSendBufferSize(int sendBufferSize)
setSendBufferSize in class PgConnectOptionspublic PgPoolOptions setReceiveBufferSize(int receiveBufferSize)
setReceiveBufferSize in class PgConnectOptionspublic PgPoolOptions setReuseAddress(boolean reuseAddress)
setReuseAddress in class PgConnectOptionspublic PgPoolOptions setTrafficClass(int trafficClass)
setTrafficClass in class PgConnectOptionspublic PgPoolOptions setTcpNoDelay(boolean tcpNoDelay)
setTcpNoDelay in class PgConnectOptionspublic PgPoolOptions setTcpKeepAlive(boolean tcpKeepAlive)
setTcpKeepAlive in class PgConnectOptionspublic PgPoolOptions setSoLinger(int soLinger)
setSoLinger in class PgConnectOptionspublic PgPoolOptions setUsePooledBuffers(boolean usePooledBuffers)
setUsePooledBuffers in class PgConnectOptionspublic PgPoolOptions setIdleTimeout(int idleTimeout)
setIdleTimeout in class PgConnectOptionspublic PgPoolOptions setSsl(boolean ssl)
setSsl in class PgConnectOptionspublic PgPoolOptions setKeyCertOptions(io.vertx.core.net.KeyCertOptions options)
setKeyCertOptions in class PgConnectOptionspublic PgPoolOptions setKeyStoreOptions(io.vertx.core.net.JksOptions options)
setKeyStoreOptions in class PgConnectOptionspublic PgPoolOptions setPfxKeyCertOptions(io.vertx.core.net.PfxOptions options)
setPfxKeyCertOptions in class PgConnectOptionspublic PgPoolOptions setPemKeyCertOptions(io.vertx.core.net.PemKeyCertOptions options)
setPemKeyCertOptions in class PgConnectOptionspublic PgPoolOptions setTrustOptions(io.vertx.core.net.TrustOptions options)
setTrustOptions in class PgConnectOptionspublic PgPoolOptions setTrustStoreOptions(io.vertx.core.net.JksOptions options)
setTrustStoreOptions in class PgConnectOptionspublic PgPoolOptions setPemTrustOptions(io.vertx.core.net.PemTrustOptions options)
setPemTrustOptions in class PgConnectOptionspublic PgPoolOptions setPfxTrustOptions(io.vertx.core.net.PfxOptions options)
setPfxTrustOptions in class PgConnectOptionspublic PgPoolOptions addEnabledCipherSuite(String suite)
addEnabledCipherSuite in class PgConnectOptionspublic PgPoolOptions addEnabledSecureTransportProtocol(String protocol)
addEnabledSecureTransportProtocol in class PgConnectOptionspublic PgPoolOptions addCrlPath(String crlPath) throws NullPointerException
addCrlPath in class PgConnectOptionsNullPointerExceptionpublic PgPoolOptions addCrlValue(io.vertx.core.buffer.Buffer crlValue) throws NullPointerException
addCrlValue in class PgConnectOptionsNullPointerExceptionpublic PgPoolOptions setTrustAll(boolean trustAll)
setTrustAll in class PgConnectOptionspublic PgPoolOptions setConnectTimeout(int connectTimeout)
setConnectTimeout in class PgConnectOptionspublic PgPoolOptions setMetricsName(String metricsName)
setMetricsName in class PgConnectOptionspublic PgPoolOptions setReconnectAttempts(int attempts)
setReconnectAttempts in class PgConnectOptionspublic PgPoolOptions setHostnameVerificationAlgorithm(String hostnameVerificationAlgorithm)
setHostnameVerificationAlgorithm in class PgConnectOptionspublic PgPoolOptions setLogActivity(boolean logEnabled)
setLogActivity in class PgConnectOptionspublic PgPoolOptions setReconnectInterval(long interval)
setReconnectInterval in class PgConnectOptionspublic PgPoolOptions setProxyOptions(io.vertx.core.net.ProxyOptions proxyOptions)
setProxyOptions in class PgConnectOptionspublic PgPoolOptions setLocalAddress(String localAddress)
setLocalAddress in class PgConnectOptionspublic PgPoolOptions setUseAlpn(boolean useAlpn)
setUseAlpn in class PgConnectOptionspublic PgPoolOptions setSslEngineOptions(io.vertx.core.net.SSLEngineOptions sslEngineOptions)
setSslEngineOptions in class PgConnectOptionspublic PgPoolOptions setJdkSslEngineOptions(io.vertx.core.net.JdkSSLEngineOptions sslEngineOptions)
setJdkSslEngineOptions in class PgConnectOptionspublic PgPoolOptions setOpenSslEngineOptions(io.vertx.core.net.OpenSSLEngineOptions sslEngineOptions)
setOpenSslEngineOptions in class PgConnectOptionspublic PgPoolOptions setReusePort(boolean reusePort)
setReusePort in class PgConnectOptionspublic PgPoolOptions setTcpFastOpen(boolean tcpFastOpen)
setTcpFastOpen in class PgConnectOptionspublic PgPoolOptions setTcpCork(boolean tcpCork)
setTcpCork in class PgConnectOptionspublic PgPoolOptions setTcpQuickAck(boolean tcpQuickAck)
setTcpQuickAck in class PgConnectOptionspublic io.vertx.core.json.JsonObject toJson()
toJson in class PgConnectOptionspublic boolean equals(Object o)
equals in class PgConnectOptionspublic int hashCode()
hashCode in class PgConnectOptionsCopyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/PgPoolOptionsConverter.html ================================================public class PgPoolOptionsConverter extends Object
PgPoolOptions.
NOTE: This class has been automatically generated from the PgPoolOptions original class using Vert.x codegen.| Constructor and Description |
|---|
PgPoolOptionsConverter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
fromJson(Iterable<Map.Entry<String,Object>> json,
PgPoolOptions obj) |
static void |
toJson(PgPoolOptions obj,
io.vertx.core.json.JsonObject json) |
static void |
toJson(PgPoolOptions obj,
Map<String,Object> json) |
public static void fromJson(Iterable<Map.Entry<String,Object>> json, PgPoolOptions obj)
public static void toJson(PgPoolOptions obj, io.vertx.core.json.JsonObject json)
public static void toJson(PgPoolOptions obj, Map<String,Object> json)
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/PgPreparedQuery.html ================================================public interface PgPreparedQuery
| Modifier and Type | Method and Description |
|---|---|
<R> PgPreparedQuery |
batch(List<Tuple> argsList,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Execute a batch.
|
PgPreparedQuery |
batch(List<Tuple> argsList,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a batch.
|
void |
close()
Close the prepared query and release its resources.
|
void |
close(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
Like
close() but notifies the completionHandler when it's closed. |
PgStream<Row> |
createStream(int fetch,
Tuple args)
Execute the prepared query with a cursor and createStream the result.
|
default PgCursor |
cursor() |
PgCursor |
cursor(Tuple args)
Create a cursor with the provided
arguments. |
default <R> PgPreparedQuery |
execute(Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Calls
execute(Tuple, Collector, Handler) with an empty tuple argument. |
default PgPreparedQuery |
execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Calls
execute(Tuple, Handler) with an empty tuple argument. |
<R> PgPreparedQuery |
execute(Tuple args,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Create a cursor with the provided
arguments. |
PgPreparedQuery |
execute(Tuple args,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Create a cursor with the provided
arguments. |
default PgPreparedQuery execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
execute(Tuple, Handler) with an empty tuple argument.default <R> PgPreparedQuery execute(Collector<Row,?,R> collector, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
execute(Tuple, Collector, Handler) with an empty tuple argument.PgPreparedQuery execute(Tuple args, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
arguments.args - the list of arguments<R> PgPreparedQuery execute(Tuple args, Collector<Row,?,R> collector, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
arguments.args - the list of argumentscollector - the collectordefault PgCursor cursor()
fetch size and empty argumentsPgCursor cursor(Tuple args)
arguments.args - the list of argumentsPgStream<Row> createStream(int fetch, Tuple args)
fetch size to fetch the results.
Note: this requires to be in a transaction, since cursors require it.fetch - the cursor fetch sizeargs - the prepared query argumentsPgPreparedQuery batch(List<Tuple> argsList, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
argsList - the list of tuple for the batch<R> PgPreparedQuery batch(List<Tuple> argsList, Collector<Row,?,R> collector, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
argsList - the list of tuple for the batchcollector - the collectorvoid close()
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/PgResult.html ================================================T - public interface PgResult<T>
| Modifier and Type | Method and Description |
|---|---|
List<String> |
columnsNames()
Get the names of columns in the PgResult.
|
PgResult<T> |
next()
Return the next available result or
null, e.g for a simple query that executed multiple queries or for
a batch result. |
int |
rowCount()
Get the number of the affected rows in the operation to this PgResult.
|
int |
size()
Get the number of rows in the PgResult.
|
T |
value()
Get the result value.
|
int rowCount()
List<String> columnsNames()
int size()
T value()
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/PgRowSet.html ================================================| Modifier and Type | Method and Description |
|---|---|
PgIterator |
iterator() |
PgRowSet |
next()
Return the next available result or
null, e.g for a simple query that executed multiple queries or for
a batch result. |
forEach, spliteratorcolumnsNames, rowCount, size, valuePgIterator iterator()
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/PgStream.html ================================================public interface PgStream<T>
extends io.vertx.core.streams.ReadStream<T>
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the stream and release the resources.
|
void |
close(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
Close the stream and release the resources.
|
PgStream<T> |
endHandler(io.vertx.core.Handler<Void> endHandler) |
PgStream<T> |
exceptionHandler(io.vertx.core.Handler<Throwable> handler) |
PgStream<T> |
handler(io.vertx.core.Handler<T> handler) |
PgStream<T> |
pause() |
PgStream<T> |
resume() |
PgStream<T> exceptionHandler(io.vertx.core.Handler<Throwable> handler)
exceptionHandler in interface io.vertx.core.streams.ReadStream<T>exceptionHandler in interface io.vertx.core.streams.StreamBasePgStream<T> handler(io.vertx.core.Handler<T> handler)
handler in interface io.vertx.core.streams.ReadStream<T>PgStream<T> endHandler(io.vertx.core.Handler<Void> endHandler)
endHandler in interface io.vertx.core.streams.ReadStream<T>void close()
void close(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
completionHandler - the completion handler for this operationCopyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/PgTransaction.html ================================================| Modifier and Type | Method and Description |
|---|---|
PgTransaction |
abortHandler(io.vertx.core.Handler<Void> handler)
Set an handler to be called when the transaction is aborted.
|
void |
commit()
Commit the current transaction.
|
void |
commit(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Like
commit() with an handler to be notified when the transaction commit has completed |
PgTransaction |
prepare(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgPreparedQuery>> handler)
Create a prepared query.
|
<R> PgTransaction |
preparedBatch(String sql,
List<Tuple> batch,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Prepare and execute a createBatch.
|
PgTransaction |
preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a createBatch.
|
<R> PgTransaction |
preparedQuery(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Prepare and execute a query.
|
PgTransaction |
preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
<R> PgTransaction |
preparedQuery(String sql,
Tuple arguments,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Prepare and execute a query.
|
PgTransaction |
preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
<R> PgTransaction |
query(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Execute a simple query.
|
PgTransaction |
query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a simple query.
|
void |
rollback()
Rollback the current transaction.
|
void |
rollback(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Like
rollback() with an handler to be notified when the transaction rollback has completed |
PgTransaction prepare(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgPreparedQuery>> handler)
sql - the sqlhandler - the handler notified with the prepared query asynchronouslyvoid commit()
void commit(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
commit() with an handler to be notified when the transaction commit has completedvoid rollback()
void rollback(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
rollback() with an handler to be notified when the transaction rollback has completedPgTransaction abortHandler(io.vertx.core.Handler<Void> handler)
handler - the handlerPgTransaction query(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClient<R> PgTransaction query(String sql, Collector<Row,?,R> collector, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
PgClientPgTransaction preparedQuery(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedQuery in interface PgClientsql - the prepared query SQLhandler - the handler notified with the execution result<R> PgTransaction preparedQuery(String sql, Collector<Row,?,R> collector, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
PgClientpreparedQuery in interface PgClientsql - the prepared query SQLcollector - the collectorhandler - the handler notified with the execution resultPgTransaction preparedQuery(String sql, Tuple arguments, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedQuery in interface PgClientsql - the prepared query SQLarguments - the list of argumentshandler - the handler notified with the execution result<R> PgTransaction preparedQuery(String sql, Tuple arguments, Collector<Row,?,R> collector, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
PgClientpreparedQuery in interface PgClientsql - the prepared query SQLarguments - the list of argumentscollector - the collectorhandler - the handler notified with the execution resultPgTransaction preparedBatch(String sql, List<Tuple> batch, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedBatch in interface PgClientsql - the prepared query SQLbatch - the batch of tupleshandler - the handler notified with the execution result<R> PgTransaction preparedBatch(String sql, List<Tuple> batch, Collector<Row,?,R> collector, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
PgClientpreparedBatch in interface PgClientsql - the prepared query SQLbatch - the batch of tuplescollector - the collectorhandler - the handler notified with the execution resultCopyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/Row.html ================================================| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
getBigDecimal(String name)
Get
BigDecimal value at pos. |
Boolean |
getBoolean(String name)
Get a boolean value at
pos. |
Boolean[] |
getBooleanArray(String name)
Get an array of
Boolean value at pos. |
Box |
getBox(String name)
Get
Box value at pos. |
Box[] |
getBoxArray(String name)
Get an array of
Box value at pos. |
io.vertx.core.buffer.Buffer |
getBuffer(String name)
Get a buffer value at
pos. |
io.vertx.core.buffer.Buffer[] |
getBufferArray(String name)
Get an array of
Buffer value at pos. |
Circle |
getCircle(String name)
Get
Circle value at pos. |
Circle[] |
getCircleArray(String name)
Get an array of
Circle value at pos. |
String |
getColumnName(int pos)
Get a column name at
pos. |
Double |
getDouble(String name)
Get a double value at
pos. |
Double[] |
getDoubleArray(String name)
Get an array of
Double value at pos. |
Float |
getFloat(String name)
Get a float value at
pos. |
Float[] |
getFloatArray(String name)
Get an array of
Float value at pos. |
Integer |
getInteger(String name)
Get an integer value at
pos. |
Integer[] |
getIntegerArray(String name)
Get an array of
Integer value at pos. |
Interval |
getInterval(String name)
Get
Interval value at pos. |
Interval[] |
getIntervalArray(String name)
Get an array of
Interval value at pos. |
Json |
getJson(String name)
Get a json value at
pos. |
Json[] |
getJsonArray(String name)
Get an array of
Json value at pos. |
Line |
getLine(String name)
Get
Line value at pos. |
Line[] |
getLineArray(String name)
Get an array of
Line value at pos. |
LineSegment |
getLineSegment(String name)
Get
LineSegment value at pos. |
LineSegment[] |
getLineSegmentArray(String name)
Get an array of
LineSegment value at pos. |
LocalDate |
getLocalDate(String name)
Get
LocalDate value at pos. |
LocalDate[] |
getLocalDateArray(String name)
Get an array of
LocalDate value at pos. |
LocalDateTime |
getLocalDateTime(String name)
Get
LocalDateTime value at pos. |
LocalDateTime[] |
getLocalDateTimeArray(String name)
Get an array of
LocalDateTime value at pos. |
LocalTime |
getLocalTime(String name)
Get
LocalTime value at pos. |
LocalTime[] |
getLocalTimeArray(String name)
Get an array of
LocalTime value at pos. |
Long |
getLong(String name)
Get a long value at
pos. |
Long[] |
getLongArray(String name)
Get an array of
Long value at pos. |
Numeric |
getNumeric(String name)
Get
Numeric value at pos. |
Numeric[] |
getNumericArray(String name)
Get an array of
Numeric value at pos. |
OffsetDateTime |
getOffsetDateTime(String name)
Get
OffsetDateTime value at pos. |
OffsetDateTime[] |
getOffsetDateTimeArray(String name)
Get an array of
OffsetDateTime value at pos. |
OffsetTime |
getOffsetTime(String name)
Get
OffsetTime value at pos. |
OffsetTime[] |
getOffsetTimeArray(String name)
Get an array of
OffsetTime value at pos. |
Path |
getPath(String name)
Get
Path value at pos. |
Path[] |
getPathArray(String name)
Get an array of
Path value at pos. |
Point |
getPoint(String name)
Get
Point value at pos. |
Point[] |
getPointArray(String name)
Get an array of
Point value at pos. |
Polygon |
getPolygon(String name)
Get
Polygon value at pos. |
Polygon[] |
getPolygonArray(String name)
Get an array of
Polygon value at pos. |
Short |
getShort(String name)
Get a short value at
pos. |
Short[] |
getShortArray(String name)
Get an array of
Short value at pos. |
String |
getString(String name)
Get a string value at
pos. |
String[] |
getStringArray(String name)
Get an array of
String value at pos. |
Temporal |
getTemporal(String name)
Get a temporal value at
pos. |
UUID |
getUUID(String name)
Get
UUID value at pos. |
UUID[] |
getUUIDArray(String name)
Get an array of
UUID value at pos. |
Object |
getValue(String name)
Get an object value at
pos. |
addBigDecimal, addBoolean, addBooleanArray, addBox, addBoxArray, addBuffer, addBufferArray, addCircle, addCircleArray, addDouble, addDoubleArray, addFloat, addFloatArray, addInteger, addIntegerArray, addInterval, addIntervalArray, addJson, addJsonArray, addLine, addLineArray, addLineSegment, addLineSegmentArray, addLocalDate, addLocalDateArray, addLocalDateTime, addLocalDateTimeArray, addLocalTime, addLocalTimeArray, addLong, addLongArray, addNumeric, addNumericArray, addOffsetDateTime, addOffsetDateTimeArray, addOffsetTime, addOffsetTimeArray, addPath, addPathArray, addPoint, addPointArray, addPolygon, addPolygonArray, addShort, addShortArray, addString, addStringArray, addTemporal, addUUID, addUUIDArray, addValue, clear, getBigDecimal, getBoolean, getBooleanArray, getBox, getBoxArray, getBuffer, getBufferArray, getCircle, getCircleArray, getDouble, getDoubleArray, getFloat, getFloatArray, getInteger, getIntegerArray, getInterval, getIntervalArray, getJson, getJsonArray, getLine, getLineArray, getLineSegment, getLineSegmentArray, getLocalDate, getLocalDateArray, getLocalDateTime, getLocalDateTimeArray, getLocalTime, getLocalTimeArray, getLong, getLongArray, getNumeric, getNumericArray, getOffsetDateTime, getOffsetDateTimeArray, getOffsetTime, getOffsetTimeArray, getPath, getPathArray, getPoint, getPointArray, getPolygon, getPolygonArray, getShort, getShortArray, getString, getStringArray, getTemporal, getUUID, getUUIDArray, getValue, of, of, of, of, of, of, of, size, tupleString getColumnName(int pos)
pos.pos - the positionnullBoolean getBoolean(String name)
pos.name - the columnnullObject getValue(String name)
pos.name - the columnnullShort getShort(String name)
pos.name - the columnnullInteger getInteger(String name)
pos.name - the columnnullLong getLong(String name)
pos.name - the columnnullFloat getFloat(String name)
pos.name - the columnnullDouble getDouble(String name)
pos.name - the columnnullString getString(String name)
pos.name - the columnnullJson getJson(String name)
pos.name - the columnnullio.vertx.core.buffer.Buffer getBuffer(String name)
pos.name - the columnnullTemporal getTemporal(String name)
pos.name - the columnnullLocalDate getLocalDate(String name)
LocalDate value at pos.name - the columnnullLocalTime getLocalTime(String name)
LocalTime value at pos.name - the columnnullLocalDateTime getLocalDateTime(String name)
LocalDateTime value at pos.name - the columnnullOffsetTime getOffsetTime(String name)
OffsetTime value at pos.name - the columnnullOffsetDateTime getOffsetDateTime(String name)
OffsetDateTime value at pos.name - the columnnullUUID getUUID(String name)
UUID value at pos.name - the columnnullBigDecimal getBigDecimal(String name)
BigDecimal value at pos.name - the columnnullNumeric getNumeric(String name)
Numeric value at pos.name - the columnnullPoint getPoint(String name)
Point value at pos.name - the columnnullLine getLine(String name)
Line value at pos.name - the columnnullLineSegment getLineSegment(String name)
LineSegment value at pos.name - the columnnullBox getBox(String name)
Box value at pos.name - the columnnullPath getPath(String name)
Path value at pos.name - the columnnullPolygon getPolygon(String name)
Polygon value at pos.name - the columnnullCircle getCircle(String name)
Circle value at pos.name - the columnnullInterval getInterval(String name)
Interval value at pos.name - the columnnullInteger[] getIntegerArray(String name)
Integer value at pos.name - the columnnullBoolean[] getBooleanArray(String name)
Boolean value at pos.name - the columnnullShort[] getShortArray(String name)
Short value at pos.name - the columnnullLong[] getLongArray(String name)
Long value at pos.name - the columnnullFloat[] getFloatArray(String name)
Float value at pos.name - the columnnullDouble[] getDoubleArray(String name)
Double value at pos.name - the columnnullString[] getStringArray(String name)
String value at pos.name - the columnnullLocalDate[] getLocalDateArray(String name)
LocalDate value at pos.name - the columnnullLocalTime[] getLocalTimeArray(String name)
LocalTime value at pos.name - the columnnullOffsetTime[] getOffsetTimeArray(String name)
OffsetTime value at pos.name - the columnnullLocalDateTime[] getLocalDateTimeArray(String name)
LocalDateTime value at pos.name - the columnnullOffsetDateTime[] getOffsetDateTimeArray(String name)
OffsetDateTime value at pos.name - the columnnullio.vertx.core.buffer.Buffer[] getBufferArray(String name)
Buffer value at pos.name - the columnnullUUID[] getUUIDArray(String name)
UUID value at pos.name - the columnnullJson[] getJsonArray(String name)
Json value at pos.name - the columnnullNumeric[] getNumericArray(String name)
Numeric value at pos.name - the columnnullPoint[] getPointArray(String name)
Point value at pos.name - the columnnullLine[] getLineArray(String name)
Line value at pos.name - the columnnullLineSegment[] getLineSegmentArray(String name)
LineSegment value at pos.name - the columnnullBox[] getBoxArray(String name)
Box value at pos.name - the columnnullPath[] getPathArray(String name)
Path value at pos.name - the columnnullPolygon[] getPolygonArray(String name)
Polygon value at pos.name - the columnnullCircle[] getCircleArray(String name)
Circle value at pos.name - the columnnullCopyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/SslMode.html ================================================public enum SslMode extends Enum<SslMode>
| Enum Constant and Description |
|---|
ALLOW
first try a non-SSL connection; if that fails, try an SSL connection.
|
DISABLE
only try a non-SSL connection.
|
PREFER
first try an SSL connection; if that fails, try a non-SSL connection.
|
REQUIRE
only try an SSL connection.
|
VERIFY_CA
only try an SSL connection, and verify that the server certificate is issued by a trusted certificate authority (CA).
|
VERIFY_FULL
only try an SSL connection, verify that the server certificate is issued by a trusted CA and that the requested server host name matches that in the certificate.
|
| Modifier and Type | Method and Description |
|---|---|
static SslMode |
of(String value) |
static SslMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SslMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SslMode DISABLE
public static final SslMode ALLOW
public static final SslMode PREFER
public static final SslMode REQUIRE
public static final SslMode VERIFY_CA
public static final SslMode VERIFY_FULL
public static SslMode[] values()
for (SslMode c : SslMode.values()) System.out.println(c);
public static SslMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/Tuple.html ================================================public interface Tuple
| Modifier and Type | Method and Description |
|---|---|
Tuple |
addBigDecimal(BigDecimal value)
Add a
BigDecimal value at the end of the tuple. |
Tuple |
addBoolean(Boolean value)
Add a boolean value at the end of the tuple.
|
Tuple |
addBooleanArray(Boolean[] value)
Add an array of
Boolean value at the end of the tuple. |
Tuple |
addBox(Box value)
Add a
Box value at the end of the tuple. |
Tuple |
addBoxArray(Box[] value)
Add an array of
Box value at the end of the tuple. |
Tuple |
addBuffer(io.vertx.core.buffer.Buffer value)
Add a buffer value at the end of the tuple.
|
Tuple |
addBufferArray(io.vertx.core.buffer.Buffer[] value)
Add an array of
Buffer value at the end of the tuple. |
Tuple |
addCircle(Circle value)
Add a
Circle value at the end of the tuple. |
Tuple |
addCircleArray(Circle[] value)
Add an array of
Circle value at the end of the tuple. |
Tuple |
addDouble(Double value)
Add a double value at the end of the tuple.
|
Tuple |
addDoubleArray(Double[] value)
Add an array of
Double value at the end of the tuple. |
Tuple |
addFloat(Float value)
Add a float value at the end of the tuple.
|
Tuple |
addFloatArray(Float[] value)
Add an array of
Float value at the end of the tuple. |
Tuple |
addInteger(Integer value)
Add an integer value at the end of the tuple.
|
Tuple |
addIntegerArray(Integer[] value)
Add an array of
Integer value at the end of the tuple. |
Tuple |
addInterval(Interval value)
Add a
Point value at the end of the tuple. |
Tuple |
addIntervalArray(Interval[] value)
Add an array of
Interval value at the end of the tuple. |
Tuple |
addJson(Json value)
Add a json value at the end of the tuple.
|
Tuple |
addJsonArray(Json[] value)
Add an array of
Json value at the end of the tuple. |
Tuple |
addLine(Line value)
Add a
Line value at the end of the tuple. |
Tuple |
addLineArray(Line[] value)
Add an array of
Line value at the end of the tuple. |
Tuple |
addLineSegment(LineSegment value)
Add a
LineSegment value at the end of the tuple. |
Tuple |
addLineSegmentArray(LineSegment[] value)
Add an array of
LineSegment value at the end of the tuple. |
Tuple |
addLocalDate(LocalDate value)
Add a
LocalDate value at the end of the tuple. |
Tuple |
addLocalDateArray(LocalDate[] value)
Add an array of
LocalDate value at the end of the tuple. |
Tuple |
addLocalDateTime(LocalDateTime value)
Add a
LocalDateTime value at the end of the tuple. |
Tuple |
addLocalDateTimeArray(LocalDateTime[] value)
Add an array of
LocalDateTime value at the end of the tuple. |
Tuple |
addLocalTime(LocalTime value)
Add a
LocalTime value at the end of the tuple. |
Tuple |
addLocalTimeArray(LocalTime[] value)
Add an array of
LocalTime value at the end of the tuple. |
Tuple |
addLong(Long value)
Add a long value at the end of the tuple.
|
Tuple |
addLongArray(Long[] value)
Add an array of
Long value at the end of the tuple. |
Tuple |
addNumeric(Numeric value)
Add a
Numeric value at the end of the tuple. |
Tuple |
addNumericArray(Numeric[] value)
Add an array of
Numeric value at the end of the tuple. |
Tuple |
addOffsetDateTime(OffsetDateTime value)
Add a
OffsetDateTime value at the end of the tuple. |
Tuple |
addOffsetDateTimeArray(OffsetDateTime[] value)
Add an array of
OffsetDateTime value at the end of the tuple. |
Tuple |
addOffsetTime(OffsetTime value)
Add a
OffsetTime value at the end of the tuple. |
Tuple |
addOffsetTimeArray(OffsetTime[] value)
Add an array of
OffsetTime value at the end of the tuple. |
Tuple |
addPath(Path value)
Add a
Path value at the end of the tuple. |
Tuple |
addPathArray(Path[] value)
Add an array of
Path value at the end of the tuple. |
Tuple |
addPoint(Point value)
Add a
Point value at the end of the tuple. |
Tuple |
addPointArray(Point[] value)
Add an array of
Point value at the end of the tuple. |
Tuple |
addPolygon(Polygon value)
Add a
Polygon value at the end of the tuple. |
Tuple |
addPolygonArray(Polygon[] value)
Add an array of
Polygon value at the end of the tuple. |
Tuple |
addShort(Short value)
Add a short value at the end of the tuple.
|
Tuple |
addShortArray(Short[] value)
Add an array of
Short value at the end of the tuple. |
Tuple |
addString(String value)
Add a string value at the end of the tuple.
|
Tuple |
addStringArray(String[] value)
Add an array of
String value at the end of the tuple. |
Tuple |
addTemporal(Temporal value)
Add a
Temporal value at the end of the tuple. |
Tuple |
addUUID(UUID value)
Add a
UUID value at the end of the tuple. |
Tuple |
addUUIDArray(UUID[] value)
Add an array of
UUID value at the end of the tuple. |
Tuple |
addValue(Object value)
Add an object value at the end of the tuple.
|
void |
clear() |
BigDecimal |
getBigDecimal(int pos)
Get
BigDecimal value at pos. |
Boolean |
getBoolean(int pos)
Get a boolean value at
pos. |
Boolean[] |
getBooleanArray(int pos)
Get an array of
Boolean value at pos. |
Box |
getBox(int pos)
Get
Box value at pos. |
Box[] |
getBoxArray(int pos)
Get an array of
Box value at pos. |
io.vertx.core.buffer.Buffer |
getBuffer(int pos)
Get a buffer value at
pos. |
io.vertx.core.buffer.Buffer[] |
getBufferArray(int pos)
Get an array of
Buffer value at pos. |
Circle |
getCircle(int pos)
Get
Circle value at pos. |
Circle[] |
getCircleArray(int pos)
Get an array of
Circle value at pos. |
Double |
getDouble(int pos)
Get a double value at
pos. |
Double[] |
getDoubleArray(int pos)
Get an array of
Double value at pos. |
Float |
getFloat(int pos)
Get a float value at
pos. |
Float[] |
getFloatArray(int pos)
Get an array of
Float value at pos. |
Integer |
getInteger(int pos)
Get an integer value at
pos. |
Integer[] |
getIntegerArray(int pos)
Get an array of
Integer value at pos. |
Interval |
getInterval(int pos)
Get
Interval value at pos. |
Interval[] |
getIntervalArray(int pos)
Get an array of
Interval value at pos. |
Json |
getJson(int pos)
Get a json value at
pos. |
Json[] |
getJsonArray(int pos)
Get an array of
Json value at pos. |
Line |
getLine(int pos)
Get
Line value at pos. |
Line[] |
getLineArray(int pos)
Get an array of
Line value at pos. |
LineSegment |
getLineSegment(int pos)
Get
LineSegment value at pos. |
LineSegment[] |
getLineSegmentArray(int pos)
Get an array of
LineSegment value at pos. |
LocalDate |
getLocalDate(int pos)
Get
LocalDate value at pos. |
LocalDate[] |
getLocalDateArray(int pos)
Get an array of
LocalDate value at pos. |
LocalDateTime |
getLocalDateTime(int pos)
Get
LocalDateTime value at pos. |
LocalDateTime[] |
getLocalDateTimeArray(int pos)
Get an array of
LocalDateTime value at pos. |
LocalTime |
getLocalTime(int pos)
Get
LocalTime value at pos. |
LocalTime[] |
getLocalTimeArray(int pos)
Get an array of
LocalTime value at pos. |
Long |
getLong(int pos)
Get a long value at
pos. |
Long[] |
getLongArray(int pos)
Get an array of
Long value at pos. |
Numeric |
getNumeric(int pos)
Get
Numeric value at pos. |
Numeric[] |
getNumericArray(int pos)
Get an array of
Numeric value at pos. |
OffsetDateTime |
getOffsetDateTime(int pos)
Get
OffsetDateTime value at pos. |
OffsetDateTime[] |
getOffsetDateTimeArray(int pos)
Get an array of
OffsetDateTime value at pos. |
OffsetTime |
getOffsetTime(int pos)
Get
OffsetTime value at pos. |
OffsetTime[] |
getOffsetTimeArray(int pos)
Get an array of
OffsetTime value at pos. |
Path |
getPath(int pos)
Get
Path value at pos. |
Path[] |
getPathArray(int pos)
Get an array of
Path value at pos. |
Point |
getPoint(int pos)
Get
Point value at pos. |
Point[] |
getPointArray(int pos)
Get an array of
Point value at pos. |
Polygon |
getPolygon(int pos)
Get
Polygon value at pos. |
Polygon[] |
getPolygonArray(int pos)
Get an array of
Polygon value at pos. |
Short |
getShort(int pos)
Get a short value at
pos. |
Short[] |
getShortArray(int pos)
Get an array of
Short value at pos. |
String |
getString(int pos)
Get a string value at
pos. |
String[] |
getStringArray(int pos)
Get an array of
String value at pos. |
Temporal |
getTemporal(int pos)
Get a
Temporal value at pos. |
UUID |
getUUID(int pos)
Get
UUID value at pos. |
UUID[] |
getUUIDArray(int pos)
Get an array of
UUID value at pos. |
Object |
getValue(int pos)
Get an object value at
pos. |
static Tuple |
of(Object elt1)
Create a tuple of one element.
|
static Tuple |
of(Object elt1,
Object... elts)
Create a tuple of an arbitrary number of elements.
|
static Tuple |
of(Object elt1,
Object elt2)
Create a tuple of two elements.
|
static Tuple |
of(Object elt1,
Object elt2,
Object elt3)
Create a tuple of three elements.
|
static Tuple |
of(Object elt1,
Object elt2,
Object elt3,
Object elt4)
Create a tuple of four elements.
|
static Tuple |
of(Object elt1,
Object elt2,
Object elt3,
Object elt4,
Object elt5)
Create a tuple of five elements.
|
static Tuple |
of(Object elt1,
Object elt2,
Object elt3,
Object elt4,
Object elt5,
Object elt6)
Create a tuple of six elements.
|
int |
size() |
static Tuple |
tuple() |
static Tuple tuple()
static Tuple of(Object elt1)
elt1 - the first valuestatic Tuple of(Object elt1, Object elt2)
elt1 - the first valueelt2 - the second valuestatic Tuple of(Object elt1, Object elt2, Object elt3)
elt1 - the first valueelt2 - the second valueelt3 - the third valuestatic Tuple of(Object elt1, Object elt2, Object elt3, Object elt4)
elt1 - the first valueelt2 - the second valueelt3 - the third valueelt4 - the fourth valuestatic Tuple of(Object elt1, Object elt2, Object elt3, Object elt4, Object elt5)
elt1 - the first valueelt2 - the second valueelt3 - the third valueelt4 - the fourth valueelt5 - the fifth valuestatic Tuple of(Object elt1, Object elt2, Object elt3, Object elt4, Object elt5, Object elt6)
elt1 - the first valueelt2 - the second valuegelt3 - the third valueelt4 - the fourth valueelt5 - the fifth valueelt6 - the sixth valuestatic Tuple of(Object elt1, Object... elts)
elt1 - the first elementelts - the remaining elementsBoolean getBoolean(int pos)
pos.pos - the positionnullObject getValue(int pos)
pos.pos - the positionnullShort getShort(int pos)
pos.pos - the positionnullInteger getInteger(int pos)
pos.pos - the positionnullLong getLong(int pos)
pos.pos - the positionnullFloat getFloat(int pos)
pos.pos - the positionnullDouble getDouble(int pos)
pos.pos - the positionnullString getString(int pos)
pos.pos - the positionnullJson getJson(int pos)
pos.pos - the positionnullTemporal getTemporal(int pos)
Temporal value at pos.pos - the positionnullLocalDate getLocalDate(int pos)
LocalDate value at pos.pos - the positionnullLocalTime getLocalTime(int pos)
LocalTime value at pos.pos - the positionnullLocalDateTime getLocalDateTime(int pos)
LocalDateTime value at pos.pos - the positionnullOffsetTime getOffsetTime(int pos)
OffsetTime value at pos.pos - the positionnullOffsetDateTime getOffsetDateTime(int pos)
OffsetDateTime value at pos.pos - the positionnullUUID getUUID(int pos)
UUID value at pos.pos - the positionnullBigDecimal getBigDecimal(int pos)
BigDecimal value at pos.pos - the positionnullInteger[] getIntegerArray(int pos)
Integer value at pos.pos - the positionnullBoolean[] getBooleanArray(int pos)
Boolean value at pos.pos - the positionnullShort[] getShortArray(int pos)
Short value at pos.pos - the positionnullLong[] getLongArray(int pos)
Long value at pos.pos - the positionnullFloat[] getFloatArray(int pos)
Float value at pos.pos - the positionnullDouble[] getDoubleArray(int pos)
Double value at pos.pos - the positionnullString[] getStringArray(int pos)
String value at pos.pos - the positionnullLocalDate[] getLocalDateArray(int pos)
LocalDate value at pos.pos - the positionnullLocalTime[] getLocalTimeArray(int pos)
LocalTime value at pos.pos - the positionnullOffsetTime[] getOffsetTimeArray(int pos)
OffsetTime value at pos.pos - the positionnullLocalDateTime[] getLocalDateTimeArray(int pos)
LocalDateTime value at pos.pos - the positionnullOffsetDateTime[] getOffsetDateTimeArray(int pos)
OffsetDateTime value at pos.pos - the positionnullio.vertx.core.buffer.Buffer[] getBufferArray(int pos)
Buffer value at pos.pos - the positionnullUUID[] getUUIDArray(int pos)
UUID value at pos.pos - the columnnullJson[] getJsonArray(int pos)
Json value at pos.pos - the columnnullNumeric[] getNumericArray(int pos)
Numeric value at pos.pos - the columnnullPoint[] getPointArray(int pos)
Point value at pos.pos - the columnnullLine[] getLineArray(int pos)
Line value at pos.pos - the columnnullLineSegment[] getLineSegmentArray(int pos)
LineSegment value at pos.pos - the columnnullBox[] getBoxArray(int pos)
Box value at pos.pos - the columnnullPath[] getPathArray(int pos)
Path value at pos.pos - the columnnullPolygon[] getPolygonArray(int pos)
Polygon value at pos.pos - the columnnullCircle[] getCircleArray(int pos)
Circle value at pos.pos - the columnnullInterval[] getIntervalArray(int pos)
Interval value at pos.pos - the columnnullNumeric getNumeric(int pos)
Numeric value at pos.pos - the positionnullPoint getPoint(int pos)
Point value at pos.pos - the positionnullLine getLine(int pos)
Line value at pos.pos - the positionnullLineSegment getLineSegment(int pos)
LineSegment value at pos.pos - the positionnullBox getBox(int pos)
Box value at pos.pos - the positionnullPath getPath(int pos)
Path value at pos.pos - the positionnullPolygon getPolygon(int pos)
Polygon value at pos.pos - the positionnullCircle getCircle(int pos)
Circle value at pos.pos - the positionnullInterval getInterval(int pos)
Interval value at pos.pos - the positionnullio.vertx.core.buffer.Buffer getBuffer(int pos)
pos.pos - the positionnullTuple addBoolean(Boolean value)
value - the valueTuple addValue(Object value)
value - the valueTuple addShort(Short value)
value - the valueTuple addInteger(Integer value)
value - the valueTuple addLong(Long value)
value - the valueTuple addFloat(Float value)
value - the valueTuple addDouble(Double value)
value - the valueTuple addString(String value)
value - the valueTuple addJson(Json value)
value - the valueTuple addBuffer(io.vertx.core.buffer.Buffer value)
value - the valueTuple addTemporal(Temporal value)
Temporal value at the end of the tuple.value - the valueTuple addLocalDate(LocalDate value)
LocalDate value at the end of the tuple.value - the valueTuple addLocalTime(LocalTime value)
LocalTime value at the end of the tuple.value - the valueTuple addLocalDateTime(LocalDateTime value)
LocalDateTime value at the end of the tuple.value - the valueTuple addOffsetTime(OffsetTime value)
OffsetTime value at the end of the tuple.value - the valueTuple addOffsetDateTime(OffsetDateTime value)
OffsetDateTime value at the end of the tuple.value - the valueTuple addUUID(UUID value)
UUID value at the end of the tuple.value - the valueTuple addNumeric(Numeric value)
Numeric value at the end of the tuple.value - the valueTuple addBigDecimal(BigDecimal value)
BigDecimal value at the end of the tuple.value - the valueTuple addPoint(Point value)
Point value at the end of the tuple.value - the valueTuple addLine(Line value)
Line value at the end of the tuple.value - the valueTuple addLineSegment(LineSegment value)
LineSegment value at the end of the tuple.value - the valueTuple addBox(Box value)
Box value at the end of the tuple.value - the valueTuple addPath(Path value)
Path value at the end of the tuple.value - the valueTuple addPolygon(Polygon value)
Polygon value at the end of the tuple.value - the valueTuple addCircle(Circle value)
Circle value at the end of the tuple.value - the valueTuple addInterval(Interval value)
Point value at the end of the tuple.value - the valueTuple addIntegerArray(Integer[] value)
Integer value at the end of the tuple.value - the valueTuple addBooleanArray(Boolean[] value)
Boolean value at the end of the tuple.value - the valueTuple addShortArray(Short[] value)
Short value at the end of the tuple.value - the valueTuple addLongArray(Long[] value)
Long value at the end of the tuple.value - the valueTuple addFloatArray(Float[] value)
Float value at the end of the tuple.value - the valueTuple addDoubleArray(Double[] value)
Double value at the end of the tuple.value - the valueTuple addStringArray(String[] value)
String value at the end of the tuple.value - the valueTuple addLocalDateArray(LocalDate[] value)
LocalDate value at the end of the tuple.value - the valueTuple addLocalTimeArray(LocalTime[] value)
LocalTime value at the end of the tuple.value - the valueTuple addOffsetTimeArray(OffsetTime[] value)
OffsetTime value at the end of the tuple.value - the valueTuple addLocalDateTimeArray(LocalDateTime[] value)
LocalDateTime value at the end of the tuple.value - the valueTuple addOffsetDateTimeArray(OffsetDateTime[] value)
OffsetDateTime value at the end of the tuple.value - the valueTuple addBufferArray(io.vertx.core.buffer.Buffer[] value)
Buffer value at the end of the tuple.value - the valueTuple addUUIDArray(UUID[] value)
UUID value at the end of the tuple.value - the valueTuple addJsonArray(Json[] value)
Json value at the end of the tuple.value - the valueTuple addNumericArray(Numeric[] value)
Numeric value at the end of the tuple.value - the valueTuple addPointArray(Point[] value)
Point value at the end of the tuple.value - the valueTuple addLineArray(Line[] value)
Line value at the end of the tuple.value - the valueTuple addLineSegmentArray(LineSegment[] value)
LineSegment value at the end of the tuple.value - the valueTuple addBoxArray(Box[] value)
Box value at the end of the tuple.value - the valueTuple addPathArray(Path[] value)
Path value at the end of the tuple.value - the valueTuple addPolygonArray(Polygon[] value)
Polygon value at the end of the tuple.value - the valueTuple addCircleArray(Circle[] value)
Circle value at the end of the tuple.value - the valueTuple addIntervalArray(Interval[] value)
Interval value at the end of the tuple.value - the valueint size()
void clear()
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/class-use/Json.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Method and Description |
|---|---|
static Json |
Json.create(Object value) |
Json |
Tuple.getJson(int pos)
Get a json value at
pos. |
Json |
Row.getJson(String name)
Get a json value at
pos. |
Json[] |
Tuple.getJsonArray(int pos)
Get an array of
Json value at pos. |
Json[] |
Row.getJsonArray(String name)
Get an array of
Json value at pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addJson(Json value)
Add a json value at the end of the tuple.
|
Tuple |
Tuple.addJsonArray(Json[] value)
Add an array of
Json value at the end of the tuple. |
| Modifier and Type | Method and Description |
|---|---|
Json |
Json.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static Json |
Json.newInstance(Json arg) |
| Constructor and Description |
|---|
Json(Json delegate) |
| Modifier and Type | Method and Description |
|---|---|
Json |
Json.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static Json |
Json.newInstance(Json arg) |
| Constructor and Description |
|---|
Json(Json delegate) |
Copyright © 2018 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/class-use/JsonImpl.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient |
= Reactive Postgres Client
The Reactive Postgres Client is a client for Postgres with a straightforward API focusing on
scalability and low overhead.
|
| Modifier and Type | Field and Description |
|---|---|
static JsonImpl |
JsonImpl.NULL |
Copyright © 2018 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/class-use/Numeric.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient |
| Modifier and Type | Field and Description |
|---|---|
static Numeric |
Numeric.NaN
Constant for the
NaN value. |
| Modifier and Type | Method and Description |
|---|---|
static Numeric |
Numeric.create(Number number)
Return a
Numeric instance for the given number. |
Numeric |
Tuple.getNumeric(int pos)
Get
Numeric value at pos. |
Numeric |
Row.getNumeric(String name)
Get
Numeric value at pos. |
Numeric[] |
Tuple.getNumericArray(int pos)
Get an array of
Numeric value at pos. |
Numeric[] |
Row.getNumericArray(String name)
Get an array of
Numeric value at pos. |
static Numeric |
Numeric.parse(String s)
Parse and return a
Numeric instance for the given s. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addNumeric(Numeric value)
Add a
Numeric value at the end of the tuple. |
Tuple |
Tuple.addNumericArray(Numeric[] value)
Add an array of
Numeric value at the end of the tuple. |
Copyright © 2018 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/class-use/PgClient.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Interface and Description |
|---|---|
interface |
PgConnection
A connection to Postgres.
|
interface |
PgPool
A pool of connection.
|
interface |
PgTransaction
A transaction that allows to control the transaction and receive events.
|
| Modifier and Type | Method and Description |
|---|---|
<R> PgClient |
PgClient.preparedBatch(String sql,
List<Tuple> batch,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Prepare and execute a createBatch.
|
PgClient |
PgClient.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a createBatch.
|
<R> PgClient |
PgClient.preparedQuery(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Prepare and execute a query.
|
PgClient |
PgClient.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
<R> PgClient |
PgClient.preparedQuery(String sql,
Tuple arguments,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Prepare and execute a query.
|
PgClient |
PgClient.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
<R> PgClient |
PgClient.query(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Execute a simple query.
|
PgClient |
PgClient.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a simple query.
|
| Modifier and Type | Method and Description |
|---|---|
PgClient |
PgClient.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static PgClient |
PgClient.newInstance(PgClient arg) |
| Constructor and Description |
|---|
PgClient(PgClient delegate) |
| Modifier and Type | Method and Description |
|---|---|
PgClient |
PgClient.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static PgClient |
PgClient.newInstance(PgClient arg) |
| Constructor and Description |
|---|
PgClient(PgClient delegate) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/class-use/PgConnectOptions.html ================================================| Modifier and Type | Class and Description |
|---|---|
class |
PgPoolOptions
The options for configuring a connection pool.
|
| Modifier and Type | Method and Description |
|---|---|
PgConnectOptions |
PgConnectOptions.addCrlPath(String crlPath) |
PgConnectOptions |
PgConnectOptions.addCrlValue(io.vertx.core.buffer.Buffer crlValue) |
PgConnectOptions |
PgConnectOptions.addEnabledCipherSuite(String suite) |
PgConnectOptions |
PgConnectOptions.addEnabledSecureTransportProtocol(String protocol) |
static PgConnectOptions |
PgConnectOptions.fromEnv()
Provide a
PgConnectOptions configured with environment variables, if the environment variable
is not set, then a default value will take precedence over this. |
static PgConnectOptions |
PgConnectOptions.fromUri(String connectionUri)
Provide a
PgConnectOptions configured from a connection URI. |
PgConnectOptions |
PgConnectOptions.setCachePreparedStatements(boolean cachePreparedStatements) |
PgConnectOptions |
PgConnectOptions.setConnectTimeout(int connectTimeout) |
PgConnectOptions |
PgConnectOptions.setDatabase(String database) |
PgConnectOptions |
PgConnectOptions.setEnabledSecureTransportProtocols(Set<String> enabledSecureTransportProtocols) |
PgConnectOptions |
PgConnectOptions.setHost(String host) |
PgConnectOptions |
PgConnectOptions.setHostnameVerificationAlgorithm(String hostnameVerificationAlgorithm) |
PgConnectOptions |
PgConnectOptions.setIdleTimeout(int idleTimeout) |
PgConnectOptions |
PgConnectOptions.setJdkSslEngineOptions(io.vertx.core.net.JdkSSLEngineOptions sslEngineOptions) |
PgConnectOptions |
PgConnectOptions.setKeyCertOptions(io.vertx.core.net.KeyCertOptions options) |
PgConnectOptions |
PgConnectOptions.setKeyStoreOptions(io.vertx.core.net.JksOptions options) |
PgConnectOptions |
PgConnectOptions.setLocalAddress(String localAddress) |
PgConnectOptions |
PgConnectOptions.setLogActivity(boolean logEnabled) |
PgConnectOptions |
PgConnectOptions.setMetricsName(String metricsName) |
PgConnectOptions |
PgConnectOptions.setOpenSslEngineOptions(io.vertx.core.net.OpenSSLEngineOptions sslEngineOptions) |
PgConnectOptions |
PgConnectOptions.setPassword(String password) |
PgConnectOptions |
PgConnectOptions.setPemKeyCertOptions(io.vertx.core.net.PemKeyCertOptions options) |
PgConnectOptions |
PgConnectOptions.setPemTrustOptions(io.vertx.core.net.PemTrustOptions options) |
PgConnectOptions |
PgConnectOptions.setPfxKeyCertOptions(io.vertx.core.net.PfxOptions options) |
PgConnectOptions |
PgConnectOptions.setPfxTrustOptions(io.vertx.core.net.PfxOptions options) |
PgConnectOptions |
PgConnectOptions.setPipeliningLimit(int pipeliningLimit) |
PgConnectOptions |
PgConnectOptions.setPort(int port) |
PgConnectOptions |
PgConnectOptions.setProxyOptions(io.vertx.core.net.ProxyOptions proxyOptions) |
PgConnectOptions |
PgConnectOptions.setReceiveBufferSize(int receiveBufferSize) |
PgConnectOptions |
PgConnectOptions.setReconnectAttempts(int attempts) |
PgConnectOptions |
PgConnectOptions.setReconnectInterval(long interval) |
PgConnectOptions |
PgConnectOptions.setReuseAddress(boolean reuseAddress) |
PgConnectOptions |
PgConnectOptions.setReusePort(boolean reusePort) |
PgConnectOptions |
PgConnectOptions.setSendBufferSize(int sendBufferSize) |
PgConnectOptions |
PgConnectOptions.setSoLinger(int soLinger) |
PgConnectOptions |
PgConnectOptions.setSsl(boolean ssl) |
PgConnectOptions |
PgConnectOptions.setSslEngineOptions(io.vertx.core.net.SSLEngineOptions sslEngineOptions) |
PgConnectOptions |
PgConnectOptions.setSslMode(SslMode sslmode)
Set
SslMode for the client, this option can be used to provide different levels of secure protection. |
PgConnectOptions |
PgConnectOptions.setTcpCork(boolean tcpCork) |
PgConnectOptions |
PgConnectOptions.setTcpFastOpen(boolean tcpFastOpen) |
PgConnectOptions |
PgConnectOptions.setTcpKeepAlive(boolean tcpKeepAlive) |
PgConnectOptions |
PgConnectOptions.setTcpNoDelay(boolean tcpNoDelay) |
PgConnectOptions |
PgConnectOptions.setTcpQuickAck(boolean tcpQuickAck) |
PgConnectOptions |
PgConnectOptions.setTrafficClass(int trafficClass) |
PgConnectOptions |
PgConnectOptions.setTrustAll(boolean trustAll) |
PgConnectOptions |
PgConnectOptions.setTrustOptions(io.vertx.core.net.TrustOptions options) |
PgConnectOptions |
PgConnectOptions.setTrustStoreOptions(io.vertx.core.net.JksOptions options) |
PgConnectOptions |
PgConnectOptions.setUseAlpn(boolean useAlpn) |
PgConnectOptions |
PgConnectOptions.setUsePooledBuffers(boolean usePooledBuffers) |
PgConnectOptions |
PgConnectOptions.setUser(String user) |
| Modifier and Type | Method and Description |
|---|---|
static void |
PgClient.connect(io.vertx.core.Vertx vertx,
PgConnectOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Connects to the database and returns the connection if that succeeds.
|
static void |
PgConnectOptionsConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
PgConnectOptions obj) |
static void |
PgConnectOptionsConverter.toJson(PgConnectOptions obj,
io.vertx.core.json.JsonObject json) |
static void |
PgConnectOptionsConverter.toJson(PgConnectOptions obj,
Map<String,Object> json) |
| Constructor and Description |
|---|
PgConnectOptions(PgConnectOptions other) |
PgPoolOptions(PgConnectOptions other) |
| Modifier and Type | Method and Description |
|---|---|
static PgSubscriber |
PgSubscriber.subscriber(io.vertx.core.Vertx vertx,
PgConnectOptions options)
Create a subscriber.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
PgClient.connect(io.vertx.reactivex.core.Vertx vertx,
PgConnectOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Connects to the database and returns the connection if that succeeds.
|
static Single<PgConnection> |
PgClient.rxConnect(io.vertx.reactivex.core.Vertx vertx,
PgConnectOptions options)
Connects to the database and returns the connection if that succeeds.
|
| Modifier and Type | Method and Description |
|---|---|
static PgSubscriber |
PgSubscriber.subscriber(io.vertx.reactivex.core.Vertx vertx,
PgConnectOptions options)
Create a subscriber.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
PgClient.connect(io.vertx.rxjava.core.Vertx vertx,
PgConnectOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Connects to the database and returns the connection if that succeeds.
|
static Single<PgConnection> |
PgClient.rxConnect(io.vertx.rxjava.core.Vertx vertx,
PgConnectOptions options)
Connects to the database and returns the connection if that succeeds.
|
| Modifier and Type | Method and Description |
|---|---|
static PgSubscriber |
PgSubscriber.subscriber(io.vertx.rxjava.core.Vertx vertx,
PgConnectOptions options)
Create a subscriber.
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/class-use/PgConnectOptionsConverter.html ================================================Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/class-use/PgConnection.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.pgclient.pubsub | |
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Method and Description |
|---|---|
PgConnection |
PgConnection.cancelRequest(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Send a request cancellation message to tell the server to cancel processing request in this connection.
|
PgConnection |
PgConnection.closeHandler(io.vertx.core.Handler<Void> handler)
Set an handler called when the connection is closed.
|
PgConnection |
PgConnection.exceptionHandler(io.vertx.core.Handler<Throwable> handler)
Set an handler called with connection errors.
|
PgConnection |
PgConnection.notificationHandler(io.vertx.core.Handler<PgNotification> handler)
Set an handler called when the connection receives notification on a channel.
|
PgConnection |
PgConnection.prepare(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgPreparedQuery>> handler)
Create a prepared query.
|
<R> PgConnection |
PgConnection.preparedBatch(String sql,
List<Tuple> batch,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
PgConnection |
PgConnection.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
<R> PgConnection |
PgConnection.preparedQuery(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
PgConnection |
PgConnection.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
<R> PgConnection |
PgConnection.preparedQuery(String sql,
Tuple arguments,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
PgConnection |
PgConnection.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
<R> PgConnection |
PgConnection.query(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
PgConnection |
PgConnection.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
| Modifier and Type | Method and Description |
|---|---|
static void |
PgClient.connect(io.vertx.core.Vertx vertx,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Like
PgClient.connect(Vertx, PgConnectOptions, Handler) with options build from the environment variables. |
static void |
PgClient.connect(io.vertx.core.Vertx vertx,
PgConnectOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Connects to the database and returns the connection if that succeeds.
|
static void |
PgClient.connect(io.vertx.core.Vertx vertx,
String connectionUri,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Like
PgClient.connect(Vertx, PgConnectOptions, Handler) with options build from connectionUri. |
void |
PgPool.getConnection(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Get a connection from the pool.
|
| Modifier and Type | Method and Description |
|---|---|
PgConnection |
PgSubscriber.actualConnection() |
| Modifier and Type | Method and Description |
|---|---|
PgConnection |
PgConnection.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static PgConnection |
PgConnection.newInstance(PgConnection arg) |
| Constructor and Description |
|---|
PgConnection(PgConnection delegate) |
| Modifier and Type | Method and Description |
|---|---|
PgConnection |
PgConnection.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static PgConnection |
PgConnection.newInstance(PgConnection arg) |
| Constructor and Description |
|---|
PgConnection(PgConnection delegate) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/class-use/PgCursor.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Method and Description |
|---|---|
default PgCursor |
PgPreparedQuery.cursor() |
PgCursor |
PgPreparedQuery.cursor(Tuple args)
Create a cursor with the provided
arguments. |
| Modifier and Type | Method and Description |
|---|---|
PgCursor |
PgCursor.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static PgCursor |
PgCursor.newInstance(PgCursor arg) |
| Constructor and Description |
|---|
PgCursor(PgCursor delegate) |
| Modifier and Type | Method and Description |
|---|---|
PgCursor |
PgCursor.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static PgCursor |
PgCursor.newInstance(PgCursor arg) |
| Constructor and Description |
|---|
PgCursor(PgCursor delegate) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/class-use/PgException.html ================================================Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/class-use/PgIterator.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Method and Description |
|---|---|
PgIterator |
PgRowSet.iterator() |
| Modifier and Type | Method and Description |
|---|---|
PgIterator |
PgIterator.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static PgIterator |
PgIterator.newInstance(PgIterator arg) |
| Constructor and Description |
|---|
PgIterator(PgIterator delegate) |
| Modifier and Type | Method and Description |
|---|---|
PgIterator |
PgIterator.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static PgIterator |
PgIterator.newInstance(PgIterator arg) |
| Constructor and Description |
|---|
PgIterator(PgIterator delegate) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/class-use/PgNotification.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Method and Description |
|---|---|
PgNotification |
PgNotification.setChannel(String channel)
Set the channel value.
|
PgNotification |
PgNotification.setPayload(String payload)
Set the payload value.
|
PgNotification |
PgNotification.setProcessId(int processId)
Set the process id.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
PgNotificationConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
PgNotification obj) |
static void |
PgNotificationConverter.toJson(PgNotification obj,
io.vertx.core.json.JsonObject json) |
static void |
PgNotificationConverter.toJson(PgNotification obj,
Map<String,Object> json) |
| Modifier and Type | Method and Description |
|---|---|
PgConnection |
PgConnection.notificationHandler(io.vertx.core.Handler<PgNotification> handler)
Set an handler called when the connection receives notification on a channel.
|
| Modifier and Type | Method and Description |
|---|---|
PgConnection |
PgConnection.notificationHandler(io.vertx.core.Handler<PgNotification> handler)
Set an handler called when the connection receives notification on a channel.
|
| Modifier and Type | Method and Description |
|---|---|
PgConnection |
PgConnection.notificationHandler(io.vertx.core.Handler<PgNotification> handler)
Set an handler called when the connection receives notification on a channel.
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/class-use/PgNotificationConverter.html ================================================Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/class-use/PgPool.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Method and Description |
|---|---|
static PgPool |
PgClient.pool()
Like
PgClient.pool(PgPoolOptions) with options build from the environment variables. |
static PgPool |
PgClient.pool(PgPoolOptions options)
Create a connection pool to the database configured with the given
options. |
static PgPool |
PgClient.pool(String connectionUri)
Like
PgClient.pool(PgPoolOptions) with options build from connectionUri. |
static PgPool |
PgClient.pool(io.vertx.core.Vertx vertx)
Like
PgClient.pool(Vertx, PgPoolOptions) with options build from the environment variables. |
static PgPool |
PgClient.pool(io.vertx.core.Vertx vertx,
PgPoolOptions options)
Like
PgClient.pool(PgPoolOptions) with a specific Vertx instance. |
static PgPool |
PgClient.pool(io.vertx.core.Vertx vertx,
String connectionUri)
Like
PgClient.pool(Vertx, PgPoolOptions) with options build from connectionUri. |
<R> PgPool |
PgPool.preparedBatch(String sql,
List<Tuple> batch,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
PgPool |
PgPool.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
<R> PgPool |
PgPool.preparedQuery(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
PgPool |
PgPool.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
<R> PgPool |
PgPool.preparedQuery(String sql,
Tuple arguments,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
PgPool |
PgPool.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
<R> PgPool |
PgPool.query(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
PgPool |
PgPool.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
| Modifier and Type | Method and Description |
|---|---|
PgPool |
PgPool.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static PgPool |
PgPool.newInstance(PgPool arg) |
| Constructor and Description |
|---|
PgPool(PgPool delegate) |
| Modifier and Type | Method and Description |
|---|---|
PgPool |
PgPool.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static PgPool |
PgPool.newInstance(PgPool arg) |
| Constructor and Description |
|---|
PgPool(PgPool delegate) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/class-use/PgPoolOptions.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Method and Description |
|---|---|
PgPoolOptions |
PgPoolOptions.addCrlPath(String crlPath) |
PgPoolOptions |
PgPoolOptions.addCrlValue(io.vertx.core.buffer.Buffer crlValue) |
PgPoolOptions |
PgPoolOptions.addEnabledCipherSuite(String suite) |
PgPoolOptions |
PgPoolOptions.addEnabledSecureTransportProtocol(String protocol) |
static PgPoolOptions |
PgPoolOptions.fromEnv()
Provide a
PgPoolOptions configured with environment variables, if the environment variable
is not set, then a default value will take precedence over this. |
static PgPoolOptions |
PgPoolOptions.fromUri(String connectionUri)
Provide a
PgPoolOptions configured from a connection URI. |
PgPoolOptions |
PgPoolOptions.setCachePreparedStatements(boolean cachePreparedStatements) |
PgPoolOptions |
PgPoolOptions.setConnectTimeout(int connectTimeout) |
PgPoolOptions |
PgPoolOptions.setDatabase(String database) |
PgPoolOptions |
PgPoolOptions.setHost(String host) |
PgPoolOptions |
PgPoolOptions.setHostnameVerificationAlgorithm(String hostnameVerificationAlgorithm) |
PgPoolOptions |
PgPoolOptions.setIdleTimeout(int idleTimeout) |
PgPoolOptions |
PgPoolOptions.setJdkSslEngineOptions(io.vertx.core.net.JdkSSLEngineOptions sslEngineOptions) |
PgPoolOptions |
PgPoolOptions.setKeyCertOptions(io.vertx.core.net.KeyCertOptions options) |
PgPoolOptions |
PgPoolOptions.setKeyStoreOptions(io.vertx.core.net.JksOptions options) |
PgPoolOptions |
PgPoolOptions.setLocalAddress(String localAddress) |
PgPoolOptions |
PgPoolOptions.setLogActivity(boolean logEnabled) |
PgPoolOptions |
PgPoolOptions.setMaxSize(int maxSize)
Set the maximum pool size
|
PgPoolOptions |
PgPoolOptions.setMaxWaitQueueSize(int maxWaitQueueSize)
Set the maximum connection request allowed in the wait queue, any requests beyond the max size will result in
an failure.
|
PgPoolOptions |
PgPoolOptions.setMetricsName(String metricsName) |
PgPoolOptions |
PgPoolOptions.setOpenSslEngineOptions(io.vertx.core.net.OpenSSLEngineOptions sslEngineOptions) |
PgPoolOptions |
PgPoolOptions.setPassword(String password) |
PgPoolOptions |
PgPoolOptions.setPemKeyCertOptions(io.vertx.core.net.PemKeyCertOptions options) |
PgPoolOptions |
PgPoolOptions.setPemTrustOptions(io.vertx.core.net.PemTrustOptions options) |
PgPoolOptions |
PgPoolOptions.setPfxKeyCertOptions(io.vertx.core.net.PfxOptions options) |
PgPoolOptions |
PgPoolOptions.setPfxTrustOptions(io.vertx.core.net.PfxOptions options) |
PgPoolOptions |
PgPoolOptions.setPipeliningLimit(int pipeliningLimit) |
PgPoolOptions |
PgPoolOptions.setPort(int port) |
PgPoolOptions |
PgPoolOptions.setProxyOptions(io.vertx.core.net.ProxyOptions proxyOptions) |
PgPoolOptions |
PgPoolOptions.setReceiveBufferSize(int receiveBufferSize) |
PgPoolOptions |
PgPoolOptions.setReconnectAttempts(int attempts) |
PgPoolOptions |
PgPoolOptions.setReconnectInterval(long interval) |
PgPoolOptions |
PgPoolOptions.setReuseAddress(boolean reuseAddress) |
PgPoolOptions |
PgPoolOptions.setReusePort(boolean reusePort) |
PgPoolOptions |
PgPoolOptions.setSendBufferSize(int sendBufferSize) |
PgPoolOptions |
PgPoolOptions.setSoLinger(int soLinger) |
PgPoolOptions |
PgPoolOptions.setSsl(boolean ssl) |
PgPoolOptions |
PgPoolOptions.setSslEngineOptions(io.vertx.core.net.SSLEngineOptions sslEngineOptions) |
PgPoolOptions |
PgPoolOptions.setSslMode(SslMode sslmode) |
PgPoolOptions |
PgPoolOptions.setTcpCork(boolean tcpCork) |
PgPoolOptions |
PgPoolOptions.setTcpFastOpen(boolean tcpFastOpen) |
PgPoolOptions |
PgPoolOptions.setTcpKeepAlive(boolean tcpKeepAlive) |
PgPoolOptions |
PgPoolOptions.setTcpNoDelay(boolean tcpNoDelay) |
PgPoolOptions |
PgPoolOptions.setTcpQuickAck(boolean tcpQuickAck) |
PgPoolOptions |
PgPoolOptions.setTrafficClass(int trafficClass) |
PgPoolOptions |
PgPoolOptions.setTrustAll(boolean trustAll) |
PgPoolOptions |
PgPoolOptions.setTrustOptions(io.vertx.core.net.TrustOptions options) |
PgPoolOptions |
PgPoolOptions.setTrustStoreOptions(io.vertx.core.net.JksOptions options) |
PgPoolOptions |
PgPoolOptions.setUseAlpn(boolean useAlpn) |
PgPoolOptions |
PgPoolOptions.setUsePooledBuffers(boolean usePooledBuffers) |
PgPoolOptions |
PgPoolOptions.setUser(String user) |
| Modifier and Type | Method and Description |
|---|---|
static void |
PgPoolOptionsConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
PgPoolOptions obj) |
static PgPool |
PgClient.pool(PgPoolOptions options)
Create a connection pool to the database configured with the given
options. |
static PgPool |
PgClient.pool(io.vertx.core.Vertx vertx,
PgPoolOptions options)
Like
PgClient.pool(PgPoolOptions) with a specific Vertx instance. |
static void |
PgPoolOptionsConverter.toJson(PgPoolOptions obj,
io.vertx.core.json.JsonObject json) |
static void |
PgPoolOptionsConverter.toJson(PgPoolOptions obj,
Map<String,Object> json) |
| Constructor and Description |
|---|
PgPoolOptions(PgPoolOptions other) |
| Modifier and Type | Method and Description |
|---|---|
static PgPool |
PgClient.pool(PgPoolOptions options)
Create a connection pool to the database configured with the given
options. |
static PgPool |
PgClient.pool(io.vertx.reactivex.core.Vertx vertx,
PgPoolOptions options)
Like
PgClient.pool() with a specific instance. |
| Modifier and Type | Method and Description |
|---|---|
static PgPool |
PgClient.pool(PgPoolOptions options)
Create a connection pool to the database configured with the given
options. |
static PgPool |
PgClient.pool(io.vertx.rxjava.core.Vertx vertx,
PgPoolOptions options)
Like
PgClient.pool() with a specific instance. |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/class-use/PgPoolOptionsConverter.html ================================================Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/class-use/PgPreparedQuery.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Method and Description |
|---|---|
<R> PgPreparedQuery |
PgPreparedQuery.batch(List<Tuple> argsList,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Execute a batch.
|
PgPreparedQuery |
PgPreparedQuery.batch(List<Tuple> argsList,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a batch.
|
default <R> PgPreparedQuery |
PgPreparedQuery.execute(Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Calls
execute(Tuple, Collector, Handler) with an empty tuple argument. |
default PgPreparedQuery |
PgPreparedQuery.execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Calls
execute(Tuple, Handler) with an empty tuple argument. |
<R> PgPreparedQuery |
PgPreparedQuery.execute(Tuple args,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Create a cursor with the provided
arguments. |
PgPreparedQuery |
PgPreparedQuery.execute(Tuple args,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Create a cursor with the provided
arguments. |
| Modifier and Type | Method and Description |
|---|---|
PgConnection |
PgConnection.prepare(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgPreparedQuery>> handler)
Create a prepared query.
|
PgTransaction |
PgTransaction.prepare(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgPreparedQuery>> handler)
Create a prepared query.
|
| Modifier and Type | Method and Description |
|---|---|
PgPreparedQuery |
PgPreparedQuery.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static PgPreparedQuery |
PgPreparedQuery.newInstance(PgPreparedQuery arg) |
| Constructor and Description |
|---|
PgPreparedQuery(PgPreparedQuery delegate) |
| Modifier and Type | Method and Description |
|---|---|
PgPreparedQuery |
PgPreparedQuery.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static PgPreparedQuery |
PgPreparedQuery.newInstance(PgPreparedQuery arg) |
| Constructor and Description |
|---|
PgPreparedQuery(PgPreparedQuery delegate) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/class-use/PgResult.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Interface and Description |
|---|---|
interface |
PgRowSet
A set of rows.
|
| Modifier and Type | Method and Description |
|---|---|
PgResult<T> |
PgResult.next()
Return the next available result or
null, e.g for a simple query that executed multiple queries or for
a batch result. |
| Modifier and Type | Method and Description |
|---|---|
<R> PgPreparedQuery |
PgPreparedQuery.batch(List<Tuple> argsList,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Execute a batch.
|
default <R> PgPreparedQuery |
PgPreparedQuery.execute(Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Calls
PgPreparedQuery.execute(Tuple, Collector, Handler) with an empty tuple argument. |
<R> PgPreparedQuery |
PgPreparedQuery.execute(Tuple args,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Create a cursor with the provided
arguments. |
<R> PgClient |
PgClient.preparedBatch(String sql,
List<Tuple> batch,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Prepare and execute a createBatch.
|
<R> PgConnection |
PgConnection.preparedBatch(String sql,
List<Tuple> batch,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
<R> PgTransaction |
PgTransaction.preparedBatch(String sql,
List<Tuple> batch,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
<R> PgPool |
PgPool.preparedBatch(String sql,
List<Tuple> batch,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
<R> PgClient |
PgClient.preparedQuery(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Prepare and execute a query.
|
<R> PgConnection |
PgConnection.preparedQuery(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
<R> PgTransaction |
PgTransaction.preparedQuery(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
<R> PgPool |
PgPool.preparedQuery(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
<R> PgClient |
PgClient.preparedQuery(String sql,
Tuple arguments,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Prepare and execute a query.
|
<R> PgConnection |
PgConnection.preparedQuery(String sql,
Tuple arguments,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
<R> PgTransaction |
PgTransaction.preparedQuery(String sql,
Tuple arguments,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
<R> PgPool |
PgPool.preparedQuery(String sql,
Tuple arguments,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
<R> PgClient |
PgClient.query(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Execute a simple query.
|
<R> PgConnection |
PgConnection.query(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
<R> PgTransaction |
PgTransaction.query(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
<R> PgPool |
PgPool.query(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
| Modifier and Type | Method and Description |
|---|---|
PgResult |
PgResult.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static <T> PgResult<T> |
PgResult.newInstance(PgResult arg) |
static <T> PgResult<T> |
PgResult.newInstance(PgResult arg,
io.vertx.lang.rx.TypeArg<T> __typeArg_T) |
| Constructor and Description |
|---|
PgResult(PgResult delegate) |
PgResult(PgResult delegate,
io.vertx.lang.rx.TypeArg<T> typeArg_0) |
| Modifier and Type | Method and Description |
|---|---|
PgResult |
PgResult.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static <T> PgResult<T> |
PgResult.newInstance(PgResult arg) |
static <T> PgResult<T> |
PgResult.newInstance(PgResult arg,
io.vertx.lang.rx.TypeArg<T> __typeArg_T) |
| Constructor and Description |
|---|
PgResult(PgResult delegate) |
PgResult(PgResult delegate,
io.vertx.lang.rx.TypeArg<T> typeArg_0) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/class-use/PgRowSet.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Method and Description |
|---|---|
PgRowSet |
PgRowSet.next() |
| Modifier and Type | Method and Description |
|---|---|
PgPreparedQuery |
PgPreparedQuery.batch(List<Tuple> argsList,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a batch.
|
default PgPreparedQuery |
PgPreparedQuery.execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Calls
PgPreparedQuery.execute(Tuple, Handler) with an empty tuple argument. |
PgPreparedQuery |
PgPreparedQuery.execute(Tuple args,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Create a cursor with the provided
arguments. |
PgClient |
PgClient.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a createBatch.
|
PgConnection |
PgConnection.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgPool |
PgPool.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgClient |
PgClient.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgConnection |
PgConnection.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgPool |
PgPool.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgClient |
PgClient.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgConnection |
PgConnection.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgPool |
PgPool.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgClient |
PgClient.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a simple query.
|
PgConnection |
PgConnection.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgPool |
PgPool.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
void |
PgCursor.read(int count,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Read rows from the cursor, the result is provided asynchronously to the
handler. |
| Modifier and Type | Method and Description |
|---|---|
PgRowSet |
PgRowSet.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static PgRowSet |
PgRowSet.newInstance(PgRowSet arg) |
| Constructor and Description |
|---|
PgRowSet(PgRowSet delegate) |
| Modifier and Type | Method and Description |
|---|---|
PgRowSet |
PgRowSet.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static PgRowSet |
PgRowSet.newInstance(PgRowSet arg) |
| Constructor and Description |
|---|
PgRowSet(PgRowSet delegate) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/class-use/PgStream.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Method and Description |
|---|---|
PgStream<Row> |
PgPreparedQuery.createStream(int fetch,
Tuple args)
Execute the prepared query with a cursor and createStream the result.
|
PgStream<T> |
PgStream.endHandler(io.vertx.core.Handler<Void> endHandler) |
PgStream<T> |
PgStream.exceptionHandler(io.vertx.core.Handler<Throwable> handler) |
PgStream<T> |
PgStream.handler(io.vertx.core.Handler<T> handler) |
PgStream<T> |
PgStream.pause() |
PgStream<T> |
PgStream.resume() |
| Modifier and Type | Method and Description |
|---|---|
PgStream |
PgStream.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static <T> PgStream<T> |
PgStream.newInstance(PgStream arg) |
static <T> PgStream<T> |
PgStream.newInstance(PgStream arg,
io.vertx.lang.rx.TypeArg<T> __typeArg_T) |
| Constructor and Description |
|---|
PgStream(PgStream delegate) |
PgStream(PgStream delegate,
io.vertx.lang.rx.TypeArg<T> typeArg_0) |
| Modifier and Type | Method and Description |
|---|---|
PgStream |
PgStream.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static <T> PgStream<T> |
PgStream.newInstance(PgStream arg) |
static <T> PgStream<T> |
PgStream.newInstance(PgStream arg,
io.vertx.lang.rx.TypeArg<T> __typeArg_T) |
| Constructor and Description |
|---|
PgStream(PgStream delegate) |
PgStream(PgStream delegate,
io.vertx.lang.rx.TypeArg<T> typeArg_0) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/class-use/PgTransaction.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Method and Description |
|---|---|
PgTransaction |
PgTransaction.abortHandler(io.vertx.core.Handler<Void> handler)
Set an handler to be called when the transaction is aborted.
|
PgTransaction |
PgConnection.begin()
Begin a transaction and returns a
PgTransaction for controlling and tracking
this transaction. |
PgTransaction |
PgTransaction.prepare(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgPreparedQuery>> handler)
Create a prepared query.
|
<R> PgTransaction |
PgTransaction.preparedBatch(String sql,
List<Tuple> batch,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
PgTransaction |
PgTransaction.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
<R> PgTransaction |
PgTransaction.preparedQuery(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
PgTransaction |
PgTransaction.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
<R> PgTransaction |
PgTransaction.preparedQuery(String sql,
Tuple arguments,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
PgTransaction |
PgTransaction.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
<R> PgTransaction |
PgTransaction.query(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
PgTransaction |
PgTransaction.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
PgPool.begin(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgTransaction>> handler)
Borrow a connection from the pool and begin a transaction, the underlying connection will be returned
to the pool when the transaction ends.
|
| Modifier and Type | Method and Description |
|---|---|
PgTransaction |
PgTransaction.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static PgTransaction |
PgTransaction.newInstance(PgTransaction arg) |
| Constructor and Description |
|---|
PgTransaction(PgTransaction delegate) |
| Modifier and Type | Method and Description |
|---|---|
PgTransaction |
PgTransaction.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static PgTransaction |
PgTransaction.newInstance(PgTransaction arg) |
| Constructor and Description |
|---|
PgTransaction(PgTransaction delegate) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/class-use/Row.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Method and Description |
|---|---|
Row |
PgIterator.next() |
| Modifier and Type | Method and Description |
|---|---|
PgStream<Row> |
PgPreparedQuery.createStream(int fetch,
Tuple args)
Execute the prepared query with a cursor and createStream the result.
|
| Modifier and Type | Method and Description |
|---|---|
<R> PgPreparedQuery |
PgPreparedQuery.batch(List<Tuple> argsList,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Execute a batch.
|
default <R> PgPreparedQuery |
PgPreparedQuery.execute(Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Calls
PgPreparedQuery.execute(Tuple, Collector, Handler) with an empty tuple argument. |
<R> PgPreparedQuery |
PgPreparedQuery.execute(Tuple args,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Create a cursor with the provided
arguments. |
<R> PgClient |
PgClient.preparedBatch(String sql,
List<Tuple> batch,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Prepare and execute a createBatch.
|
<R> PgConnection |
PgConnection.preparedBatch(String sql,
List<Tuple> batch,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
<R> PgTransaction |
PgTransaction.preparedBatch(String sql,
List<Tuple> batch,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
<R> PgPool |
PgPool.preparedBatch(String sql,
List<Tuple> batch,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
<R> PgClient |
PgClient.preparedQuery(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Prepare and execute a query.
|
<R> PgConnection |
PgConnection.preparedQuery(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
<R> PgTransaction |
PgTransaction.preparedQuery(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
<R> PgPool |
PgPool.preparedQuery(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
<R> PgClient |
PgClient.preparedQuery(String sql,
Tuple arguments,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Prepare and execute a query.
|
<R> PgConnection |
PgConnection.preparedQuery(String sql,
Tuple arguments,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
<R> PgTransaction |
PgTransaction.preparedQuery(String sql,
Tuple arguments,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
<R> PgPool |
PgPool.preparedQuery(String sql,
Tuple arguments,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
<R> PgClient |
PgClient.query(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Execute a simple query.
|
<R> PgConnection |
PgConnection.query(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
<R> PgTransaction |
PgTransaction.query(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
<R> PgPool |
PgPool.query(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
| Modifier and Type | Method and Description |
|---|---|
Row |
Row.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static Row |
Row.newInstance(Row arg) |
| Constructor and Description |
|---|
Row(Row delegate) |
| Modifier and Type | Method and Description |
|---|---|
Row |
Row.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static Row |
Row.newInstance(Row arg) |
| Constructor and Description |
|---|
Row(Row delegate) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/class-use/SslMode.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient |
| Modifier and Type | Field and Description |
|---|---|
static SslMode |
PgConnectOptions.DEFAULT_SSLMODE |
static SslMode[] |
SslMode.VALUES |
| Modifier and Type | Method and Description |
|---|---|
SslMode |
PgConnectOptions.getSslMode() |
static SslMode |
SslMode.of(String value) |
static SslMode |
SslMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SslMode[] |
SslMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
PgPoolOptions |
PgPoolOptions.setSslMode(SslMode sslmode) |
PgConnectOptions |
PgConnectOptions.setSslMode(SslMode sslmode)
Set
SslMode for the client, this option can be used to provide different levels of secure protection. |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/class-use/Tuple.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Row |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addBigDecimal(BigDecimal value)
Add a
BigDecimal value at the end of the tuple. |
Tuple |
Tuple.addBoolean(Boolean value)
Add a boolean value at the end of the tuple.
|
Tuple |
Tuple.addBooleanArray(Boolean[] value)
Add an array of
Boolean value at the end of the tuple. |
Tuple |
Tuple.addBox(Box value)
Add a
Box value at the end of the tuple. |
Tuple |
Tuple.addBoxArray(Box[] value)
Add an array of
Box value at the end of the tuple. |
Tuple |
Tuple.addBuffer(io.vertx.core.buffer.Buffer value)
Add a buffer value at the end of the tuple.
|
Tuple |
Tuple.addBufferArray(io.vertx.core.buffer.Buffer[] value)
Add an array of
Buffer value at the end of the tuple. |
Tuple |
Tuple.addCircle(Circle value)
Add a
Circle value at the end of the tuple. |
Tuple |
Tuple.addCircleArray(Circle[] value)
Add an array of
Circle value at the end of the tuple. |
Tuple |
Tuple.addDouble(Double value)
Add a double value at the end of the tuple.
|
Tuple |
Tuple.addDoubleArray(Double[] value)
Add an array of
Double value at the end of the tuple. |
Tuple |
Tuple.addFloat(Float value)
Add a float value at the end of the tuple.
|
Tuple |
Tuple.addFloatArray(Float[] value)
Add an array of
Float value at the end of the tuple. |
Tuple |
Tuple.addInteger(Integer value)
Add an integer value at the end of the tuple.
|
Tuple |
Tuple.addIntegerArray(Integer[] value)
Add an array of
Integer value at the end of the tuple. |
Tuple |
Tuple.addInterval(Interval value)
Add a
Point value at the end of the tuple. |
Tuple |
Tuple.addIntervalArray(Interval[] value)
Add an array of
Interval value at the end of the tuple. |
Tuple |
Tuple.addJson(Json value)
Add a json value at the end of the tuple.
|
Tuple |
Tuple.addJsonArray(Json[] value)
Add an array of
Json value at the end of the tuple. |
Tuple |
Tuple.addLine(Line value)
Add a
Line value at the end of the tuple. |
Tuple |
Tuple.addLineArray(Line[] value)
Add an array of
Line value at the end of the tuple. |
Tuple |
Tuple.addLineSegment(LineSegment value)
Add a
LineSegment value at the end of the tuple. |
Tuple |
Tuple.addLineSegmentArray(LineSegment[] value)
Add an array of
LineSegment value at the end of the tuple. |
Tuple |
Tuple.addLocalDate(LocalDate value)
Add a
LocalDate value at the end of the tuple. |
Tuple |
Tuple.addLocalDateArray(LocalDate[] value)
Add an array of
LocalDate value at the end of the tuple. |
Tuple |
Tuple.addLocalDateTime(LocalDateTime value)
Add a
LocalDateTime value at the end of the tuple. |
Tuple |
Tuple.addLocalDateTimeArray(LocalDateTime[] value)
Add an array of
LocalDateTime value at the end of the tuple. |
Tuple |
Tuple.addLocalTime(LocalTime value)
Add a
LocalTime value at the end of the tuple. |
Tuple |
Tuple.addLocalTimeArray(LocalTime[] value)
Add an array of
LocalTime value at the end of the tuple. |
Tuple |
Tuple.addLong(Long value)
Add a long value at the end of the tuple.
|
Tuple |
Tuple.addLongArray(Long[] value)
Add an array of
Long value at the end of the tuple. |
Tuple |
Tuple.addNumeric(Numeric value)
Add a
Numeric value at the end of the tuple. |
Tuple |
Tuple.addNumericArray(Numeric[] value)
Add an array of
Numeric value at the end of the tuple. |
Tuple |
Tuple.addOffsetDateTime(OffsetDateTime value)
Add a
OffsetDateTime value at the end of the tuple. |
Tuple |
Tuple.addOffsetDateTimeArray(OffsetDateTime[] value)
Add an array of
OffsetDateTime value at the end of the tuple. |
Tuple |
Tuple.addOffsetTime(OffsetTime value)
Add a
OffsetTime value at the end of the tuple. |
Tuple |
Tuple.addOffsetTimeArray(OffsetTime[] value)
Add an array of
OffsetTime value at the end of the tuple. |
Tuple |
Tuple.addPath(Path value)
Add a
Path value at the end of the tuple. |
Tuple |
Tuple.addPathArray(Path[] value)
Add an array of
Path value at the end of the tuple. |
Tuple |
Tuple.addPoint(Point value)
Add a
Point value at the end of the tuple. |
Tuple |
Tuple.addPointArray(Point[] value)
Add an array of
Point value at the end of the tuple. |
Tuple |
Tuple.addPolygon(Polygon value)
Add a
Polygon value at the end of the tuple. |
Tuple |
Tuple.addPolygonArray(Polygon[] value)
Add an array of
Polygon value at the end of the tuple. |
Tuple |
Tuple.addShort(Short value)
Add a short value at the end of the tuple.
|
Tuple |
Tuple.addShortArray(Short[] value)
Add an array of
Short value at the end of the tuple. |
Tuple |
Tuple.addString(String value)
Add a string value at the end of the tuple.
|
Tuple |
Tuple.addStringArray(String[] value)
Add an array of
String value at the end of the tuple. |
Tuple |
Tuple.addTemporal(Temporal value)
Add a
Temporal value at the end of the tuple. |
Tuple |
Tuple.addUUID(UUID value)
Add a
UUID value at the end of the tuple. |
Tuple |
Tuple.addUUIDArray(UUID[] value)
Add an array of
UUID value at the end of the tuple. |
Tuple |
Tuple.addValue(Object value)
Add an object value at the end of the tuple.
|
static Tuple |
Tuple.of(Object elt1)
Create a tuple of one element.
|
static Tuple |
Tuple.of(Object elt1,
Object... elts)
Create a tuple of an arbitrary number of elements.
|
static Tuple |
Tuple.of(Object elt1,
Object elt2)
Create a tuple of two elements.
|
static Tuple |
Tuple.of(Object elt1,
Object elt2,
Object elt3)
Create a tuple of three elements.
|
static Tuple |
Tuple.of(Object elt1,
Object elt2,
Object elt3,
Object elt4)
Create a tuple of four elements.
|
static Tuple |
Tuple.of(Object elt1,
Object elt2,
Object elt3,
Object elt4,
Object elt5)
Create a tuple of five elements.
|
static Tuple |
Tuple.of(Object elt1,
Object elt2,
Object elt3,
Object elt4,
Object elt5,
Object elt6)
Create a tuple of six elements.
|
static Tuple |
Tuple.tuple() |
| Modifier and Type | Method and Description |
|---|---|
PgStream<Row> |
PgPreparedQuery.createStream(int fetch,
Tuple args)
Execute the prepared query with a cursor and createStream the result.
|
PgCursor |
PgPreparedQuery.cursor(Tuple args)
Create a cursor with the provided
arguments. |
<R> PgPreparedQuery |
PgPreparedQuery.execute(Tuple args,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Create a cursor with the provided
arguments. |
PgPreparedQuery |
PgPreparedQuery.execute(Tuple args,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Create a cursor with the provided
arguments. |
<R> PgClient |
PgClient.preparedQuery(String sql,
Tuple arguments,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Prepare and execute a query.
|
<R> PgConnection |
PgConnection.preparedQuery(String sql,
Tuple arguments,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
<R> PgTransaction |
PgTransaction.preparedQuery(String sql,
Tuple arguments,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
<R> PgPool |
PgPool.preparedQuery(String sql,
Tuple arguments,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
PgClient |
PgClient.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgConnection |
PgConnection.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgPool |
PgPool.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
| Modifier and Type | Method and Description |
|---|---|
<R> PgPreparedQuery |
PgPreparedQuery.batch(List<Tuple> argsList,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Execute a batch.
|
PgPreparedQuery |
PgPreparedQuery.batch(List<Tuple> argsList,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a batch.
|
<R> PgClient |
PgClient.preparedBatch(String sql,
List<Tuple> batch,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler)
Prepare and execute a createBatch.
|
<R> PgConnection |
PgConnection.preparedBatch(String sql,
List<Tuple> batch,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
<R> PgTransaction |
PgTransaction.preparedBatch(String sql,
List<Tuple> batch,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
<R> PgPool |
PgPool.preparedBatch(String sql,
List<Tuple> batch,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgResult<R>>> handler) |
PgClient |
PgClient.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a createBatch.
|
PgConnection |
PgConnection.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgPool |
PgPool.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static Tuple |
Tuple.newInstance(Tuple arg) |
| Constructor and Description |
|---|
Tuple(Tuple delegate) |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static Tuple |
Tuple.newInstance(Tuple arg) |
| Constructor and Description |
|---|
Tuple(Tuple delegate) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/Box.html ================================================| Constructor and Description |
|---|
Box() |
Box(io.vertx.core.json.JsonObject json) |
Box(Point upperRightCorner,
Point lowerLeftCorner) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Point |
getLowerLeftCorner() |
Point |
getUpperRightCorner() |
int |
hashCode() |
void |
setLowerLeftCorner(Point lowerLeftCorner) |
void |
setUpperRightCorner(Point upperRightCorner) |
io.vertx.core.json.JsonObject |
toJson() |
String |
toString() |
public Point getUpperRightCorner()
public void setUpperRightCorner(Point upperRightCorner)
public Point getLowerLeftCorner()
public void setLowerLeftCorner(Point lowerLeftCorner)
public io.vertx.core.json.JsonObject toJson()
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/BoxConverter.html ================================================public class BoxConverter extends Object
| Constructor and Description |
|---|
BoxConverter() |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/Circle.html ================================================| Constructor and Description |
|---|
Circle() |
Circle(io.vertx.core.json.JsonObject json) |
Circle(Point centerPoint,
double radius) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Point |
getCenterPoint() |
double |
getRadius() |
int |
hashCode() |
void |
setCenterPoint(Point centerPoint) |
void |
setRadius(double radius) |
io.vertx.core.json.JsonObject |
toJson() |
String |
toString() |
public Circle()
public Circle(Point centerPoint, double radius)
public Circle(io.vertx.core.json.JsonObject json)
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/CircleConverter.html ================================================public class CircleConverter extends Object
| Constructor and Description |
|---|
CircleConverter() |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/Interval.html ================================================public class Interval extends Object
| Constructor and Description |
|---|
Interval() |
Interval(int years) |
Interval(int years,
int months) |
Interval(int years,
int months,
int days) |
Interval(int years,
int months,
int days,
int hours) |
Interval(int years,
int months,
int days,
int hours,
int minutes) |
Interval(int years,
int months,
int days,
int hours,
int minutes,
int seconds) |
Interval(int years,
int months,
int days,
int hours,
int minutes,
int seconds,
int microseconds) |
Interval(io.vertx.core.json.JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
Interval |
days(int days) |
boolean |
equals(Object o) |
int |
getDays() |
int |
getHours() |
int |
getMicroseconds() |
int |
getMinutes() |
int |
getMonths() |
int |
getSeconds() |
int |
getYears() |
int |
hashCode() |
Interval |
hours(int hours) |
Interval |
microseconds(int microseconds) |
Interval |
minutes(int minutes) |
Interval |
months(int months) |
static Interval |
of() |
static Interval |
of(int years) |
static Interval |
of(int years,
int months) |
static Interval |
of(int years,
int months,
int days) |
static Interval |
of(int years,
int months,
int days,
int hours) |
static Interval |
of(int years,
int months,
int days,
int hours,
int minutes) |
static Interval |
of(int years,
int months,
int days,
int hours,
int minutes,
int seconds) |
static Interval |
of(int years,
int months,
int days,
int hours,
int minutes,
int seconds,
int microseconds) |
Interval |
seconds(int seconds) |
void |
setDays(int days) |
void |
setHours(int hours) |
void |
setMicroseconds(int microseconds) |
void |
setMinutes(int minutes) |
void |
setMonths(int months) |
void |
setSeconds(int seconds) |
void |
setYears(int years) |
io.vertx.core.json.JsonObject |
toJson() |
String |
toString() |
Interval |
years(int years) |
public Interval()
public Interval(int years,
int months,
int days,
int hours,
int minutes,
int seconds,
int microseconds)
public Interval(int years,
int months,
int days,
int hours,
int minutes,
int seconds)
public Interval(int years,
int months,
int days,
int hours,
int minutes)
public Interval(int years,
int months,
int days,
int hours)
public Interval(int years,
int months,
int days)
public Interval(int years,
int months)
public Interval(int years)
public Interval(io.vertx.core.json.JsonObject json)
public static Interval of()
public static Interval of(int years, int months, int days, int hours, int minutes, int seconds, int microseconds)
public static Interval of(int years, int months, int days, int hours, int minutes, int seconds)
public static Interval of(int years, int months, int days, int hours, int minutes)
public static Interval of(int years, int months, int days, int hours)
public static Interval of(int years, int months, int days)
public static Interval of(int years, int months)
public static Interval of(int years)
public Interval years(int years)
public Interval months(int months)
public Interval days(int days)
public Interval hours(int hours)
public Interval minutes(int minutes)
public Interval seconds(int seconds)
public Interval microseconds(int microseconds)
public int getYears()
public void setYears(int years)
public int getMonths()
public void setMonths(int months)
public int getDays()
public void setDays(int days)
public int getHours()
public void setHours(int hours)
public int getMinutes()
public void setMinutes(int minutes)
public int getSeconds()
public void setSeconds(int seconds)
public int getMicroseconds()
public void setMicroseconds(int microseconds)
public io.vertx.core.json.JsonObject toJson()
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/IntervalConverter.html ================================================public class IntervalConverter extends Object
| Constructor and Description |
|---|
IntervalConverter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
fromJson(Iterable<Map.Entry<String,Object>> json,
Interval obj) |
static void |
toJson(Interval obj,
io.vertx.core.json.JsonObject json) |
static void |
toJson(Interval obj,
Map<String,Object> json) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/Json.html ================================================public interface Json
| Modifier and Type | Method and Description |
|---|---|
static Json |
create(Object value) |
Object |
value() |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/Line.html ================================================public class Line extends Object
| Constructor and Description |
|---|
Line() |
Line(double a,
double b,
double c) |
Line(io.vertx.core.json.JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
double |
getA() |
double |
getB() |
double |
getC() |
int |
hashCode() |
void |
setA(double a) |
void |
setB(double b) |
void |
setC(double c) |
io.vertx.core.json.JsonObject |
toJson() |
String |
toString() |
public Line()
public Line(double a,
double b,
double c)
public Line(io.vertx.core.json.JsonObject json)
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/LineConverter.html ================================================public class LineConverter extends Object
| Constructor and Description |
|---|
LineConverter() |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/LineSegment.html ================================================| Constructor and Description |
|---|
LineSegment() |
LineSegment(io.vertx.core.json.JsonObject json) |
LineSegment(Point p1,
Point p2) |
public LineSegment()
public LineSegment(io.vertx.core.json.JsonObject json)
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/LineSegmentConverter.html ================================================public class LineSegmentConverter extends Object
LineSegment.
NOTE: This class has been automatically generated from the LineSegment original class using Vert.x codegen.| Constructor and Description |
|---|
LineSegmentConverter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
fromJson(Iterable<Map.Entry<String,Object>> json,
LineSegment obj) |
static void |
toJson(LineSegment obj,
io.vertx.core.json.JsonObject json) |
static void |
toJson(LineSegment obj,
Map<String,Object> json) |
public static void fromJson(Iterable<Map.Entry<String,Object>> json, LineSegment obj)
public static void toJson(LineSegment obj, io.vertx.core.json.JsonObject json)
public static void toJson(LineSegment obj, Map<String,Object> json)
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/Numeric.html ================================================public final class Numeric extends Number
| Modifier and Type | Field and Description |
|---|---|
static Numeric |
NaN
Constant for the
NaN value. |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
bigDecimalValue() |
BigInteger |
bigIntegerValue() |
static Numeric |
create(Number number)
Return a
Numeric instance for the given number. |
double |
doubleValue() |
boolean |
equals(Object obj) |
float |
floatValue() |
int |
hashCode() |
int |
intValue() |
boolean |
isNaN() |
long |
longValue() |
static Numeric |
parse(String s)
Parse and return a
Numeric instance for the given s. |
short |
shortValue() |
String |
toString() |
public static final Numeric NaN
NaN value.public static Numeric create(Number number)
Numeric instance for the given number.
Null values or infinite Double or Float are rejected.number - the numberNumeric valueNumberFormatException - when the number is infinitepublic short shortValue()
shortValue in class Numberpublic float floatValue()
floatValue in class Numberpublic double doubleValue()
doubleValue in class Numberpublic boolean isNaN()
true when this number represents NaNpublic BigDecimal bigDecimalValue()
BigDecimal. It can be null when this instance
represents the NaN value.public BigInteger bigIntegerValue()
BigInteger. It can be null when this instance
represents the NaN value.Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/Path.html ================================================public class Path extends Object
| Constructor and Description |
|---|
Path() |
Path(boolean isOpen,
List<Point> points) |
Path(io.vertx.core.json.JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<Point> |
getPoints() |
int |
hashCode() |
boolean |
isOpen() |
void |
setOpen(boolean open) |
void |
setPoints(List<Point> points) |
io.vertx.core.json.JsonObject |
toJson() |
String |
toString() |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/PathConverter.html ================================================public class PathConverter extends Object
| Constructor and Description |
|---|
PathConverter() |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/Point.html ================================================public class Point extends Object
| Constructor and Description |
|---|
Point() |
Point(double x,
double y) |
Point(io.vertx.core.json.JsonObject json) |
public Point()
public Point(double x,
double y)
public Point(io.vertx.core.json.JsonObject json)
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/PointConverter.html ================================================public class PointConverter extends Object
| Constructor and Description |
|---|
PointConverter() |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/Polygon.html ================================================public class Polygon extends Object
| Constructor and Description |
|---|
Polygon() |
Polygon(io.vertx.core.json.JsonObject json) |
Polygon(List<Point> points) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/PolygonConverter.html ================================================public class PolygonConverter extends Object
| Constructor and Description |
|---|
PolygonConverter() |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/class-use/Box.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.pgclient.data | |
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Method and Description |
|---|---|
Box |
Tuple.getBox(int pos)
Get
Box value at pos. |
Box |
Row.getBox(String name)
Get
Box value at pos. |
Box[] |
Tuple.getBoxArray(int pos)
Get an array of
Box value at pos. |
Box[] |
Row.getBoxArray(String name)
Get an array of
Box value at pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addBox(Box value)
Add a
Box value at the end of the tuple. |
Tuple |
Tuple.addBoxArray(Box[] value)
Add an array of
Box value at the end of the tuple. |
| Modifier and Type | Method and Description |
|---|---|
static void |
BoxConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
Box obj) |
static void |
BoxConverter.toJson(Box obj,
io.vertx.core.json.JsonObject json) |
static void |
BoxConverter.toJson(Box obj,
Map<String,Object> json) |
| Modifier and Type | Method and Description |
|---|---|
Box |
Tuple.getBox(int pos)
Get value at
pos. |
Box |
Row.getBox(String name)
Get value at
pos. |
Box[] |
Tuple.getBoxArray(int pos)
Get an array of value at
pos. |
Box[] |
Row.getBoxArray(String name)
Get an array of value at
pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addBox(Box value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addBoxArray(Box[] value)
Add an array of value at the end of the tuple.
|
| Modifier and Type | Method and Description |
|---|---|
Box |
Tuple.getBox(int pos)
Get value at
pos. |
Box |
Row.getBox(String name)
Get value at
pos. |
Box[] |
Tuple.getBoxArray(int pos)
Get an array of value at
pos. |
Box[] |
Row.getBoxArray(String name)
Get an array of value at
pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addBox(Box value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addBoxArray(Box[] value)
Add an array of value at the end of the tuple.
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/class-use/BoxConverter.html ================================================Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/class-use/Circle.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.pgclient.data | |
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Method and Description |
|---|---|
Circle |
Tuple.getCircle(int pos)
Get
Circle value at pos. |
Circle |
Row.getCircle(String name)
Get
Circle value at pos. |
Circle[] |
Tuple.getCircleArray(int pos)
Get an array of
Circle value at pos. |
Circle[] |
Row.getCircleArray(String name)
Get an array of
Circle value at pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addCircle(Circle value)
Add a
Circle value at the end of the tuple. |
Tuple |
Tuple.addCircleArray(Circle[] value)
Add an array of
Circle value at the end of the tuple. |
| Modifier and Type | Method and Description |
|---|---|
static void |
CircleConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
Circle obj) |
static void |
CircleConverter.toJson(Circle obj,
io.vertx.core.json.JsonObject json) |
static void |
CircleConverter.toJson(Circle obj,
Map<String,Object> json) |
| Modifier and Type | Method and Description |
|---|---|
Circle |
Tuple.getCircle(int pos)
Get value at
pos. |
Circle |
Row.getCircle(String name)
Get value at
pos. |
Circle[] |
Tuple.getCircleArray(int pos)
Get an array of value at
pos. |
Circle[] |
Row.getCircleArray(String name)
Get an array of value at
pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addCircle(Circle value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addCircleArray(Circle[] value)
Add an array of value at the end of the tuple.
|
| Modifier and Type | Method and Description |
|---|---|
Circle |
Tuple.getCircle(int pos)
Get value at
pos. |
Circle |
Row.getCircle(String name)
Get value at
pos. |
Circle[] |
Tuple.getCircleArray(int pos)
Get an array of value at
pos. |
Circle[] |
Row.getCircleArray(String name)
Get an array of value at
pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addCircle(Circle value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addCircleArray(Circle[] value)
Add an array of value at the end of the tuple.
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/class-use/CircleConverter.html ================================================Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/class-use/Interval.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.pgclient.data | |
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Method and Description |
|---|---|
Interval |
Tuple.getInterval(int pos)
Get
Interval value at pos. |
Interval |
Row.getInterval(String name)
Get
Interval value at pos. |
Interval[] |
Tuple.getIntervalArray(int pos)
Get an array of
Interval value at pos. |
Interval[] |
Row.getIntervalArray(String name)
Get an array of
Interval value at pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addInterval(Interval value)
Add a
Point value at the end of the tuple. |
Tuple |
Tuple.addIntervalArray(Interval[] value)
Add an array of
Interval value at the end of the tuple. |
| Modifier and Type | Method and Description |
|---|---|
Interval |
Interval.days(int days) |
Interval |
Interval.hours(int hours) |
Interval |
Interval.microseconds(int microseconds) |
Interval |
Interval.minutes(int minutes) |
Interval |
Interval.months(int months) |
static Interval |
Interval.of() |
static Interval |
Interval.of(int years) |
static Interval |
Interval.of(int years,
int months) |
static Interval |
Interval.of(int years,
int months,
int days) |
static Interval |
Interval.of(int years,
int months,
int days,
int hours) |
static Interval |
Interval.of(int years,
int months,
int days,
int hours,
int minutes) |
static Interval |
Interval.of(int years,
int months,
int days,
int hours,
int minutes,
int seconds) |
static Interval |
Interval.of(int years,
int months,
int days,
int hours,
int minutes,
int seconds,
int microseconds) |
Interval |
Interval.seconds(int seconds) |
Interval |
Interval.years(int years) |
| Modifier and Type | Method and Description |
|---|---|
static void |
IntervalConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
Interval obj) |
static void |
IntervalConverter.toJson(Interval obj,
io.vertx.core.json.JsonObject json) |
static void |
IntervalConverter.toJson(Interval obj,
Map<String,Object> json) |
| Modifier and Type | Method and Description |
|---|---|
Interval |
Tuple.getInterval(int pos)
Get value at
pos. |
Interval |
Row.getInterval(String name)
Get value at
pos. |
Interval[] |
Tuple.getIntervalArray(int pos)
Get an array of value at
pos. |
Interval[] |
Row.getIntervalArray(String name)
Get an array of value at
pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addInterval(Interval value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addIntervalArray(Interval[] value)
Add an array of value at the end of the tuple.
|
| Modifier and Type | Method and Description |
|---|---|
Interval |
Tuple.getInterval(int pos)
Get value at
pos. |
Interval |
Row.getInterval(String name)
Get value at
pos. |
Interval[] |
Tuple.getIntervalArray(int pos)
Get an array of value at
pos. |
Interval[] |
Row.getIntervalArray(String name)
Get an array of value at
pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addInterval(Interval value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addIntervalArray(Interval[] value)
Add an array of value at the end of the tuple.
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/class-use/IntervalConverter.html ================================================Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/class-use/Json.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.pgclient.data | |
| io.reactiverse.reactivex.pgclient.data | |
| io.reactiverse.rxjava.pgclient.data |
| Modifier and Type | Method and Description |
|---|---|
Json |
Tuple.getJson(int pos)
Get a json value at
pos. |
Json |
Row.getJson(String name)
Get a json value at
pos. |
Json[] |
Tuple.getJsonArray(int pos)
Get an array of
Json value at pos. |
Json[] |
Row.getJsonArray(String name)
Get an array of
Json value at pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addJson(Json value)
Add a json value at the end of the tuple.
|
Tuple |
Tuple.addJsonArray(Json[] value)
Add an array of
Json value at the end of the tuple. |
| Modifier and Type | Method and Description |
|---|---|
static Json |
Json.create(Object value) |
| Modifier and Type | Method and Description |
|---|---|
Json |
Json.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static Json |
Json.newInstance(Json arg) |
| Constructor and Description |
|---|
Json(Json delegate) |
| Modifier and Type | Method and Description |
|---|---|
Json |
Json.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static Json |
Json.newInstance(Json arg) |
| Constructor and Description |
|---|
Json(Json delegate) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/class-use/Line.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.pgclient.data | |
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Method and Description |
|---|---|
Line |
Tuple.getLine(int pos)
Get
Line value at pos. |
Line |
Row.getLine(String name)
Get
Line value at pos. |
Line[] |
Tuple.getLineArray(int pos)
Get an array of
Line value at pos. |
Line[] |
Row.getLineArray(String name)
Get an array of
Line value at pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addLine(Line value)
Add a
Line value at the end of the tuple. |
Tuple |
Tuple.addLineArray(Line[] value)
Add an array of
Line value at the end of the tuple. |
| Modifier and Type | Method and Description |
|---|---|
static void |
LineConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
Line obj) |
static void |
LineConverter.toJson(Line obj,
io.vertx.core.json.JsonObject json) |
static void |
LineConverter.toJson(Line obj,
Map<String,Object> json) |
| Modifier and Type | Method and Description |
|---|---|
Line |
Tuple.getLine(int pos)
Get value at
pos. |
Line |
Row.getLine(String name)
Get value at
pos. |
Line[] |
Tuple.getLineArray(int pos)
Get an array of value at
pos. |
Line[] |
Row.getLineArray(String name)
Get an array of value at
pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addLine(Line value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addLineArray(Line[] value)
Add an array of
Line value at the end of the tuple. |
| Modifier and Type | Method and Description |
|---|---|
Line |
Tuple.getLine(int pos)
Get value at
pos. |
Line |
Row.getLine(String name)
Get value at
pos. |
Line[] |
Tuple.getLineArray(int pos)
Get an array of value at
pos. |
Line[] |
Row.getLineArray(String name)
Get an array of value at
pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addLine(Line value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addLineArray(Line[] value)
Add an array of
Line value at the end of the tuple. |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/class-use/LineConverter.html ================================================Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/class-use/LineSegment.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.pgclient.data | |
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Method and Description |
|---|---|
LineSegment |
Tuple.getLineSegment(int pos)
Get
LineSegment value at pos. |
LineSegment |
Row.getLineSegment(String name)
Get
LineSegment value at pos. |
LineSegment[] |
Tuple.getLineSegmentArray(int pos)
Get an array of
LineSegment value at pos. |
LineSegment[] |
Row.getLineSegmentArray(String name)
Get an array of
LineSegment value at pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addLineSegment(LineSegment value)
Add a
LineSegment value at the end of the tuple. |
Tuple |
Tuple.addLineSegmentArray(LineSegment[] value)
Add an array of
LineSegment value at the end of the tuple. |
| Modifier and Type | Method and Description |
|---|---|
static void |
LineSegmentConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
LineSegment obj) |
static void |
LineSegmentConverter.toJson(LineSegment obj,
io.vertx.core.json.JsonObject json) |
static void |
LineSegmentConverter.toJson(LineSegment obj,
Map<String,Object> json) |
| Modifier and Type | Method and Description |
|---|---|
LineSegment |
Tuple.getLineSegment(int pos)
Get value at
pos. |
LineSegment |
Row.getLineSegment(String name)
Get value at
pos. |
LineSegment[] |
Tuple.getLineSegmentArray(int pos)
Get an array of value at
pos. |
LineSegment[] |
Row.getLineSegmentArray(String name)
Get an array of value at
pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addLineSegment(LineSegment value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addLineSegmentArray(LineSegment[] value)
Add an array of value at the end of the tuple.
|
| Modifier and Type | Method and Description |
|---|---|
LineSegment |
Tuple.getLineSegment(int pos)
Get value at
pos. |
LineSegment |
Row.getLineSegment(String name)
Get value at
pos. |
LineSegment[] |
Tuple.getLineSegmentArray(int pos)
Get an array of value at
pos. |
LineSegment[] |
Row.getLineSegmentArray(String name)
Get an array of value at
pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addLineSegment(LineSegment value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addLineSegmentArray(LineSegment[] value)
Add an array of value at the end of the tuple.
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/class-use/LineSegmentConverter.html ================================================Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/class-use/Numeric.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.pgclient.data | |
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Method and Description |
|---|---|
Numeric |
Tuple.getNumeric(int pos)
Get
Numeric value at pos. |
Numeric |
Row.getNumeric(String name)
Get
Numeric value at pos. |
Numeric[] |
Tuple.getNumericArray(int pos)
Get an array of
Numeric value at pos. |
Numeric[] |
Row.getNumericArray(String name)
Get an array of
Numeric value at pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addNumeric(Numeric value)
Add a
Numeric value at the end of the tuple. |
Tuple |
Tuple.addNumericArray(Numeric[] value)
Add an array of
Numeric value at the end of the tuple. |
| Modifier and Type | Field and Description |
|---|---|
static Numeric |
Numeric.NaN
Constant for the
NaN value. |
| Modifier and Type | Method and Description |
|---|---|
static Numeric |
Numeric.create(Number number)
Return a
Numeric instance for the given number. |
static Numeric |
Numeric.parse(String s)
Parse and return a
Numeric instance for the given s. |
| Modifier and Type | Method and Description |
|---|---|
Numeric |
Tuple.getNumeric(int pos)
Get value at
pos. |
Numeric |
Row.getNumeric(String name)
Get value at
pos. |
Numeric[] |
Tuple.getNumericArray(int pos)
Get an array of value at
pos. |
Numeric[] |
Row.getNumericArray(String name)
Get an array of value at
pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addNumeric(Numeric value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addNumericArray(Numeric[] value)
Add an array of value at the end of the tuple.
|
| Modifier and Type | Method and Description |
|---|---|
Numeric |
Tuple.getNumeric(int pos)
Get value at
pos. |
Numeric |
Row.getNumeric(String name)
Get value at
pos. |
Numeric[] |
Tuple.getNumericArray(int pos)
Get an array of value at
pos. |
Numeric[] |
Row.getNumericArray(String name)
Get an array of value at
pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addNumeric(Numeric value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addNumericArray(Numeric[] value)
Add an array of value at the end of the tuple.
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/class-use/Path.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.pgclient.data | |
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Method and Description |
|---|---|
Path |
Tuple.getPath(int pos)
Get
Path value at pos. |
Path |
Row.getPath(String name)
Get
Path value at pos. |
Path[] |
Tuple.getPathArray(int pos)
Get an array of
Path value at pos. |
Path[] |
Row.getPathArray(String name)
Get an array of
Path value at pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addPath(Path value)
Add a
Path value at the end of the tuple. |
Tuple |
Tuple.addPathArray(Path[] value)
Add an array of
Path value at the end of the tuple. |
| Modifier and Type | Method and Description |
|---|---|
static void |
PathConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
Path obj) |
static void |
PathConverter.toJson(Path obj,
io.vertx.core.json.JsonObject json) |
static void |
PathConverter.toJson(Path obj,
Map<String,Object> json) |
| Modifier and Type | Method and Description |
|---|---|
Path |
Tuple.getPath(int pos)
Get value at
pos. |
Path |
Row.getPath(String name)
Get value at
pos. |
Path[] |
Tuple.getPathArray(int pos)
Get an array of value at
pos. |
Path[] |
Row.getPathArray(String name)
Get an array of value at
pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addPath(Path value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addPathArray(Path[] value)
Add an array of value at the end of the tuple.
|
| Modifier and Type | Method and Description |
|---|---|
Path |
Tuple.getPath(int pos)
Get value at
pos. |
Path |
Row.getPath(String name)
Get value at
pos. |
Path[] |
Tuple.getPathArray(int pos)
Get an array of value at
pos. |
Path[] |
Row.getPathArray(String name)
Get an array of value at
pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addPath(Path value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addPathArray(Path[] value)
Add an array of value at the end of the tuple.
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/class-use/PathConverter.html ================================================Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/class-use/Point.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.pgclient.data | |
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Method and Description |
|---|---|
Point |
Tuple.getPoint(int pos)
Get
Point value at pos. |
Point |
Row.getPoint(String name)
Get
Point value at pos. |
Point[] |
Tuple.getPointArray(int pos)
Get an array of
Point value at pos. |
Point[] |
Row.getPointArray(String name)
Get an array of
Point value at pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addPoint(Point value)
Add a
Point value at the end of the tuple. |
Tuple |
Tuple.addPointArray(Point[] value)
Add an array of
Point value at the end of the tuple. |
| Modifier and Type | Method and Description |
|---|---|
Point |
Circle.getCenterPoint() |
Point |
Box.getLowerLeftCorner() |
Point |
LineSegment.getP1() |
Point |
LineSegment.getP2() |
Point |
Box.getUpperRightCorner() |
Point |
Point.setX(double x) |
Point |
Point.setY(double y) |
| Modifier and Type | Method and Description |
|---|---|
List<Point> |
Polygon.getPoints() |
List<Point> |
Path.getPoints() |
| Modifier and Type | Method and Description |
|---|---|
static void |
PointConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
Point obj) |
void |
Circle.setCenterPoint(Point centerPoint) |
void |
Box.setLowerLeftCorner(Point lowerLeftCorner) |
void |
LineSegment.setP1(Point p1) |
void |
LineSegment.setP2(Point p2) |
void |
Box.setUpperRightCorner(Point upperRightCorner) |
static void |
PointConverter.toJson(Point obj,
io.vertx.core.json.JsonObject json) |
static void |
PointConverter.toJson(Point obj,
Map<String,Object> json) |
| Modifier and Type | Method and Description |
|---|---|
void |
Polygon.setPoints(List<Point> points) |
void |
Path.setPoints(List<Point> points) |
| Constructor and Description |
|---|
Box(Point upperRightCorner,
Point lowerLeftCorner) |
Circle(Point centerPoint,
double radius) |
LineSegment(Point p1,
Point p2) |
| Constructor and Description |
|---|
Path(boolean isOpen,
List<Point> points) |
Polygon(List<Point> points) |
| Modifier and Type | Method and Description |
|---|---|
Point |
Tuple.getPoint(int pos)
Get value at
pos. |
Point |
Row.getPoint(String name)
Get value at
pos. |
Point[] |
Tuple.getPointArray(int pos)
Get an array of value at
pos. |
Point[] |
Row.getPointArray(String name)
Get an array of value at
pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addPoint(Point value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addPointArray(Point[] value)
Add an array of value at the end of the tuple.
|
| Modifier and Type | Method and Description |
|---|---|
Point |
Tuple.getPoint(int pos)
Get value at
pos. |
Point |
Row.getPoint(String name)
Get value at
pos. |
Point[] |
Tuple.getPointArray(int pos)
Get an array of value at
pos. |
Point[] |
Row.getPointArray(String name)
Get an array of value at
pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addPoint(Point value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addPointArray(Point[] value)
Add an array of value at the end of the tuple.
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/class-use/PointConverter.html ================================================Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/class-use/Polygon.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.pgclient.data | |
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Method and Description |
|---|---|
Polygon |
Tuple.getPolygon(int pos)
Get
Polygon value at pos. |
Polygon |
Row.getPolygon(String name)
Get
Polygon value at pos. |
Polygon[] |
Tuple.getPolygonArray(int pos)
Get an array of
Polygon value at pos. |
Polygon[] |
Row.getPolygonArray(String name)
Get an array of
Polygon value at pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addPolygon(Polygon value)
Add a
Polygon value at the end of the tuple. |
Tuple |
Tuple.addPolygonArray(Polygon[] value)
Add an array of
Polygon value at the end of the tuple. |
| Modifier and Type | Method and Description |
|---|---|
static void |
PolygonConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
Polygon obj) |
static void |
PolygonConverter.toJson(Polygon obj,
io.vertx.core.json.JsonObject json) |
static void |
PolygonConverter.toJson(Polygon obj,
Map<String,Object> json) |
| Modifier and Type | Method and Description |
|---|---|
Polygon |
Tuple.getPolygon(int pos)
Get value at
pos. |
Polygon |
Row.getPolygon(String name)
Get value at
pos. |
Polygon[] |
Tuple.getPolygonArray(int pos)
Get an array of value at
pos. |
Polygon[] |
Row.getPolygonArray(String name)
Get an array of value at
pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addPolygon(Polygon value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addPolygonArray(Polygon[] value)
Add an array of value at the end of the tuple.
|
| Modifier and Type | Method and Description |
|---|---|
Polygon |
Tuple.getPolygon(int pos)
Get value at
pos. |
Polygon |
Row.getPolygon(String name)
Get value at
pos. |
Polygon[] |
Tuple.getPolygonArray(int pos)
Get an array of value at
pos. |
Polygon[] |
Row.getPolygonArray(String name)
Get an array of value at
pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addPolygon(Polygon value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addPolygonArray(Polygon[] value)
Add an array of value at the end of the tuple.
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/class-use/PolygonConverter.html ================================================Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/package-frame.html ================================================| Interface | Description |
|---|---|
| Json |
| Class | Description |
|---|---|
| Box |
Rectangular box data type in Postgres represented by pairs of
Points that are opposite corners of the box. |
| BoxConverter |
Converter for
Box. |
| Circle |
Circle data type in Postgres represented by a center
Point and radius. |
| CircleConverter |
Converter for
Circle. |
| Interval |
Postgres Interval is date and time based
such as 120 years 3 months 332 days 20 hours 20 minutes 20.999999 seconds
|
| IntervalConverter |
Converter for
Interval. |
| Line |
Line data type in Postgres represented by the linear equation Ax + By + C = 0, where A and B are not both zero.
|
| LineConverter |
Converter for
Line. |
| LineSegment |
Finite line segment data type in Postgres represented by pairs of
Points that are the endpoints of the segment. |
| LineSegmentConverter |
Converter for
LineSegment. |
| Numeric |
The Postgres NUMERIC type.
|
| Path |
Path data type in Postgres represented by lists of connected points.
|
| PathConverter |
Converter for
Path. |
| Point |
A Postgresql point.
|
| PointConverter |
Converter for
Point. |
| Polygon |
Polygon data type in Postgres represented by lists of points (the vertexes of the polygon).
|
| PolygonConverter |
Converter for
Polygon. |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/package-tree.html ================================================Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/data/package-use.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.pgclient.data |
| Class and Description |
|---|
| Box
Rectangular box data type in Postgres represented by pairs of
Points that are opposite corners of the box. |
| Circle
Circle data type in Postgres represented by a center
Point and radius. |
| Interval
Postgres Interval is date and time based
such as 120 years 3 months 332 days 20 hours 20 minutes 20.999999 seconds
|
| Json |
| Line
Line data type in Postgres represented by the linear equation Ax + By + C = 0, where A and B are not both zero.
|
| LineSegment
Finite line segment data type in Postgres represented by pairs of
Points that are the endpoints of the segment. |
| Numeric
The Postgres NUMERIC type.
|
| Path
Path data type in Postgres represented by lists of connected points.
|
| Point
A Postgresql point.
|
| Polygon
Polygon data type in Postgres represented by lists of points (the vertexes of the polygon).
|
| Class and Description |
|---|
| Box
Rectangular box data type in Postgres represented by pairs of
Points that are opposite corners of the box. |
| Circle
Circle data type in Postgres represented by a center
Point and radius. |
| Interval
Postgres Interval is date and time based
such as 120 years 3 months 332 days 20 hours 20 minutes 20.999999 seconds
|
| Json |
| Line
Line data type in Postgres represented by the linear equation Ax + By + C = 0, where A and B are not both zero.
|
| LineSegment
Finite line segment data type in Postgres represented by pairs of
Points that are the endpoints of the segment. |
| Numeric
The Postgres NUMERIC type.
|
| Path
Path data type in Postgres represented by lists of connected points.
|
| Point
A Postgresql point.
|
| Polygon
Polygon data type in Postgres represented by lists of points (the vertexes of the polygon).
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/package-frame.html ================================================| Interface | Description |
|---|---|
| PgClient |
Defines the client operations with a Postgres Database.
|
| PgConnection |
A connection to Postgres.
|
| PgCursor |
A cursor that reads progressively the rows from Postgres, it is usefull for reading very large result.
|
| PgIterator |
An iterator for processing postgres items synchronously.
|
| PgPool |
A pool of connection.
|
| PgPreparedQuery |
A prepared query.
|
| PgResult<T> |
Represents the result of an operation on database.
|
| PgRowSet |
A set of rows.
|
| PgStream<T> |
A row oriented stream.
|
| PgTransaction |
A transaction that allows to control the transaction and receive events.
|
| Row | |
| Tuple |
A general purpose tuple.
|
| Class | Description |
|---|---|
| PgConnectOptions | |
| PgConnectOptionsConverter |
Converter for
PgConnectOptions. |
| PgNotification |
A notification emited by Postgres.
|
| PgNotificationConverter |
Converter for
PgNotification. |
| PgPoolOptions |
The options for configuring a connection pool.
|
| PgPoolOptionsConverter |
Converter for
PgPoolOptions. |
| Enum | Description |
|---|---|
| SslMode |
The different values for the sslmode parameter provide different levels of protection.
|
| Exception | Description |
|---|---|
| PgException |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/package-tree.html ================================================Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/package-use.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient | |
| io.reactiverse.pgclient.pubsub | |
| io.reactiverse.rxjava.pgclient |
| Class and Description |
|---|
| PgClient
Defines the client operations with a Postgres Database.
|
| PgConnection
A connection to Postgres.
|
| PgConnectOptions |
| PgCursor
A cursor that reads progressively the rows from Postgres, it is usefull for reading very large result.
|
| PgIterator
An iterator for processing postgres items synchronously.
|
| PgNotification
A notification emited by Postgres.
|
| PgPool
A pool of connection.
|
| PgPoolOptions
The options for configuring a connection pool.
|
| PgPreparedQuery
A prepared query.
|
| PgResult
Represents the result of an operation on database.
|
| PgRowSet
A set of rows.
|
| PgStream
A row oriented stream.
|
| PgTransaction
A transaction that allows to control the transaction and receive events.
|
| Row |
| SslMode
The different values for the sslmode parameter provide different levels of protection.
|
| Tuple
A general purpose tuple.
|
| Class and Description |
|---|
| PgConnection
A connection to Postgres.
|
| PgConnectOptions |
| Class and Description |
|---|
| PgCursor
A cursor that reads progressively the rows from Postgres, it is usefull for reading very large result.
|
| PgIterator
An iterator for processing postgres items synchronously.
|
| Row |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/pubsub/PgChannel.html ================================================public interface PgChannel extends io.vertx.core.streams.ReadStream<String>
LISTEN/UNLISTEN commands.
When paused the channel discards the messages.| Modifier and Type | Method and Description |
|---|---|
PgChannel |
endHandler(io.vertx.core.Handler<Void> endHandler)
Set an handler to be called when no more notifications will be received.
|
PgChannel |
exceptionHandler(io.vertx.core.Handler<Throwable> handler) |
PgChannel |
handler(io.vertx.core.Handler<String> handler)
Set or unset an handler to be called when a the channel is notified by Postgres.
|
PgChannel |
pause()
Pause the channel, all notifications are discarded.
|
PgChannel |
resume()
Resume the channel.
|
PgChannel |
subscribeHandler(io.vertx.core.Handler<Void> handler)
Set an handler called when the the channel get subscribed.
|
PgChannel subscribeHandler(io.vertx.core.Handler<Void> handler)
handler - the handlerPgChannel handler(io.vertx.core.Handler<String> handler)
LISTEN command if neededUNLISTEN command if neededhandler in interface io.vertx.core.streams.ReadStream<String>handler - the handlerPgChannel pause()
pause in interface io.vertx.core.streams.ReadStream<String>PgChannel resume()
resume in interface io.vertx.core.streams.ReadStream<String>PgChannel endHandler(io.vertx.core.Handler<Void> endHandler)
endHandler in interface io.vertx.core.streams.ReadStream<String>endHandler - the handlerCopyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/pubsub/PgSubscriber.html ================================================public interface PgSubscriber
LISTEN/UNLISTEN to Postgres channels.
The subscriber manages a single connection to Postgres.| Modifier and Type | Method and Description |
|---|---|
PgConnection |
actualConnection() |
PgChannel |
channel(String name)
Return a channel for the given
name. |
void |
close()
Close the subscriber, the retry policy will not be invoked.
|
boolean |
closed() |
PgSubscriber |
closeHandler(io.vertx.core.Handler<Void> handler)
Set an handler called when the subscriber is closed.
|
PgSubscriber |
connect(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Connect the subscriber to Postgres.
|
PgSubscriber |
reconnectPolicy(Function<Integer,Long> policy)
Set the reconnect policy that is executed when the subscriber is disconnected.
|
static PgSubscriber |
subscriber(io.vertx.core.Vertx vertx,
PgConnectOptions options)
Create a subscriber.
|
static PgSubscriber subscriber(io.vertx.core.Vertx vertx, PgConnectOptions options)
vertx - the vertx instanceoptions - the connect optionsPgChannel channel(String name)
name.name - the channel name
This will be the name of the channel exactly as held by Postgres for sending
notifications. Internally this name will be truncated to the Postgres identifier
maxiumum length of (NAMEDATALEN = 64) - 1 == 63 characters, and prepared
as a quoted identifier without unicode escape sequence support for use in
LISTEN/UNLISTEN commands. Examples of channel names and corresponding
NOTIFY commands:
name == "the_channel": NOTIFY the_channel, 'msg',
NOTIFY The_Channel, 'msg', or NOTIFY "the_channel", 'msg'
succeed in delivering a message to the created channel
name == "The_Channel": NOTIFY "The_Channel", 'msg',
succeeds in delivering a message to the created channel
PgSubscriber connect(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
handler - the handler notified of the connection success or failurePgSubscriber reconnectPolicy(Function<Integer,Long> policy)
policy function is called with the actual
number of retries and returns an amountOfTime value:
amountOfTime < 0: the subscriber is closed and there is no retryamountOfTime == 0: the subscriber retries to connect immediatelyamountOfTime > 0: the subscriber retries after amountOfTime millisecondspolicy - the policy to setPgSubscriber closeHandler(io.vertx.core.Handler<Void> handler)
handler - the handlerPgConnection actualConnection()
nullboolean closed()
void close()
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/pubsub/class-use/PgChannel.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient.pubsub | |
| io.reactiverse.reactivex.pgclient.pubsub | |
| io.reactiverse.rxjava.pgclient.pubsub |
| Modifier and Type | Method and Description |
|---|---|
PgChannel |
PgSubscriber.channel(String name)
Return a channel for the given
name. |
PgChannel |
PgChannel.endHandler(io.vertx.core.Handler<Void> endHandler)
Set an handler to be called when no more notifications will be received.
|
PgChannel |
PgChannel.exceptionHandler(io.vertx.core.Handler<Throwable> handler) |
PgChannel |
PgChannel.handler(io.vertx.core.Handler<String> handler)
Set or unset an handler to be called when a the channel is notified by Postgres.
|
PgChannel |
PgChannel.pause()
Pause the channel, all notifications are discarded.
|
PgChannel |
PgChannel.resume()
Resume the channel.
|
PgChannel |
PgChannel.subscribeHandler(io.vertx.core.Handler<Void> handler)
Set an handler called when the the channel get subscribed.
|
| Modifier and Type | Method and Description |
|---|---|
PgChannel |
PgChannel.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static PgChannel |
PgChannel.newInstance(PgChannel arg) |
| Constructor and Description |
|---|
PgChannel(PgChannel delegate) |
| Modifier and Type | Method and Description |
|---|---|
PgChannel |
PgChannel.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static PgChannel |
PgChannel.newInstance(PgChannel arg) |
| Constructor and Description |
|---|
PgChannel(PgChannel delegate) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/pubsub/class-use/PgSubscriber.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient.pubsub | |
| io.reactiverse.reactivex.pgclient.pubsub | |
| io.reactiverse.rxjava.pgclient.pubsub |
| Modifier and Type | Method and Description |
|---|---|
PgSubscriber |
PgSubscriber.closeHandler(io.vertx.core.Handler<Void> handler)
Set an handler called when the subscriber is closed.
|
PgSubscriber |
PgSubscriber.connect(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Connect the subscriber to Postgres.
|
PgSubscriber |
PgSubscriber.reconnectPolicy(Function<Integer,Long> policy)
Set the reconnect policy that is executed when the subscriber is disconnected.
|
static PgSubscriber |
PgSubscriber.subscriber(io.vertx.core.Vertx vertx,
PgConnectOptions options)
Create a subscriber.
|
| Modifier and Type | Method and Description |
|---|---|
PgSubscriber |
PgSubscriber.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static PgSubscriber |
PgSubscriber.newInstance(PgSubscriber arg) |
| Constructor and Description |
|---|
PgSubscriber(PgSubscriber delegate) |
| Modifier and Type | Method and Description |
|---|---|
PgSubscriber |
PgSubscriber.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static PgSubscriber |
PgSubscriber.newInstance(PgSubscriber arg) |
| Constructor and Description |
|---|
PgSubscriber(PgSubscriber delegate) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/pubsub/package-frame.html ================================================| Interface | Description |
|---|---|
| PgChannel |
A channel to Postgres that tracks the subscription to a given Postgres channel using the
LISTEN/UNLISTEN commands. |
| PgSubscriber |
A class for managing subscriptions using
LISTEN/UNLISTEN to Postgres channels. |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/pubsub/package-tree.html ================================================Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/pgclient/pubsub/package-use.html ================================================| Package | Description |
|---|---|
| io.reactiverse.pgclient.pubsub |
| Class and Description |
|---|
| PgChannel
A channel to Postgres that tracks the subscription to a given Postgres channel using the
LISTEN/UNLISTEN commands. |
| PgSubscriber
A class for managing subscriptions using
LISTEN/UNLISTEN to Postgres channels. |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/Json.html ================================================public class Json extends Object
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.reactivex.TypeArg<Json> |
__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
static Json |
create(Object value) |
boolean |
equals(Object o) |
Json |
getDelegate() |
int |
hashCode() |
static Json |
newInstance(Json arg) |
String |
toString() |
Object |
value() |
Copyright © 2018 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/PgClient.html ================================================public class PgClient extends Object
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgClient> |
__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
static void |
connect(io.vertx.reactivex.core.Vertx vertx,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Like
connect(io.vertx.reactivex.core.Vertx, io.reactiverse.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.reactivex.pgclient.PgConnection>>) with options build from the environment variables. |
static void |
connect(io.vertx.reactivex.core.Vertx vertx,
PgConnectOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Connects to the database and returns the connection if that succeeds.
|
static void |
connect(io.vertx.reactivex.core.Vertx vertx,
String connectionUri,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
|
boolean |
equals(Object o) |
PgClient |
getDelegate() |
int |
hashCode() |
static PgClient |
newInstance(PgClient arg) |
static PgPool |
pool()
Like
pool() with options build from the environment variables. |
static PgPool |
pool(PgPoolOptions options)
Create a connection pool to the database configured with the given
options. |
static PgPool |
pool(String connectionUri)
Like
pool() with options build from connectionUri. |
static PgPool |
pool(io.vertx.reactivex.core.Vertx vertx)
Like
pool() with options build from the environment variables. |
static PgPool |
pool(io.vertx.reactivex.core.Vertx vertx,
PgPoolOptions options)
Like
pool() with a specific instance. |
static PgPool |
pool(io.vertx.reactivex.core.Vertx vertx,
String connectionUri)
Like
pool() with options build from connectionUri. |
PgClient |
preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a createBatch.
|
PgClient |
preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgClient |
preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgClient |
query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a simple query.
|
static Single<PgConnection> |
rxConnect(io.vertx.reactivex.core.Vertx vertx)
Like
connect(io.vertx.reactivex.core.Vertx, io.reactiverse.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.reactivex.pgclient.PgConnection>>) with options build from the environment variables. |
static Single<PgConnection> |
rxConnect(io.vertx.reactivex.core.Vertx vertx,
PgConnectOptions options)
Connects to the database and returns the connection if that succeeds.
|
static Single<PgConnection> |
rxConnect(io.vertx.reactivex.core.Vertx vertx,
String connectionUri)
|
Single<PgRowSet> |
rxPreparedBatch(String sql,
List<Tuple> batch)
Prepare and execute a createBatch.
|
Single<PgRowSet> |
rxPreparedQuery(String sql)
Prepare and execute a query.
|
Single<PgRowSet> |
rxPreparedQuery(String sql,
Tuple arguments)
Prepare and execute a query.
|
Single<PgRowSet> |
rxQuery(String sql)
Execute a simple query.
|
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<PgClient> __TYPE_ARG
public PgClient(PgClient delegate)
public PgClient getDelegate()
public static PgPool pool()
pool() with options build from the environment variables.public static PgPool pool(String connectionUri)
pool() with options build from connectionUri.connectionUri - public static PgPool pool(io.vertx.reactivex.core.Vertx vertx)
pool() with options build from the environment variables.vertx - public static PgPool pool(io.vertx.reactivex.core.Vertx vertx, String connectionUri)
pool() with options build from connectionUri.vertx - connectionUri - public static PgPool pool(PgPoolOptions options)
options.options - the options for creating the poolpublic static PgPool pool(io.vertx.reactivex.core.Vertx vertx, PgPoolOptions options)
pool() with a specific instance.vertx - options - public static void connect(io.vertx.reactivex.core.Vertx vertx,
PgConnectOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
vertx - the vertx instanceoptions - the connect optionshandler - the handler called with the connection or the failurepublic static Single<PgConnection> rxConnect(io.vertx.reactivex.core.Vertx vertx, PgConnectOptions options)
vertx - the vertx instanceoptions - the connect optionspublic static void connect(io.vertx.reactivex.core.Vertx vertx,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
connect(io.vertx.reactivex.core.Vertx, io.reactiverse.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.reactivex.pgclient.PgConnection>>) with options build from the environment variables.vertx - handler - public static Single<PgConnection> rxConnect(io.vertx.reactivex.core.Vertx vertx)
connect(io.vertx.reactivex.core.Vertx, io.reactiverse.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.reactivex.pgclient.PgConnection>>) with options build from the environment variables.vertx - public static void connect(io.vertx.reactivex.core.Vertx vertx,
String connectionUri,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
connect(io.vertx.reactivex.core.Vertx, io.reactiverse.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.reactivex.pgclient.PgConnection>>) with options build from connectionUri.vertx - connectionUri - handler - public static Single<PgConnection> rxConnect(io.vertx.reactivex.core.Vertx vertx, String connectionUri)
connect(io.vertx.reactivex.core.Vertx, io.reactiverse.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.reactivex.pgclient.PgConnection>>) with options build from connectionUri.vertx - connectionUri - public PgClient query(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
sql - the query SQLhandler - the handler notified with the execution resultpublic Single<PgRowSet> rxQuery(String sql)
sql - the query SQLpublic PgClient preparedQuery(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
sql - the prepared query SQLhandler - the handler notified with the execution resultpublic Single<PgRowSet> rxPreparedQuery(String sql)
sql - the prepared query SQLpublic PgClient preparedQuery(String sql, Tuple arguments, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
sql - the prepared query SQLarguments - the list of argumentshandler - the handler notified with the execution resultpublic Single<PgRowSet> rxPreparedQuery(String sql, Tuple arguments)
sql - the prepared query SQLarguments - the list of argumentspublic PgClient preparedBatch(String sql, List<Tuple> batch, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
sql - the prepared query SQLbatch - the batch of tupleshandler - the handler notified with the execution resultpublic Single<PgRowSet> rxPreparedBatch(String sql, List<Tuple> batch)
sql - the prepared query SQLbatch - the batch of tuplesCopyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/PgConnection.html ================================================| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgConnection> |
__TYPE_ARG |
| Constructor and Description |
|---|
PgConnection(PgConnection delegate) |
| Modifier and Type | Method and Description |
|---|---|
PgTransaction |
begin()
Begin a transaction and returns a
PgTransaction for controlling and tracking
this transaction. |
PgConnection |
cancelRequest(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Send a request cancellation message to tell the server to cancel processing request in this connection.
|
void |
close()
Close the current connection after all the pending commands have been processed.
|
PgConnection |
closeHandler(io.vertx.core.Handler<Void> handler)
Set an handler called when the connection is closed.
|
boolean |
equals(Object o) |
PgConnection |
exceptionHandler(io.vertx.core.Handler<Throwable> handler)
Set an handler called with connection errors.
|
PgConnection |
getDelegate() |
int |
hashCode() |
boolean |
isSSL() |
static PgConnection |
newInstance(PgConnection arg) |
PgConnection |
notificationHandler(io.vertx.core.Handler<PgNotification> handler)
Set an handler called when the connection receives notification on a channel.
|
PgConnection |
prepare(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgPreparedQuery>> handler)
Create a prepared query.
|
PgConnection |
preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a createBatch.
|
PgConnection |
preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgConnection |
preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
int |
processId() |
PgConnection |
query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a simple query.
|
Single<PgPreparedQuery> |
rxPrepare(String sql)
Create a prepared query.
|
Single<PgRowSet> |
rxPreparedBatch(String sql,
List<Tuple> batch)
Prepare and execute a createBatch.
|
Single<PgRowSet> |
rxPreparedQuery(String sql)
Prepare and execute a query.
|
Single<PgRowSet> |
rxPreparedQuery(String sql,
Tuple arguments)
Prepare and execute a query.
|
Single<PgRowSet> |
rxQuery(String sql)
Execute a simple query.
|
int |
secretKey() |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<PgConnection> __TYPE_ARG
public PgConnection(PgConnection delegate)
public PgConnection getDelegate()
getDelegate in class PgClientpublic PgConnection prepare(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgPreparedQuery>> handler)
sql - the sqlhandler - the handler notified with the prepared query asynchronouslypublic Single<PgPreparedQuery> rxPrepare(String sql)
sql - the sqlpublic PgConnection exceptionHandler(io.vertx.core.Handler<Throwable> handler)
handler - the handlerpublic PgConnection closeHandler(io.vertx.core.Handler<Void> handler)
handler - the handlerpublic PgTransaction begin()
PgTransaction for controlling and tracking
this transaction.
When the connection is explicitely closed, any inflight transaction is rollbacked.public PgConnection notificationHandler(io.vertx.core.Handler<PgNotification> handler)
PgNotification and has access to the channel name
and the notification payload.handler - the handlerpublic int processId()
public int secretKey()
public PgConnection cancelRequest(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
handler - the handler notified if cancelling request is sentpublic boolean isSSL()
public void close()
public PgConnection preparedQuery(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedQuery in class PgClientsql - the prepared query SQLhandler - the handler notified with the execution resultpublic Single<PgRowSet> rxPreparedQuery(String sql)
PgClientrxPreparedQuery in class PgClientsql - the prepared query SQLpublic PgConnection query(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpublic Single<PgRowSet> rxQuery(String sql)
PgClientpublic PgConnection preparedQuery(String sql, Tuple arguments, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedQuery in class PgClientsql - the prepared query SQLarguments - the list of argumentshandler - the handler notified with the execution resultpublic Single<PgRowSet> rxPreparedQuery(String sql, Tuple arguments)
PgClientrxPreparedQuery in class PgClientsql - the prepared query SQLarguments - the list of argumentspublic PgConnection preparedBatch(String sql, List<Tuple> batch, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedBatch in class PgClientsql - the prepared query SQLbatch - the batch of tupleshandler - the handler notified with the execution resultpublic Single<PgRowSet> rxPreparedBatch(String sql, List<Tuple> batch)
PgClientrxPreparedBatch in class PgClientsql - the prepared query SQLbatch - the batch of tuplespublic static PgConnection newInstance(PgConnection arg)
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/PgCursor.html ================================================| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgCursor> |
__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Release the cursor.
|
void |
close(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
Like
close() but with a completionHandler called when the cursor has been released. |
boolean |
equals(Object o) |
PgCursor |
getDelegate() |
int |
hashCode() |
boolean |
hasMore()
Returns
true when the cursor has results in progress and the should be called to retrieve
them. |
static PgCursor |
newInstance(PgCursor arg) |
void |
read(int count,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Read rows from the cursor, the result is provided asynchronously to the
handler. |
Completable |
rxClose()
Like
close() but with a completionHandler called when the cursor has been released. |
Single<PgRowSet> |
rxRead(int count)
Read rows from the cursor, the result is provided asynchronously to the
handler. |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<PgCursor> __TYPE_ARG
public PgCursor(PgCursor delegate)
public PgCursor getDelegate()
public void read(int count,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
handler.count - the amount of rows to readhandler - the handler for the resultpublic Single<PgRowSet> rxRead(int count)
handler.count - the amount of rows to readpublic boolean hasMore()
true when the cursor has results in progress and the should be called to retrieve
them.public void close()
public void close(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
close() but with a completionHandler called when the cursor has been released.completionHandler - public Completable rxClose()
close() but with a completionHandler called when the cursor has been released.Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/PgIterator.html ================================================| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgIterator> |
__TYPE_ARG |
| Constructor and Description |
|---|
PgIterator(PgIterator delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
PgIterator |
getDelegate() |
int |
hashCode() |
boolean |
hasNext() |
static PgIterator |
newInstance(PgIterator arg) |
Row |
next() |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<PgIterator> __TYPE_ARG
public PgIterator(PgIterator delegate)
public PgIterator getDelegate()
public boolean hasNext()
public Row next()
public static PgIterator newInstance(PgIterator arg)
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/PgPool.html ================================================| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgPool> |
__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
void |
begin(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgTransaction>> handler)
Borrow a connection from the pool and begin a transaction, the underlying connection will be returned
to the pool when the transaction ends.
|
void |
close()
Close the pool and release the associated resources.
|
boolean |
equals(Object o) |
void |
getConnection(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Get a connection from the pool.
|
PgPool |
getDelegate() |
int |
hashCode() |
static PgPool |
newInstance(PgPool arg) |
PgPool |
preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a createBatch.
|
PgPool |
preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgPool |
preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgPool |
query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a simple query.
|
Single<PgTransaction> |
rxBegin()
Borrow a connection from the pool and begin a transaction, the underlying connection will be returned
to the pool when the transaction ends.
|
Single<PgConnection> |
rxGetConnection()
Get a connection from the pool.
|
Single<PgRowSet> |
rxPreparedBatch(String sql,
List<Tuple> batch)
Prepare and execute a createBatch.
|
Single<PgRowSet> |
rxPreparedQuery(String sql)
Prepare and execute a query.
|
Single<PgRowSet> |
rxPreparedQuery(String sql,
Tuple arguments)
Prepare and execute a query.
|
Single<PgRowSet> |
rxQuery(String sql)
Execute a simple query.
|
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<PgPool> __TYPE_ARG
public PgPool(PgPool delegate)
public PgPool getDelegate()
getDelegate in class PgClientpublic PgPool preparedQuery(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedQuery in class PgClientsql - the prepared query SQLhandler - the handler notified with the execution resultpublic Single<PgRowSet> rxPreparedQuery(String sql)
PgClientrxPreparedQuery in class PgClientsql - the prepared query SQLpublic PgPool query(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpublic Single<PgRowSet> rxQuery(String sql)
PgClientpublic PgPool preparedQuery(String sql, Tuple arguments, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedQuery in class PgClientsql - the prepared query SQLarguments - the list of argumentshandler - the handler notified with the execution resultpublic Single<PgRowSet> rxPreparedQuery(String sql, Tuple arguments)
PgClientrxPreparedQuery in class PgClientsql - the prepared query SQLarguments - the list of argumentspublic PgPool preparedBatch(String sql, List<Tuple> batch, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedBatch in class PgClientsql - the prepared query SQLbatch - the batch of tupleshandler - the handler notified with the execution resultpublic Single<PgRowSet> rxPreparedBatch(String sql, List<Tuple> batch)
PgClientrxPreparedBatch in class PgClientsql - the prepared query SQLbatch - the batch of tuplespublic void getConnection(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
handler - the handler that will get the connection resultpublic Single<PgConnection> rxGetConnection()
public void begin(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgTransaction>> handler)
handler - public Single<PgTransaction> rxBegin()
public void close()
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/PgPreparedQuery.html ================================================| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgPreparedQuery> |
__TYPE_ARG |
| Constructor and Description |
|---|
PgPreparedQuery(PgPreparedQuery delegate) |
| Modifier and Type | Method and Description |
|---|---|
PgPreparedQuery |
batch(List<Tuple> argsList,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a batch.
|
void |
close()
Close the prepared query and release its resources.
|
void |
close(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
Like
close() but notifies the completionHandler when it's closed. |
PgStream<Row> |
createStream(int fetch,
Tuple args)
Execute the prepared query with a cursor and createStream the result.
|
PgCursor |
cursor() |
PgCursor |
cursor(Tuple args)
Create a cursor with the provided
arguments. |
boolean |
equals(Object o) |
PgPreparedQuery |
execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Calls
execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.reactivex.pgclient.PgRowSet>>) with an empty tuple argument. |
PgPreparedQuery |
execute(Tuple args,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Create a cursor with the provided
arguments. |
PgPreparedQuery |
getDelegate() |
int |
hashCode() |
static PgPreparedQuery |
newInstance(PgPreparedQuery arg) |
Single<PgRowSet> |
rxBatch(List<Tuple> argsList)
Execute a batch.
|
Completable |
rxClose()
Like
close() but notifies the completionHandler when it's closed. |
Single<PgRowSet> |
rxExecute()
Calls
execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.reactivex.pgclient.PgRowSet>>) with an empty tuple argument. |
Single<PgRowSet> |
rxExecute(Tuple args)
Create a cursor with the provided
arguments. |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<PgPreparedQuery> __TYPE_ARG
public PgPreparedQuery(PgPreparedQuery delegate)
public PgPreparedQuery getDelegate()
public PgPreparedQuery execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.reactivex.pgclient.PgRowSet>>) with an empty tuple argument.handler - public Single<PgRowSet> rxExecute()
execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.reactivex.pgclient.PgRowSet>>) with an empty tuple argument.public PgPreparedQuery execute(Tuple args, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
arguments.args - the list of argumentshandler - public Single<PgRowSet> rxExecute(Tuple args)
arguments.args - the list of argumentspublic PgCursor cursor()
fetch size and empty argumentspublic PgCursor cursor(Tuple args)
arguments.args - the list of argumentspublic PgStream<Row> createStream(int fetch, Tuple args)
fetch size to fetch the results.
Note: this requires to be in a transaction, since cursors require it.fetch - the cursor fetch sizeargs - the prepared query argumentspublic PgPreparedQuery batch(List<Tuple> argsList, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
argsList - the list of tuple for the batchhandler - public Single<PgRowSet> rxBatch(List<Tuple> argsList)
argsList - the list of tuple for the batchpublic void close()
public void close(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
close() but notifies the completionHandler when it's closed.completionHandler - public Completable rxClose()
close() but notifies the completionHandler when it's closed.public static PgPreparedQuery newInstance(PgPreparedQuery arg)
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/PgResult.html ================================================| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgResult> |
__TYPE_ARG |
io.vertx.lang.rx.TypeArg<T> |
__typeArg_0 |
| Constructor and Description |
|---|
PgResult(PgResult delegate) |
PgResult(PgResult delegate,
io.vertx.lang.rx.TypeArg<T> typeArg_0) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
columnsNames()
Get the names of columns in the PgResult.
|
boolean |
equals(Object o) |
PgResult |
getDelegate() |
int |
hashCode() |
static <T> PgResult<T> |
newInstance(PgResult arg) |
static <T> PgResult<T> |
newInstance(PgResult arg,
io.vertx.lang.rx.TypeArg<T> __typeArg_T) |
PgResult<T> |
next()
Return the next available result or
null, e.g for a simple query that executed multiple queries or for
a batch result. |
int |
rowCount()
Get the number of the affected rows in the operation to this PgResult.
|
int |
size()
Get the number of rows in the PgResult.
|
String |
toString() |
T |
value()
Get the result value.
|
public static final io.vertx.lang.rx.TypeArg<PgResult> __TYPE_ARG
public final io.vertx.lang.rx.TypeArg<T> __typeArg_0
public PgResult(PgResult delegate)
public PgResult getDelegate()
public int rowCount()
public List<String> columnsNames()
public int size()
public T value()
public PgResult<T> next()
null, e.g for a simple query that executed multiple queries or for
a batch result.null if none is availableCopyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/PgRowSet.html ================================================| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgRowSet> |
__TYPE_ARG |
__typeArg_0| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
PgRowSet |
getDelegate() |
int |
hashCode() |
PgIterator |
iterator() |
static PgRowSet |
newInstance(PgRowSet arg) |
PgRowSet |
next()
Return the next available result or
null, e.g for a simple query that executed multiple queries or for
a batch result. |
String |
toString() |
PgRowSet |
value()
Get the result value.
|
columnsNames, newInstance, newInstance, rowCount, sizepublic static final io.vertx.lang.rx.TypeArg<PgRowSet> __TYPE_ARG
public PgRowSet(PgRowSet delegate)
public PgRowSet getDelegate()
getDelegate in class PgResult<PgRowSet>public PgRowSet value()
public PgIterator iterator()
public PgRowSet next()
PgResultnull, e.g for a simple query that executed multiple queries or for
a batch result.Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/PgStream.html ================================================public class PgStream<T> extends Object implements io.vertx.reactivex.core.streams.ReadStream<T>
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgStream> |
__TYPE_ARG |
io.vertx.lang.rx.TypeArg<T> |
__typeArg_0 |
| Constructor and Description |
|---|
PgStream(PgStream delegate) |
PgStream(PgStream delegate,
io.vertx.lang.rx.TypeArg<T> typeArg_0) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the stream and release the resources.
|
void |
close(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
Close the stream and release the resources.
|
PgStream<T> |
endHandler(io.vertx.core.Handler<Void> endHandler) |
boolean |
equals(Object o) |
PgStream<T> |
exceptionHandler(io.vertx.core.Handler<Throwable> handler) |
io.vertx.reactivex.core.streams.ReadStream<T> |
fetch(long arg0) |
PgStream |
getDelegate() |
PgStream<T> |
handler(io.vertx.core.Handler<T> handler) |
int |
hashCode() |
static <T> PgStream<T> |
newInstance(PgStream arg) |
static <T> PgStream<T> |
newInstance(PgStream arg,
io.vertx.lang.rx.TypeArg<T> __typeArg_T) |
PgStream<T> |
pause() |
PgStream<T> |
resume() |
Completable |
rxClose()
Close the stream and release the resources.
|
Flowable<T> |
toFlowable() |
Observable<T> |
toObservable() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final io.vertx.lang.rx.TypeArg<PgStream> __TYPE_ARG
public final io.vertx.lang.rx.TypeArg<T> __typeArg_0
public PgStream(PgStream delegate)
public PgStream getDelegate()
getDelegate in interface io.vertx.reactivex.core.streams.ReadStream<T>getDelegate in interface io.vertx.reactivex.core.streams.StreamBasepublic Observable<T> toObservable()
toObservable in interface io.vertx.reactivex.core.streams.ReadStream<T>public Flowable<T> toFlowable()
toFlowable in interface io.vertx.reactivex.core.streams.ReadStream<T>public io.vertx.reactivex.core.streams.ReadStream<T> fetch(long arg0)
fetch in interface io.vertx.reactivex.core.streams.ReadStream<T>public PgStream<T> exceptionHandler(io.vertx.core.Handler<Throwable> handler)
exceptionHandler in interface io.vertx.reactivex.core.streams.ReadStream<T>exceptionHandler in interface io.vertx.reactivex.core.streams.StreamBasepublic PgStream<T> handler(io.vertx.core.Handler<T> handler)
handler in interface io.vertx.reactivex.core.streams.ReadStream<T>public PgStream<T> pause()
pause in interface io.vertx.reactivex.core.streams.ReadStream<T>public PgStream<T> resume()
resume in interface io.vertx.reactivex.core.streams.ReadStream<T>public PgStream<T> endHandler(io.vertx.core.Handler<Void> endHandler)
endHandler in interface io.vertx.reactivex.core.streams.ReadStream<T>public void close()
public void close(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
completionHandler - the completion handler for this operationpublic Completable rxClose()
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/PgTransaction.html ================================================| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgTransaction> |
__TYPE_ARG |
| Constructor and Description |
|---|
PgTransaction(PgTransaction delegate) |
| Modifier and Type | Method and Description |
|---|---|
PgTransaction |
abortHandler(io.vertx.core.Handler<Void> handler)
Set an handler to be called when the transaction is aborted.
|
void |
commit()
Commit the current transaction.
|
void |
commit(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Like
commit() with an handler to be notified when the transaction commit has completed |
boolean |
equals(Object o) |
PgTransaction |
getDelegate() |
int |
hashCode() |
static PgTransaction |
newInstance(PgTransaction arg) |
PgTransaction |
prepare(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgPreparedQuery>> handler)
Create a prepared query.
|
PgTransaction |
preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a createBatch.
|
PgTransaction |
preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgTransaction |
preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgTransaction |
query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a simple query.
|
void |
rollback()
Rollback the current transaction.
|
void |
rollback(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Like
rollback() with an handler to be notified when the transaction rollback has completed |
Completable |
rxCommit()
Like
commit() with an handler to be notified when the transaction commit has completed |
Single<PgPreparedQuery> |
rxPrepare(String sql)
Create a prepared query.
|
Single<PgRowSet> |
rxPreparedBatch(String sql,
List<Tuple> batch)
Prepare and execute a createBatch.
|
Single<PgRowSet> |
rxPreparedQuery(String sql)
Prepare and execute a query.
|
Single<PgRowSet> |
rxPreparedQuery(String sql,
Tuple arguments)
Prepare and execute a query.
|
Single<PgRowSet> |
rxQuery(String sql)
Execute a simple query.
|
Completable |
rxRollback()
Like
rollback() with an handler to be notified when the transaction rollback has completed |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<PgTransaction> __TYPE_ARG
public PgTransaction(PgTransaction delegate)
public PgTransaction getDelegate()
getDelegate in class PgClientpublic PgTransaction prepare(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgPreparedQuery>> handler)
sql - the sqlhandler - the handler notified with the prepared query asynchronouslypublic Single<PgPreparedQuery> rxPrepare(String sql)
sql - the sqlpublic void commit()
public void commit(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
commit() with an handler to be notified when the transaction commit has completedhandler - public Completable rxCommit()
commit() with an handler to be notified when the transaction commit has completedpublic void rollback()
public void rollback(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
rollback() with an handler to be notified when the transaction rollback has completedhandler - public Completable rxRollback()
rollback() with an handler to be notified when the transaction rollback has completedpublic PgTransaction abortHandler(io.vertx.core.Handler<Void> handler)
handler - the handlerpublic PgTransaction query(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpublic Single<PgRowSet> rxQuery(String sql)
PgClientpublic PgTransaction preparedQuery(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedQuery in class PgClientsql - the prepared query SQLhandler - the handler notified with the execution resultpublic Single<PgRowSet> rxPreparedQuery(String sql)
PgClientrxPreparedQuery in class PgClientsql - the prepared query SQLpublic PgTransaction preparedQuery(String sql, Tuple arguments, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedQuery in class PgClientsql - the prepared query SQLarguments - the list of argumentshandler - the handler notified with the execution resultpublic Single<PgRowSet> rxPreparedQuery(String sql, Tuple arguments)
PgClientrxPreparedQuery in class PgClientsql - the prepared query SQLarguments - the list of argumentspublic PgTransaction preparedBatch(String sql, List<Tuple> batch, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedBatch in class PgClientsql - the prepared query SQLbatch - the batch of tupleshandler - the handler notified with the execution resultpublic Single<PgRowSet> rxPreparedBatch(String sql, List<Tuple> batch)
PgClientrxPreparedBatch in class PgClientsql - the prepared query SQLbatch - the batch of tuplespublic static PgTransaction newInstance(PgTransaction arg)
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/Row.html ================================================public class Row extends Tuple
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<Row> |
__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
BigDecimal |
getBigDecimal(String name)
Get value at
pos. |
Boolean |
getBoolean(String name)
Get a boolean value at
pos. |
Boolean[] |
getBooleanArray(String name)
Get an array of
Boolean value at pos. |
Box |
getBox(String name)
Get value at
pos. |
Box[] |
getBoxArray(String name)
Get an array of value at
pos. |
io.vertx.reactivex.core.buffer.Buffer |
getBuffer(String name)
Get a buffer value at
pos. |
Circle |
getCircle(String name)
Get value at
pos. |
Circle[] |
getCircleArray(String name)
Get an array of value at
pos. |
String |
getColumnName(int pos)
Get a column name at
pos. |
Row |
getDelegate() |
Double |
getDouble(String name)
Get a double value at
pos. |
Double[] |
getDoubleArray(String name)
Get an array of
Double value at pos. |
Float |
getFloat(String name)
Get a float value at
pos. |
Float[] |
getFloatArray(String name)
Get an array of
Float value at pos. |
Integer |
getInteger(String name)
Get an integer value at
pos. |
Integer[] |
getIntegerArray(String name)
Get an array of
Integer value at pos. |
Interval |
getInterval(String name)
Get value at
pos. |
Interval[] |
getIntervalArray(String name)
Get an array of value at
pos. |
Json |
getJson(String name)
Get a json value at
pos. |
Line |
getLine(String name)
Get value at
pos. |
Line[] |
getLineArray(String name)
Get an array of value at
pos. |
LineSegment |
getLineSegment(String name)
Get value at
pos. |
LineSegment[] |
getLineSegmentArray(String name)
Get an array of value at
pos. |
LocalDate |
getLocalDate(String name)
Get
LocalDate value at pos. |
LocalDate[] |
getLocalDateArray(String name)
Get an array of value at
pos. |
LocalDateTime |
getLocalDateTime(String name)
Get
LocalDateTime value at pos. |
LocalDateTime[] |
getLocalDateTimeArray(String name)
Get an array of value at
pos. |
LocalTime |
getLocalTime(String name)
Get
LocalTime value at pos. |
LocalTime[] |
getLocalTimeArray(String name)
Get an array of value at
pos. |
Long |
getLong(String name)
Get a long value at
pos. |
Long[] |
getLongArray(String name)
Get an array of
Long value at pos. |
Numeric |
getNumeric(String name)
Get value at
pos. |
Numeric[] |
getNumericArray(String name)
Get an array of value at
pos. |
OffsetDateTime |
getOffsetDateTime(String name)
Get
OffsetDateTime value at pos. |
OffsetDateTime[] |
getOffsetDateTimeArray(String name)
Get an array of value at
pos. |
OffsetTime |
getOffsetTime(String name)
Get
OffsetTime value at pos. |
OffsetTime[] |
getOffsetTimeArray(String name)
Get an array of value at
pos. |
Path |
getPath(String name)
Get value at
pos. |
Path[] |
getPathArray(String name)
Get an array of value at
pos. |
Point |
getPoint(String name)
Get value at
pos. |
Point[] |
getPointArray(String name)
Get an array of value at
pos. |
Polygon |
getPolygon(String name)
Get value at
pos. |
Polygon[] |
getPolygonArray(String name)
Get an array of value at
pos. |
Short |
getShort(String name)
Get a short value at
pos. |
Short[] |
getShortArray(String name)
Get an array of
Short value at pos. |
String |
getString(String name)
Get a string value at
pos. |
String[] |
getStringArray(String name)
Get an array of
String value at pos. |
Temporal |
getTemporal(String name)
Get a temporal value at
pos. |
UUID |
getUUID(String name)
Get
UUID value at pos. |
UUID[] |
getUUIDArray(String name)
Get an array of value at
pos. |
Object |
getValue(String name)
Get an object value at
pos. |
int |
hashCode() |
static Row |
newInstance(Row arg) |
String |
toString() |
addBigDecimal, addBoolean, addBooleanArray, addBox, addBoxArray, addBuffer, addCircle, addCircleArray, addDouble, addDoubleArray, addFloat, addFloatArray, addInteger, addIntegerArray, addInterval, addIntervalArray, addJson, addLine, addLineArray, addLineSegment, addLineSegmentArray, addLocalDate, addLocalDateArray, addLocalDateTime, addLocalDateTimeArray, addLocalTime, addLocalTimeArray, addLong, addLongArray, addNumeric, addNumericArray, addOffsetDateTime, addOffsetDateTimeArray, addOffsetTime, addOffsetTimeArray, addPath, addPathArray, addPoint, addPointArray, addPolygon, addPolygonArray, addShort, addShortArray, addString, addStringArray, addTemporal, addUUID, addUUIDArray, addValue, clear, getBigDecimal, getBoolean, getBooleanArray, getBox, getBoxArray, getBuffer, getCircle, getCircleArray, getDouble, getDoubleArray, getFloat, getFloatArray, getInteger, getIntegerArray, getInterval, getIntervalArray, getJson, getLine, getLineArray, getLineSegment, getLineSegmentArray, getLocalDate, getLocalDateArray, getLocalDateTime, getLocalDateTimeArray, getLocalTime, getLocalTimeArray, getLong, getLongArray, getNumeric, getNumericArray, getOffsetDateTime, getOffsetDateTimeArray, getOffsetTime, getOffsetTimeArray, getPath, getPathArray, getPoint, getPointArray, getPolygon, getPolygonArray, getShort, getShortArray, getString, getStringArray, getTemporal, getUUID, getUUIDArray, getValue, newInstance, of, of, of, of, of, of, size, tuplepublic static final io.vertx.lang.rx.TypeArg<Row> __TYPE_ARG
public Row(Row delegate)
public Row getDelegate()
getDelegate in class Tuplepublic String getColumnName(int pos)
pos.pos - the positionnullpublic Boolean getBoolean(String name)
pos.name - the columnnullpublic Object getValue(String name)
pos.name - the columnnullpublic Short getShort(String name)
pos.name - the columnnullpublic Integer getInteger(String name)
pos.name - the columnnullpublic Long getLong(String name)
pos.name - the columnnullpublic Float getFloat(String name)
pos.name - the columnnullpublic Double getDouble(String name)
pos.name - the columnnullpublic String getString(String name)
pos.name - the columnnullpublic Json getJson(String name)
pos.name - the columnnullpublic io.vertx.reactivex.core.buffer.Buffer getBuffer(String name)
pos.name - the columnnullpublic Point getPoint(String name)
pos.name - the columnnullpublic Line getLine(String name)
pos.name - the columnnullpublic LineSegment getLineSegment(String name)
pos.name - the columnnullpublic Box getBox(String name)
pos.name - the columnnullpublic Path getPath(String name)
pos.name - the columnnullpublic Polygon getPolygon(String name)
pos.name - the columnnullpublic Circle getCircle(String name)
pos.name - the columnnullpublic Interval getInterval(String name)
pos.name - the columnnullpublic Temporal getTemporal(String name)
pos.name - the columnnullpublic LocalDate getLocalDate(String name)
LocalDate value at pos.name - the columnnullpublic LocalTime getLocalTime(String name)
LocalTime value at pos.name - the columnnullpublic LocalDateTime getLocalDateTime(String name)
LocalDateTime value at pos.name - the columnnullpublic OffsetTime getOffsetTime(String name)
OffsetTime value at pos.name - the columnnullpublic OffsetDateTime getOffsetDateTime(String name)
OffsetDateTime value at pos.name - the columnnullpublic UUID getUUID(String name)
UUID value at pos.name - the columnnullpublic BigDecimal getBigDecimal(String name)
pos.name - the columnnullpublic Numeric getNumeric(String name)
pos.name - the columnnullpublic Integer[] getIntegerArray(String name)
Integer value at pos.name - the columnnullpublic Boolean[] getBooleanArray(String name)
Boolean value at pos.name - the columnnullpublic Short[] getShortArray(String name)
Short value at pos.name - the columnnullpublic Long[] getLongArray(String name)
Long value at pos.name - the columnnullpublic Float[] getFloatArray(String name)
Float value at pos.name - the columnnullpublic Double[] getDoubleArray(String name)
Double value at pos.name - the columnnullpublic String[] getStringArray(String name)
String value at pos.name - the columnnullpublic LocalDate[] getLocalDateArray(String name)
pos.name - the columnnullpublic LocalTime[] getLocalTimeArray(String name)
pos.name - the columnnullpublic OffsetTime[] getOffsetTimeArray(String name)
pos.name - the columnnullpublic LocalDateTime[] getLocalDateTimeArray(String name)
pos.name - the columnnullpublic OffsetDateTime[] getOffsetDateTimeArray(String name)
pos.name - the columnnullpublic UUID[] getUUIDArray(String name)
pos.name - the columnnullpublic Numeric[] getNumericArray(String name)
pos.name - the columnnullpublic Point[] getPointArray(String name)
pos.name - the columnnullpublic Line[] getLineArray(String name)
pos.name - the columnnullpublic LineSegment[] getLineSegmentArray(String name)
pos.name - the columnnullpublic Box[] getBoxArray(String name)
pos.name - the columnnullpublic Path[] getPathArray(String name)
pos.name - the columnnullpublic Polygon[] getPolygonArray(String name)
pos.name - the columnnullpublic Circle[] getCircleArray(String name)
pos.name - the columnnullpublic Interval[] getIntervalArray(String name)
pos.name - the columnnullCopyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/Tuple.html ================================================| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<Tuple> |
__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
addBigDecimal(BigDecimal value)
Add a value at the end of the tuple.
|
Tuple |
addBoolean(Boolean value)
Add a boolean value at the end of the tuple.
|
Tuple |
addBooleanArray(Boolean[] value)
Add an array of
Boolean value at the end of the tuple. |
Tuple |
addBox(Box value)
Add a value at the end of the tuple.
|
Tuple |
addBoxArray(Box[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addBuffer(io.vertx.reactivex.core.buffer.Buffer value)
Add a buffer value at the end of the tuple.
|
Tuple |
addCircle(Circle value)
Add a value at the end of the tuple.
|
Tuple |
addCircleArray(Circle[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addDouble(Double value)
Add a double value at the end of the tuple.
|
Tuple |
addDoubleArray(Double[] value)
Add an array of
Double value at the end of the tuple. |
Tuple |
addFloat(Float value)
Add a float value at the end of the tuple.
|
Tuple |
addFloatArray(Float[] value)
Add an array of
Float value at the end of the tuple. |
Tuple |
addInteger(Integer value)
Add an integer value at the end of the tuple.
|
Tuple |
addIntegerArray(Integer[] value)
Add an array of
Integer value at the end of the tuple. |
Tuple |
addInterval(Interval value)
Add a value at the end of the tuple.
|
Tuple |
addIntervalArray(Interval[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addJson(Json value)
Add a json value at the end of the tuple.
|
Tuple |
addLine(Line value)
Add a value at the end of the tuple.
|
Tuple |
addLineArray(Line[] value)
Add an array of
Line value at the end of the tuple. |
Tuple |
addLineSegment(LineSegment value)
Add a value at the end of the tuple.
|
Tuple |
addLineSegmentArray(LineSegment[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addLocalDate(LocalDate value)
Add a
LocalDate value at the end of the tuple. |
Tuple |
addLocalDateArray(LocalDate[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addLocalDateTime(LocalDateTime value)
Add a
LocalDateTime value at the end of the tuple. |
Tuple |
addLocalDateTimeArray(LocalDateTime[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addLocalTime(LocalTime value)
Add a
LocalTime value at the end of the tuple. |
Tuple |
addLocalTimeArray(LocalTime[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addLong(Long value)
Add a long value at the end of the tuple.
|
Tuple |
addLongArray(Long[] value)
Add an array of
Long value at the end of the tuple. |
Tuple |
addNumeric(Numeric value)
Add a value at the end of the tuple.
|
Tuple |
addNumericArray(Numeric[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addOffsetDateTime(OffsetDateTime value)
Add a
OffsetDateTime value at the end of the tuple. |
Tuple |
addOffsetDateTimeArray(OffsetDateTime[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addOffsetTime(OffsetTime value)
Add a
OffsetTime value at the end of the tuple. |
Tuple |
addOffsetTimeArray(OffsetTime[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addPath(Path value)
Add a value at the end of the tuple.
|
Tuple |
addPathArray(Path[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addPoint(Point value)
Add a value at the end of the tuple.
|
Tuple |
addPointArray(Point[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addPolygon(Polygon value)
Add a value at the end of the tuple.
|
Tuple |
addPolygonArray(Polygon[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addShort(Short value)
Add a short value at the end of the tuple.
|
Tuple |
addShortArray(Short[] value)
Add an array of
Short value at the end of the tuple. |
Tuple |
addString(String value)
Add a string value at the end of the tuple.
|
Tuple |
addStringArray(String[] value)
Add an array of
String value at the end of the tuple. |
Tuple |
addTemporal(Temporal value)
Add a
Temporal value at the end of the tuple. |
Tuple |
addUUID(UUID value)
Add a
UUID value at the end of the tuple. |
Tuple |
addUUIDArray(UUID[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addValue(Object value)
Add an object value at the end of the tuple.
|
void |
clear() |
boolean |
equals(Object o) |
BigDecimal |
getBigDecimal(int pos)
Get value at
pos. |
Boolean |
getBoolean(int pos)
Get a boolean value at
pos. |
Boolean[] |
getBooleanArray(int pos)
Get an array of
Boolean value at pos. |
Box |
getBox(int pos)
Get value at
pos. |
Box[] |
getBoxArray(int pos)
Get an array of value at
pos. |
io.vertx.reactivex.core.buffer.Buffer |
getBuffer(int pos)
Get a buffer value at
pos. |
Circle |
getCircle(int pos)
Get value at
pos. |
Circle[] |
getCircleArray(int pos)
Get an array of value at
pos. |
Tuple |
getDelegate() |
Double |
getDouble(int pos)
Get a double value at
pos. |
Double[] |
getDoubleArray(int pos)
Get an array of
Double value at pos. |
Float |
getFloat(int pos)
Get a float value at
pos. |
Float[] |
getFloatArray(int pos)
Get an array of
Float value at pos. |
Integer |
getInteger(int pos)
Get an integer value at
pos. |
Integer[] |
getIntegerArray(int pos)
Get an array of
Integer value at pos. |
Interval |
getInterval(int pos)
Get value at
pos. |
Interval[] |
getIntervalArray(int pos)
Get an array of value at
pos. |
Json |
getJson(int pos)
Get a json value at
pos. |
Line |
getLine(int pos)
Get value at
pos. |
Line[] |
getLineArray(int pos)
Get an array of value at
pos. |
LineSegment |
getLineSegment(int pos)
Get value at
pos. |
LineSegment[] |
getLineSegmentArray(int pos)
Get an array of value at
pos. |
LocalDate |
getLocalDate(int pos)
Get
LocalDate value at pos. |
LocalDate[] |
getLocalDateArray(int pos)
Get an array of value at
pos. |
LocalDateTime |
getLocalDateTime(int pos)
Get
LocalDateTime value at pos. |
LocalDateTime[] |
getLocalDateTimeArray(int pos)
Get an array of value at
pos. |
LocalTime |
getLocalTime(int pos)
Get
LocalTime value at pos. |
LocalTime[] |
getLocalTimeArray(int pos)
Get an array of value at
pos. |
Long |
getLong(int pos)
Get a long value at
pos. |
Long[] |
getLongArray(int pos)
Get an array of
Long value at pos. |
Numeric |
getNumeric(int pos)
Get value at
pos. |
Numeric[] |
getNumericArray(int pos)
Get an array of value at
pos. |
OffsetDateTime |
getOffsetDateTime(int pos)
Get
OffsetDateTime value at pos. |
OffsetDateTime[] |
getOffsetDateTimeArray(int pos)
Get an array of value at
pos. |
OffsetTime |
getOffsetTime(int pos)
Get
OffsetTime value at pos. |
OffsetTime[] |
getOffsetTimeArray(int pos)
Get an array of value at
pos. |
Path |
getPath(int pos)
Get value at
pos. |
Path[] |
getPathArray(int pos)
Get an array of value at
pos. |
Point |
getPoint(int pos)
Get value at
pos. |
Point[] |
getPointArray(int pos)
Get an array of value at
pos. |
Polygon |
getPolygon(int pos)
Get value at
pos. |
Polygon[] |
getPolygonArray(int pos)
Get an array of value at
pos. |
Short |
getShort(int pos)
Get a short value at
pos. |
Short[] |
getShortArray(int pos)
Get an array of
Short value at pos. |
String |
getString(int pos)
Get a string value at
pos. |
String[] |
getStringArray(int pos)
Get an array of
String value at pos. |
Temporal |
getTemporal(int pos)
Get a
Temporal value at pos. |
UUID |
getUUID(int pos)
Get
UUID value at pos. |
UUID[] |
getUUIDArray(int pos)
Get an array of value at
pos. |
Object |
getValue(int pos)
Get an object value at
pos. |
int |
hashCode() |
static Tuple |
newInstance(Tuple arg) |
static Tuple |
of(Object elt1)
Create a tuple of one element.
|
static Tuple |
of(Object elt1,
Object elt2)
Create a tuple of two elements.
|
static Tuple |
of(Object elt1,
Object elt2,
Object elt3)
Create a tuple of three elements.
|
static Tuple |
of(Object elt1,
Object elt2,
Object elt3,
Object elt4)
Create a tuple of four elements.
|
static Tuple |
of(Object elt1,
Object elt2,
Object elt3,
Object elt4,
Object elt5)
Create a tuple of five elements.
|
static Tuple |
of(Object elt1,
Object elt2,
Object elt3,
Object elt4,
Object elt5,
Object elt6)
Create a tuple of six elements.
|
int |
size() |
String |
toString() |
static Tuple |
tuple() |
public static final io.vertx.lang.rx.TypeArg<Tuple> __TYPE_ARG
public Tuple(Tuple delegate)
public Tuple getDelegate()
public static Tuple tuple()
public static Tuple of(Object elt1)
elt1 - the first valuepublic static Tuple of(Object elt1, Object elt2)
elt1 - the first valueelt2 - the second valuepublic static Tuple of(Object elt1, Object elt2, Object elt3)
elt1 - the first valueelt2 - the second valueelt3 - the third valuepublic static Tuple of(Object elt1, Object elt2, Object elt3, Object elt4)
elt1 - the first valueelt2 - the second valueelt3 - the third valueelt4 - the fourth valuepublic static Tuple of(Object elt1, Object elt2, Object elt3, Object elt4, Object elt5)
elt1 - the first valueelt2 - the second valueelt3 - the third valueelt4 - the fourth valueelt5 - the fifth valuepublic static Tuple of(Object elt1, Object elt2, Object elt3, Object elt4, Object elt5, Object elt6)
elt1 - the first valueelt2 - the second valuegelt3 - the third valueelt4 - the fourth valueelt5 - the fifth valueelt6 - the sixth valuepublic Boolean getBoolean(int pos)
pos.pos - the positionnullpublic Object getValue(int pos)
pos.pos - the positionnullpublic Short getShort(int pos)
pos.pos - the positionnullpublic Integer getInteger(int pos)
pos.pos - the positionnullpublic Long getLong(int pos)
pos.pos - the positionnullpublic Float getFloat(int pos)
pos.pos - the positionnullpublic Double getDouble(int pos)
pos.pos - the positionnullpublic String getString(int pos)
pos.pos - the positionnullpublic Json getJson(int pos)
pos.pos - the positionnullpublic Point getPoint(int pos)
pos.pos - the positionnullpublic Line getLine(int pos)
pos.pos - the positionnullpublic LineSegment getLineSegment(int pos)
pos.pos - the positionnullpublic Box getBox(int pos)
pos.pos - the positionnullpublic Path getPath(int pos)
pos.pos - the positionnullpublic Polygon getPolygon(int pos)
pos.pos - the positionnullpublic Circle getCircle(int pos)
pos.pos - the positionnullpublic Interval getInterval(int pos)
pos.pos - the positionnullpublic io.vertx.reactivex.core.buffer.Buffer getBuffer(int pos)
pos.pos - the positionnullpublic Tuple addBoolean(Boolean value)
value - the valuepublic Tuple addValue(Object value)
value - the valuepublic Tuple addShort(Short value)
value - the valuepublic Tuple addInteger(Integer value)
value - the valuepublic Tuple addLong(Long value)
value - the valuepublic Tuple addFloat(Float value)
value - the valuepublic Tuple addDouble(Double value)
value - the valuepublic Tuple addString(String value)
value - the valuepublic Tuple addJson(Json value)
value - the valuepublic Tuple addBuffer(io.vertx.reactivex.core.buffer.Buffer value)
value - the valuepublic Tuple addPoint(Point value)
value - the valuepublic Tuple addLine(Line value)
value - the valuepublic Tuple addLineSegment(LineSegment value)
value - the valuepublic Tuple addBox(Box value)
value - the valuepublic Tuple addPath(Path value)
value - the valuepublic Tuple addPolygon(Polygon value)
value - the valuepublic Tuple addCircle(Circle value)
value - the valuepublic Tuple addInterval(Interval value)
value - the valuepublic int size()
public void clear()
public Temporal getTemporal(int pos)
Temporal value at pos.pos - the positionnullpublic LocalDate getLocalDate(int pos)
LocalDate value at pos.pos - the positionnullpublic LocalTime getLocalTime(int pos)
LocalTime value at pos.pos - the positionnullpublic LocalDateTime getLocalDateTime(int pos)
LocalDateTime value at pos.pos - the positionnullpublic OffsetTime getOffsetTime(int pos)
OffsetTime value at pos.pos - the positionnullpublic OffsetDateTime getOffsetDateTime(int pos)
OffsetDateTime value at pos.pos - the positionnullpublic UUID getUUID(int pos)
UUID value at pos.pos - the positionnullpublic BigDecimal getBigDecimal(int pos)
pos.pos - the positionnullpublic Integer[] getIntegerArray(int pos)
Integer value at pos.pos - the positionnullpublic Boolean[] getBooleanArray(int pos)
Boolean value at pos.pos - the positionnullpublic Short[] getShortArray(int pos)
Short value at pos.pos - the positionnullpublic Long[] getLongArray(int pos)
Long value at pos.pos - the positionnullpublic Float[] getFloatArray(int pos)
Float value at pos.pos - the positionnullpublic Double[] getDoubleArray(int pos)
Double value at pos.pos - the positionnullpublic String[] getStringArray(int pos)
String value at pos.pos - the positionnullpublic LocalDate[] getLocalDateArray(int pos)
pos.pos - the positionnullpublic LocalTime[] getLocalTimeArray(int pos)
pos.pos - the positionnullpublic OffsetTime[] getOffsetTimeArray(int pos)
pos.pos - the positionnullpublic LocalDateTime[] getLocalDateTimeArray(int pos)
pos.pos - the positionnullpublic OffsetDateTime[] getOffsetDateTimeArray(int pos)
pos.pos - the positionnullpublic UUID[] getUUIDArray(int pos)
pos.pos - the columnnullpublic Numeric[] getNumericArray(int pos)
pos.pos - the columnnullpublic Point[] getPointArray(int pos)
pos.pos - the columnnullpublic Line[] getLineArray(int pos)
pos.pos - the columnnullpublic LineSegment[] getLineSegmentArray(int pos)
pos.pos - the columnnullpublic Box[] getBoxArray(int pos)
pos.pos - the columnnullpublic Path[] getPathArray(int pos)
pos.pos - the columnnullpublic Polygon[] getPolygonArray(int pos)
pos.pos - the columnnullpublic Circle[] getCircleArray(int pos)
pos.pos - the columnnullpublic Interval[] getIntervalArray(int pos)
pos.pos - the columnnullpublic Numeric getNumeric(int pos)
pos.pos - the positionnullpublic Tuple addTemporal(Temporal value)
Temporal value at the end of the tuple.value - the valuepublic Tuple addLocalDate(LocalDate value)
LocalDate value at the end of the tuple.value - the valuepublic Tuple addLocalTime(LocalTime value)
LocalTime value at the end of the tuple.value - the valuepublic Tuple addLocalDateTime(LocalDateTime value)
LocalDateTime value at the end of the tuple.value - the valuepublic Tuple addOffsetTime(OffsetTime value)
OffsetTime value at the end of the tuple.value - the valuepublic Tuple addOffsetDateTime(OffsetDateTime value)
OffsetDateTime value at the end of the tuple.value - the valuepublic Tuple addUUID(UUID value)
UUID value at the end of the tuple.value - the valuepublic Tuple addNumeric(Numeric value)
value - the valuepublic Tuple addBigDecimal(BigDecimal value)
value - the valuepublic Tuple addIntegerArray(Integer[] value)
Integer value at the end of the tuple.value - the valuepublic Tuple addBooleanArray(Boolean[] value)
Boolean value at the end of the tuple.value - the valuepublic Tuple addShortArray(Short[] value)
Short value at the end of the tuple.value - the valuepublic Tuple addLongArray(Long[] value)
Long value at the end of the tuple.value - the valuepublic Tuple addFloatArray(Float[] value)
Float value at the end of the tuple.value - the valuepublic Tuple addDoubleArray(Double[] value)
Double value at the end of the tuple.value - the valuepublic Tuple addStringArray(String[] value)
String value at the end of the tuple.value - the valuepublic Tuple addLocalDateArray(LocalDate[] value)
value - the valuepublic Tuple addLocalTimeArray(LocalTime[] value)
value - the valuepublic Tuple addOffsetTimeArray(OffsetTime[] value)
value - the valuepublic Tuple addLocalDateTimeArray(LocalDateTime[] value)
value - the valuepublic Tuple addOffsetDateTimeArray(OffsetDateTime[] value)
value - the valuepublic Tuple addUUIDArray(UUID[] value)
value - the valuepublic Tuple addNumericArray(Numeric[] value)
value - the valuepublic Tuple addPointArray(Point[] value)
value - the valuepublic Tuple addLineArray(Line[] value)
Line value at the end of the tuple.value - the valuepublic Tuple addLineSegmentArray(LineSegment[] value)
value - the valuepublic Tuple addBoxArray(Box[] value)
value - the valuepublic Tuple addPathArray(Path[] value)
value - the valuepublic Tuple addPolygonArray(Polygon[] value)
value - the valuepublic Tuple addCircleArray(Circle[] value)
value - the valuepublic Tuple addIntervalArray(Interval[] value)
value - the valueCopyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/class-use/Json.html ================================================| Package | Description |
|---|---|
| io.reactiverse.reactivex.pgclient |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.reactivex.TypeArg<Json> |
Json.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
static Json |
Json.create(Object value) |
Json |
Tuple.getJson(int pos)
Get a json value at
pos. |
Json |
Row.getJson(String name)
Get a json value at
pos. |
static Json |
Json.newInstance(Json arg) |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addJson(Json value)
Add a json value at the end of the tuple.
|
Copyright © 2018 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/class-use/PgClient.html ================================================| Package | Description |
|---|---|
| io.reactiverse.reactivex.pgclient |
| Modifier and Type | Class and Description |
|---|---|
class |
PgConnection
A connection to Postgres.
|
class |
PgPool
A pool of connection.
|
class |
PgTransaction
A transaction that allows to control the transaction and receive events.
|
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgClient> |
PgClient.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
static PgClient |
PgClient.newInstance(PgClient arg) |
PgClient |
PgClient.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a createBatch.
|
PgClient |
PgClient.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgClient |
PgClient.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgClient |
PgClient.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a simple query.
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/class-use/PgConnection.html ================================================| Package | Description |
|---|---|
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.reactivex.pgclient.pubsub |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgConnection> |
PgConnection.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
PgConnection |
PgConnection.cancelRequest(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Send a request cancellation message to tell the server to cancel processing request in this connection.
|
PgConnection |
PgConnection.closeHandler(io.vertx.core.Handler<Void> handler)
Set an handler called when the connection is closed.
|
PgConnection |
PgConnection.exceptionHandler(io.vertx.core.Handler<Throwable> handler)
Set an handler called with connection errors.
|
static PgConnection |
PgConnection.newInstance(PgConnection arg) |
PgConnection |
PgConnection.notificationHandler(io.vertx.core.Handler<PgNotification> handler)
Set an handler called when the connection receives notification on a channel.
|
PgConnection |
PgConnection.prepare(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgPreparedQuery>> handler)
Create a prepared query.
|
PgConnection |
PgConnection.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgConnection |
PgConnection.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgConnection |
PgConnection.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgConnection |
PgConnection.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
| Modifier and Type | Method and Description |
|---|---|
static Single<PgConnection> |
PgClient.rxConnect(io.vertx.reactivex.core.Vertx vertx)
Like
PgClient.connect(io.vertx.reactivex.core.Vertx, io.reactiverse.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.reactivex.pgclient.PgConnection>>) with options build from the environment variables. |
static Single<PgConnection> |
PgClient.rxConnect(io.vertx.reactivex.core.Vertx vertx,
PgConnectOptions options)
Connects to the database and returns the connection if that succeeds.
|
static Single<PgConnection> |
PgClient.rxConnect(io.vertx.reactivex.core.Vertx vertx,
String connectionUri)
|
Single<PgConnection> |
PgPool.rxGetConnection()
Get a connection from the pool.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
PgClient.connect(io.vertx.reactivex.core.Vertx vertx,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Like
PgClient.connect(io.vertx.reactivex.core.Vertx, io.reactiverse.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.reactivex.pgclient.PgConnection>>) with options build from the environment variables. |
static void |
PgClient.connect(io.vertx.reactivex.core.Vertx vertx,
PgConnectOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Connects to the database and returns the connection if that succeeds.
|
static void |
PgClient.connect(io.vertx.reactivex.core.Vertx vertx,
String connectionUri,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
|
void |
PgPool.getConnection(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Get a connection from the pool.
|
| Modifier and Type | Method and Description |
|---|---|
PgConnection |
PgSubscriber.actualConnection() |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/class-use/PgCursor.html ================================================| Package | Description |
|---|---|
| io.reactiverse.reactivex.pgclient |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgCursor> |
PgCursor.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
PgCursor |
PgPreparedQuery.cursor() |
PgCursor |
PgPreparedQuery.cursor(Tuple args)
Create a cursor with the provided
arguments. |
static PgCursor |
PgCursor.newInstance(PgCursor arg) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/class-use/PgIterator.html ================================================| Package | Description |
|---|---|
| io.reactiverse.reactivex.pgclient |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgIterator> |
PgIterator.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
PgIterator |
PgRowSet.iterator() |
static PgIterator |
PgIterator.newInstance(PgIterator arg) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/class-use/PgPool.html ================================================| Package | Description |
|---|---|
| io.reactiverse.reactivex.pgclient |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgPool> |
PgPool.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
static PgPool |
PgPool.newInstance(PgPool arg) |
static PgPool |
PgClient.pool()
Like
PgClient.pool() with options build from the environment variables. |
static PgPool |
PgClient.pool(PgPoolOptions options)
Create a connection pool to the database configured with the given
options. |
static PgPool |
PgClient.pool(String connectionUri)
Like
PgClient.pool() with options build from connectionUri. |
static PgPool |
PgClient.pool(io.vertx.reactivex.core.Vertx vertx)
Like
PgClient.pool() with options build from the environment variables. |
static PgPool |
PgClient.pool(io.vertx.reactivex.core.Vertx vertx,
PgPoolOptions options)
Like
PgClient.pool() with a specific instance. |
static PgPool |
PgClient.pool(io.vertx.reactivex.core.Vertx vertx,
String connectionUri)
Like
PgClient.pool() with options build from connectionUri. |
PgPool |
PgPool.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgPool |
PgPool.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgPool |
PgPool.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgPool |
PgPool.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/class-use/PgPreparedQuery.html ================================================| Package | Description |
|---|---|
| io.reactiverse.reactivex.pgclient |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgPreparedQuery> |
PgPreparedQuery.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
PgPreparedQuery |
PgPreparedQuery.batch(List<Tuple> argsList,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a batch.
|
PgPreparedQuery |
PgPreparedQuery.execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Calls
execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.reactivex.pgclient.PgRowSet>>) with an empty tuple argument. |
PgPreparedQuery |
PgPreparedQuery.execute(Tuple args,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Create a cursor with the provided
arguments. |
static PgPreparedQuery |
PgPreparedQuery.newInstance(PgPreparedQuery arg) |
| Modifier and Type | Method and Description |
|---|---|
Single<PgPreparedQuery> |
PgConnection.rxPrepare(String sql)
Create a prepared query.
|
Single<PgPreparedQuery> |
PgTransaction.rxPrepare(String sql)
Create a prepared query.
|
| Modifier and Type | Method and Description |
|---|---|
PgConnection |
PgConnection.prepare(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgPreparedQuery>> handler)
Create a prepared query.
|
PgTransaction |
PgTransaction.prepare(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgPreparedQuery>> handler)
Create a prepared query.
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/class-use/PgResult.html ================================================| Package | Description |
|---|---|
| io.reactiverse.reactivex.pgclient |
| Modifier and Type | Class and Description |
|---|---|
class |
PgRowSet
A set of rows.
|
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgResult> |
PgResult.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
static <T> PgResult<T> |
PgResult.newInstance(PgResult arg) |
static <T> PgResult<T> |
PgResult.newInstance(PgResult arg,
io.vertx.lang.rx.TypeArg<T> __typeArg_T) |
PgResult<T> |
PgResult.next()
Return the next available result or
null, e.g for a simple query that executed multiple queries or for
a batch result. |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/class-use/PgRowSet.html ================================================| Package | Description |
|---|---|
| io.reactiverse.reactivex.pgclient |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgRowSet> |
PgRowSet.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
static PgRowSet |
PgRowSet.newInstance(PgRowSet arg) |
PgRowSet |
PgRowSet.next() |
PgRowSet |
PgRowSet.value()
Get the result value.
|
| Modifier and Type | Method and Description |
|---|---|
Single<PgRowSet> |
PgPreparedQuery.rxBatch(List<Tuple> argsList)
Execute a batch.
|
Single<PgRowSet> |
PgPreparedQuery.rxExecute()
Calls
PgPreparedQuery.execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.reactivex.pgclient.PgRowSet>>) with an empty tuple argument. |
Single<PgRowSet> |
PgPreparedQuery.rxExecute(Tuple args)
Create a cursor with the provided
arguments. |
Single<PgRowSet> |
PgClient.rxPreparedBatch(String sql,
List<Tuple> batch)
Prepare and execute a createBatch.
|
Single<PgRowSet> |
PgConnection.rxPreparedBatch(String sql,
List<Tuple> batch) |
Single<PgRowSet> |
PgTransaction.rxPreparedBatch(String sql,
List<Tuple> batch) |
Single<PgRowSet> |
PgPool.rxPreparedBatch(String sql,
List<Tuple> batch) |
Single<PgRowSet> |
PgClient.rxPreparedQuery(String sql)
Prepare and execute a query.
|
Single<PgRowSet> |
PgConnection.rxPreparedQuery(String sql) |
Single<PgRowSet> |
PgTransaction.rxPreparedQuery(String sql) |
Single<PgRowSet> |
PgPool.rxPreparedQuery(String sql) |
Single<PgRowSet> |
PgClient.rxPreparedQuery(String sql,
Tuple arguments)
Prepare and execute a query.
|
Single<PgRowSet> |
PgConnection.rxPreparedQuery(String sql,
Tuple arguments) |
Single<PgRowSet> |
PgTransaction.rxPreparedQuery(String sql,
Tuple arguments) |
Single<PgRowSet> |
PgPool.rxPreparedQuery(String sql,
Tuple arguments) |
Single<PgRowSet> |
PgClient.rxQuery(String sql)
Execute a simple query.
|
Single<PgRowSet> |
PgConnection.rxQuery(String sql) |
Single<PgRowSet> |
PgTransaction.rxQuery(String sql) |
Single<PgRowSet> |
PgPool.rxQuery(String sql) |
Single<PgRowSet> |
PgCursor.rxRead(int count)
Read rows from the cursor, the result is provided asynchronously to the
handler. |
| Modifier and Type | Method and Description |
|---|---|
PgPreparedQuery |
PgPreparedQuery.batch(List<Tuple> argsList,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a batch.
|
PgPreparedQuery |
PgPreparedQuery.execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Calls
PgPreparedQuery.execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.reactivex.pgclient.PgRowSet>>) with an empty tuple argument. |
PgPreparedQuery |
PgPreparedQuery.execute(Tuple args,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Create a cursor with the provided
arguments. |
PgClient |
PgClient.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a createBatch.
|
PgConnection |
PgConnection.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgPool |
PgPool.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgClient |
PgClient.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgConnection |
PgConnection.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgPool |
PgPool.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgClient |
PgClient.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgConnection |
PgConnection.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgPool |
PgPool.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgClient |
PgClient.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a simple query.
|
PgConnection |
PgConnection.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgPool |
PgPool.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
void |
PgCursor.read(int count,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Read rows from the cursor, the result is provided asynchronously to the
handler. |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/class-use/PgStream.html ================================================| Package | Description |
|---|---|
| io.reactiverse.reactivex.pgclient |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgStream> |
PgStream.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
PgStream<Row> |
PgPreparedQuery.createStream(int fetch,
Tuple args)
Execute the prepared query with a cursor and createStream the result.
|
PgStream<T> |
PgStream.endHandler(io.vertx.core.Handler<Void> endHandler) |
PgStream<T> |
PgStream.exceptionHandler(io.vertx.core.Handler<Throwable> handler) |
PgStream<T> |
PgStream.handler(io.vertx.core.Handler<T> handler) |
static <T> PgStream<T> |
PgStream.newInstance(PgStream arg) |
static <T> PgStream<T> |
PgStream.newInstance(PgStream arg,
io.vertx.lang.rx.TypeArg<T> __typeArg_T) |
PgStream<T> |
PgStream.pause() |
PgStream<T> |
PgStream.resume() |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/class-use/PgTransaction.html ================================================| Package | Description |
|---|---|
| io.reactiverse.reactivex.pgclient |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgTransaction> |
PgTransaction.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
PgTransaction |
PgTransaction.abortHandler(io.vertx.core.Handler<Void> handler)
Set an handler to be called when the transaction is aborted.
|
PgTransaction |
PgConnection.begin()
Begin a transaction and returns a
PgTransaction for controlling and tracking
this transaction. |
static PgTransaction |
PgTransaction.newInstance(PgTransaction arg) |
PgTransaction |
PgTransaction.prepare(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgPreparedQuery>> handler)
Create a prepared query.
|
PgTransaction |
PgTransaction.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
| Modifier and Type | Method and Description |
|---|---|
Single<PgTransaction> |
PgPool.rxBegin()
Borrow a connection from the pool and begin a transaction, the underlying connection will be returned
to the pool when the transaction ends.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PgPool.begin(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgTransaction>> handler)
Borrow a connection from the pool and begin a transaction, the underlying connection will be returned
to the pool when the transaction ends.
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/class-use/Row.html ================================================| Package | Description |
|---|---|
| io.reactiverse.reactivex.pgclient |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<Row> |
Row.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
static Row |
Row.newInstance(Row arg) |
Row |
PgIterator.next() |
| Modifier and Type | Method and Description |
|---|---|
PgStream<Row> |
PgPreparedQuery.createStream(int fetch,
Tuple args)
Execute the prepared query with a cursor and createStream the result.
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/class-use/Tuple.html ================================================| Package | Description |
|---|---|
| io.reactiverse.reactivex.pgclient |
| Modifier and Type | Class and Description |
|---|---|
class |
Row |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<Tuple> |
Tuple.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addBigDecimal(BigDecimal value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addBoolean(Boolean value)
Add a boolean value at the end of the tuple.
|
Tuple |
Tuple.addBooleanArray(Boolean[] value)
Add an array of
Boolean value at the end of the tuple. |
Tuple |
Tuple.addBox(Box value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addBoxArray(Box[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addBuffer(io.vertx.reactivex.core.buffer.Buffer value)
Add a buffer value at the end of the tuple.
|
Tuple |
Tuple.addCircle(Circle value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addCircleArray(Circle[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addDouble(Double value)
Add a double value at the end of the tuple.
|
Tuple |
Tuple.addDoubleArray(Double[] value)
Add an array of
Double value at the end of the tuple. |
Tuple |
Tuple.addFloat(Float value)
Add a float value at the end of the tuple.
|
Tuple |
Tuple.addFloatArray(Float[] value)
Add an array of
Float value at the end of the tuple. |
Tuple |
Tuple.addInteger(Integer value)
Add an integer value at the end of the tuple.
|
Tuple |
Tuple.addIntegerArray(Integer[] value)
Add an array of
Integer value at the end of the tuple. |
Tuple |
Tuple.addInterval(Interval value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addIntervalArray(Interval[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addJson(Json value)
Add a json value at the end of the tuple.
|
Tuple |
Tuple.addLine(Line value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addLineArray(Line[] value)
Add an array of
Line value at the end of the tuple. |
Tuple |
Tuple.addLineSegment(LineSegment value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addLineSegmentArray(LineSegment[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addLocalDate(LocalDate value)
Add a
LocalDate value at the end of the tuple. |
Tuple |
Tuple.addLocalDateArray(LocalDate[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addLocalDateTime(LocalDateTime value)
Add a
LocalDateTime value at the end of the tuple. |
Tuple |
Tuple.addLocalDateTimeArray(LocalDateTime[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addLocalTime(LocalTime value)
Add a
LocalTime value at the end of the tuple. |
Tuple |
Tuple.addLocalTimeArray(LocalTime[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addLong(Long value)
Add a long value at the end of the tuple.
|
Tuple |
Tuple.addLongArray(Long[] value)
Add an array of
Long value at the end of the tuple. |
Tuple |
Tuple.addNumeric(Numeric value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addNumericArray(Numeric[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addOffsetDateTime(OffsetDateTime value)
Add a
OffsetDateTime value at the end of the tuple. |
Tuple |
Tuple.addOffsetDateTimeArray(OffsetDateTime[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addOffsetTime(OffsetTime value)
Add a
OffsetTime value at the end of the tuple. |
Tuple |
Tuple.addOffsetTimeArray(OffsetTime[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addPath(Path value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addPathArray(Path[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addPoint(Point value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addPointArray(Point[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addPolygon(Polygon value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addPolygonArray(Polygon[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addShort(Short value)
Add a short value at the end of the tuple.
|
Tuple |
Tuple.addShortArray(Short[] value)
Add an array of
Short value at the end of the tuple. |
Tuple |
Tuple.addString(String value)
Add a string value at the end of the tuple.
|
Tuple |
Tuple.addStringArray(String[] value)
Add an array of
String value at the end of the tuple. |
Tuple |
Tuple.addTemporal(Temporal value)
Add a
Temporal value at the end of the tuple. |
Tuple |
Tuple.addUUID(UUID value)
Add a
UUID value at the end of the tuple. |
Tuple |
Tuple.addUUIDArray(UUID[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addValue(Object value)
Add an object value at the end of the tuple.
|
static Tuple |
Tuple.newInstance(Tuple arg) |
static Tuple |
Tuple.of(Object elt1)
Create a tuple of one element.
|
static Tuple |
Tuple.of(Object elt1,
Object elt2)
Create a tuple of two elements.
|
static Tuple |
Tuple.of(Object elt1,
Object elt2,
Object elt3)
Create a tuple of three elements.
|
static Tuple |
Tuple.of(Object elt1,
Object elt2,
Object elt3,
Object elt4)
Create a tuple of four elements.
|
static Tuple |
Tuple.of(Object elt1,
Object elt2,
Object elt3,
Object elt4,
Object elt5)
Create a tuple of five elements.
|
static Tuple |
Tuple.of(Object elt1,
Object elt2,
Object elt3,
Object elt4,
Object elt5,
Object elt6)
Create a tuple of six elements.
|
static Tuple |
Tuple.tuple() |
| Modifier and Type | Method and Description |
|---|---|
PgStream<Row> |
PgPreparedQuery.createStream(int fetch,
Tuple args)
Execute the prepared query with a cursor and createStream the result.
|
PgCursor |
PgPreparedQuery.cursor(Tuple args)
Create a cursor with the provided
arguments. |
PgPreparedQuery |
PgPreparedQuery.execute(Tuple args,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Create a cursor with the provided
arguments. |
PgClient |
PgClient.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgConnection |
PgConnection.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgPool |
PgPool.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
Single<PgRowSet> |
PgPreparedQuery.rxExecute(Tuple args)
Create a cursor with the provided
arguments. |
Single<PgRowSet> |
PgClient.rxPreparedQuery(String sql,
Tuple arguments)
Prepare and execute a query.
|
Single<PgRowSet> |
PgConnection.rxPreparedQuery(String sql,
Tuple arguments) |
Single<PgRowSet> |
PgTransaction.rxPreparedQuery(String sql,
Tuple arguments) |
Single<PgRowSet> |
PgPool.rxPreparedQuery(String sql,
Tuple arguments) |
| Modifier and Type | Method and Description |
|---|---|
PgPreparedQuery |
PgPreparedQuery.batch(List<Tuple> argsList,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a batch.
|
PgClient |
PgClient.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a createBatch.
|
PgConnection |
PgConnection.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgPool |
PgPool.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
Single<PgRowSet> |
PgPreparedQuery.rxBatch(List<Tuple> argsList)
Execute a batch.
|
Single<PgRowSet> |
PgClient.rxPreparedBatch(String sql,
List<Tuple> batch)
Prepare and execute a createBatch.
|
Single<PgRowSet> |
PgConnection.rxPreparedBatch(String sql,
List<Tuple> batch) |
Single<PgRowSet> |
PgTransaction.rxPreparedBatch(String sql,
List<Tuple> batch) |
Single<PgRowSet> |
PgPool.rxPreparedBatch(String sql,
List<Tuple> batch) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/data/Json.html ================================================public class Json extends Object
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<Json> |
__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
static Json |
create(Object value) |
boolean |
equals(Object o) |
Json |
getDelegate() |
int |
hashCode() |
static Json |
newInstance(Json arg) |
String |
toString() |
Object |
value() |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/data/class-use/Json.html ================================================| Package | Description |
|---|---|
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.reactivex.pgclient.data |
| Modifier and Type | Method and Description |
|---|---|
Json |
Tuple.getJson(int pos)
Get a json value at
pos. |
Json |
Row.getJson(String name)
Get a json value at
pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addJson(Json value)
Add a json value at the end of the tuple.
|
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<Json> |
Json.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
static Json |
Json.create(Object value) |
static Json |
Json.newInstance(Json arg) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/data/package-frame.html ================================================| Class | Description |
|---|---|
| Json |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/data/package-tree.html ================================================Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/data/package-use.html ================================================| Package | Description |
|---|---|
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.reactivex.pgclient.data |
| Class and Description |
|---|
| Json |
| Class and Description |
|---|
| Json |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/package-frame.html ================================================| Class | Description |
|---|---|
| PgClient |
Defines the client operations with a Postgres Database.
|
| PgConnection |
A connection to Postgres.
|
| PgCursor |
A cursor that reads progressively the rows from Postgres, it is usefull for reading very large result.
|
| PgIterator |
An iterator for processing postgres items synchronously.
|
| PgPool |
A pool of connection.
|
| PgPreparedQuery |
A prepared query.
|
| PgResult<T> |
Represents the result of an operation on database.
|
| PgRowSet |
A set of rows.
|
| PgStream<T> |
A row oriented stream.
|
| PgTransaction |
A transaction that allows to control the transaction and receive events.
|
| Row | |
| Tuple |
A general purpose tuple.
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/package-tree.html ================================================Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/package-use.html ================================================| Package | Description |
|---|---|
| io.reactiverse.reactivex.pgclient | |
| io.reactiverse.reactivex.pgclient.pubsub |
| Class and Description |
|---|
| PgClient
Defines the client operations with a Postgres Database.
|
| PgConnection
A connection to Postgres.
|
| PgCursor
A cursor that reads progressively the rows from Postgres, it is usefull for reading very large result.
|
| PgIterator
An iterator for processing postgres items synchronously.
|
| PgPool
A pool of connection.
|
| PgPreparedQuery
A prepared query.
|
| PgResult
Represents the result of an operation on database.
|
| PgRowSet
A set of rows.
|
| PgStream
A row oriented stream.
|
| PgTransaction
A transaction that allows to control the transaction and receive events.
|
| Row |
| Tuple
A general purpose tuple.
|
| Class and Description |
|---|
| PgConnection
A connection to Postgres.
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/pubsub/PgChannel.html ================================================public class PgChannel extends Object implements io.vertx.reactivex.core.streams.ReadStream<String>
LISTEN/UNLISTEN commands.
When paused the channel discards the messages.
NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgChannel> |
__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
PgChannel |
endHandler(io.vertx.core.Handler<Void> endHandler)
Set an handler to be called when no more notifications will be received.
|
boolean |
equals(Object o) |
PgChannel |
exceptionHandler(io.vertx.core.Handler<Throwable> handler) |
io.vertx.reactivex.core.streams.ReadStream<String> |
fetch(long arg0) |
PgChannel |
getDelegate() |
PgChannel |
handler(io.vertx.core.Handler<String> handler)
Set or unset an handler to be called when a the channel is notified by Postgres.
|
int |
hashCode() |
static PgChannel |
newInstance(PgChannel arg) |
PgChannel |
pause()
Pause the channel, all notifications are discarded.
|
PgChannel |
resume()
Resume the channel.
|
PgChannel |
subscribeHandler(io.vertx.core.Handler<Void> handler)
Set an handler called when the the channel get subscribed.
|
Flowable<String> |
toFlowable() |
Observable<String> |
toObservable() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final io.vertx.lang.rx.TypeArg<PgChannel> __TYPE_ARG
public PgChannel(PgChannel delegate)
public PgChannel getDelegate()
getDelegate in interface io.vertx.reactivex.core.streams.ReadStream<String>getDelegate in interface io.vertx.reactivex.core.streams.StreamBasepublic Observable<String> toObservable()
toObservable in interface io.vertx.reactivex.core.streams.ReadStream<String>public Flowable<String> toFlowable()
toFlowable in interface io.vertx.reactivex.core.streams.ReadStream<String>public io.vertx.reactivex.core.streams.ReadStream<String> fetch(long arg0)
fetch in interface io.vertx.reactivex.core.streams.ReadStream<String>public PgChannel subscribeHandler(io.vertx.core.Handler<Void> handler)
handler - the handlerpublic PgChannel handler(io.vertx.core.Handler<String> handler)
LISTEN command if neededUNLISTEN command if neededhandler in interface io.vertx.reactivex.core.streams.ReadStream<String>handler - the handlerpublic PgChannel pause()
pause in interface io.vertx.reactivex.core.streams.ReadStream<String>public PgChannel resume()
resume in interface io.vertx.reactivex.core.streams.ReadStream<String>public PgChannel endHandler(io.vertx.core.Handler<Void> endHandler)
endHandler in interface io.vertx.reactivex.core.streams.ReadStream<String>endHandler - the handlerpublic PgChannel exceptionHandler(io.vertx.core.Handler<Throwable> handler)
exceptionHandler in interface io.vertx.reactivex.core.streams.ReadStream<String>exceptionHandler in interface io.vertx.reactivex.core.streams.StreamBaseCopyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/pubsub/PgSubscriber.html ================================================| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgSubscriber> |
__TYPE_ARG |
| Constructor and Description |
|---|
PgSubscriber(PgSubscriber delegate) |
| Modifier and Type | Method and Description |
|---|---|
PgConnection |
actualConnection() |
PgChannel |
channel(String name)
Return a channel for the given
name. |
void |
close()
Close the subscriber, the retry policy will not be invoked.
|
boolean |
closed() |
PgSubscriber |
closeHandler(io.vertx.core.Handler<Void> handler)
Set an handler called when the subscriber is closed.
|
PgSubscriber |
connect(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Connect the subscriber to Postgres.
|
boolean |
equals(Object o) |
PgSubscriber |
getDelegate() |
int |
hashCode() |
static PgSubscriber |
newInstance(PgSubscriber arg) |
PgSubscriber |
reconnectPolicy(Function<Integer,Long> policy)
Set the reconnect policy that is executed when the subscriber is disconnected.
|
Completable |
rxConnect()
Connect the subscriber to Postgres.
|
static PgSubscriber |
subscriber(io.vertx.reactivex.core.Vertx vertx,
PgConnectOptions options)
Create a subscriber.
|
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<PgSubscriber> __TYPE_ARG
public PgSubscriber(PgSubscriber delegate)
public PgSubscriber getDelegate()
public static PgSubscriber subscriber(io.vertx.reactivex.core.Vertx vertx, PgConnectOptions options)
vertx - the vertx instanceoptions - the connect optionspublic PgChannel channel(String name)
name.name - the channel name This will be the name of the channel exactly as held by Postgres for sending notifications. Internally this name will be truncated to the Postgres identifier maxiumum length of (NAMEDATALEN = 64) - 1 == 63 characters, and prepared as a quoted identifier without unicode escape sequence support for use in LISTEN/UNLISTEN commands. Examples of channel names and corresponding NOTIFY commands: name == "the_channel": NOTIFY the_channel, 'msg', NOTIFY The_Channel, 'msg', or NOTIFY "the_channel", 'msg' succeed in delivering a message to the created channel name == "The_Channel": NOTIFY "The_Channel", 'msg', succeeds in delivering a message to the created channel public PgSubscriber connect(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
handler - the handler notified of the connection success or failurepublic Completable rxConnect()
public PgSubscriber reconnectPolicy(Function<Integer,Long> policy)
policy function is called with the actual
number of retries and returns an amountOfTime value:
amountOfTime < 0: the subscriber is closed and there is no retryamountOfTime == 0: the subscriber retries to connect immediatelyamountOfTime > 0: the subscriber retries after amountOfTime millisecondspolicy - the policy to setpublic PgSubscriber closeHandler(io.vertx.core.Handler<Void> handler)
handler - the handlerpublic PgConnection actualConnection()
nullpublic boolean closed()
public void close()
public static PgSubscriber newInstance(PgSubscriber arg)
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/pubsub/class-use/PgChannel.html ================================================| Package | Description |
|---|---|
| io.reactiverse.reactivex.pgclient.pubsub |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgChannel> |
PgChannel.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
PgChannel |
PgSubscriber.channel(String name)
Return a channel for the given
name. |
PgChannel |
PgChannel.endHandler(io.vertx.core.Handler<Void> endHandler)
Set an handler to be called when no more notifications will be received.
|
PgChannel |
PgChannel.exceptionHandler(io.vertx.core.Handler<Throwable> handler) |
PgChannel |
PgChannel.handler(io.vertx.core.Handler<String> handler)
Set or unset an handler to be called when a the channel is notified by Postgres.
|
static PgChannel |
PgChannel.newInstance(PgChannel arg) |
PgChannel |
PgChannel.pause()
Pause the channel, all notifications are discarded.
|
PgChannel |
PgChannel.resume()
Resume the channel.
|
PgChannel |
PgChannel.subscribeHandler(io.vertx.core.Handler<Void> handler)
Set an handler called when the the channel get subscribed.
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/pubsub/class-use/PgSubscriber.html ================================================| Package | Description |
|---|---|
| io.reactiverse.reactivex.pgclient.pubsub |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgSubscriber> |
PgSubscriber.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
PgSubscriber |
PgSubscriber.closeHandler(io.vertx.core.Handler<Void> handler)
Set an handler called when the subscriber is closed.
|
PgSubscriber |
PgSubscriber.connect(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Connect the subscriber to Postgres.
|
static PgSubscriber |
PgSubscriber.newInstance(PgSubscriber arg) |
PgSubscriber |
PgSubscriber.reconnectPolicy(Function<Integer,Long> policy)
Set the reconnect policy that is executed when the subscriber is disconnected.
|
static PgSubscriber |
PgSubscriber.subscriber(io.vertx.reactivex.core.Vertx vertx,
PgConnectOptions options)
Create a subscriber.
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/pubsub/package-frame.html ================================================| Class | Description |
|---|---|
| PgChannel |
A channel to Postgres that tracks the subscription to a given Postgres channel using the
LISTEN/UNLISTEN commands. |
| PgSubscriber |
A class for managing subscriptions using
LISTEN/UNLISTEN to Postgres channels. |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/pubsub/package-tree.html ================================================Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/reactivex/pgclient/pubsub/package-use.html ================================================| Package | Description |
|---|---|
| io.reactiverse.reactivex.pgclient.pubsub |
| Class and Description |
|---|
| PgChannel
A channel to Postgres that tracks the subscription to a given Postgres channel using the
LISTEN/UNLISTEN commands. |
| PgSubscriber
A class for managing subscriptions using
LISTEN/UNLISTEN to Postgres channels. |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/Json.html ================================================public class Json extends Object
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rxjava.TypeArg<Json> |
__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
static Json |
create(Object value) |
boolean |
equals(Object o) |
Json |
getDelegate() |
int |
hashCode() |
static Json |
newInstance(Json arg) |
String |
toString() |
Object |
value() |
Copyright © 2018 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/PgClient.html ================================================public class PgClient extends Object
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgClient> |
__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
static void |
connect(io.vertx.rxjava.core.Vertx vertx,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Like
connect(io.vertx.rxjava.core.Vertx, io.reactiverse.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.rxjava.pgclient.PgConnection>>) with options build from the environment variables. |
static void |
connect(io.vertx.rxjava.core.Vertx vertx,
PgConnectOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Connects to the database and returns the connection if that succeeds.
|
static void |
connect(io.vertx.rxjava.core.Vertx vertx,
String connectionUri,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Like
connect(io.vertx.rxjava.core.Vertx, io.reactiverse.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.rxjava.pgclient.PgConnection>>) with options build from connectionUri. |
boolean |
equals(Object o) |
PgClient |
getDelegate() |
int |
hashCode() |
static PgClient |
newInstance(PgClient arg) |
static PgPool |
pool()
Like
pool() with options build from the environment variables. |
static PgPool |
pool(PgPoolOptions options)
Create a connection pool to the database configured with the given
options. |
static PgPool |
pool(String connectionUri)
Like
pool() with options build from connectionUri. |
static PgPool |
pool(io.vertx.rxjava.core.Vertx vertx)
Like
pool() with options build from the environment variables. |
static PgPool |
pool(io.vertx.rxjava.core.Vertx vertx,
PgPoolOptions options)
Like
pool() with a specific instance. |
static PgPool |
pool(io.vertx.rxjava.core.Vertx vertx,
String connectionUri)
Like
pool() with options build from connectionUri. |
PgClient |
preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a createBatch.
|
PgClient |
preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgClient |
preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgClient |
query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a simple query.
|
static Single<PgConnection> |
rxConnect(io.vertx.rxjava.core.Vertx vertx)
Like
connect(io.vertx.rxjava.core.Vertx, io.reactiverse.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.rxjava.pgclient.PgConnection>>) with options build from the environment variables. |
static Single<PgConnection> |
rxConnect(io.vertx.rxjava.core.Vertx vertx,
PgConnectOptions options)
Connects to the database and returns the connection if that succeeds.
|
static Single<PgConnection> |
rxConnect(io.vertx.rxjava.core.Vertx vertx,
String connectionUri)
Like
connect(io.vertx.rxjava.core.Vertx, io.reactiverse.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.rxjava.pgclient.PgConnection>>) with options build from connectionUri. |
Single<PgRowSet> |
rxPreparedBatch(String sql,
List<Tuple> batch)
Prepare and execute a createBatch.
|
Single<PgRowSet> |
rxPreparedQuery(String sql)
Prepare and execute a query.
|
Single<PgRowSet> |
rxPreparedQuery(String sql,
Tuple arguments)
Prepare and execute a query.
|
Single<PgRowSet> |
rxQuery(String sql)
Execute a simple query.
|
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<PgClient> __TYPE_ARG
public PgClient(PgClient delegate)
public PgClient getDelegate()
public static PgPool pool()
pool() with options build from the environment variables.public static PgPool pool(String connectionUri)
pool() with options build from connectionUri.connectionUri - public static PgPool pool(io.vertx.rxjava.core.Vertx vertx)
pool() with options build from the environment variables.vertx - public static PgPool pool(io.vertx.rxjava.core.Vertx vertx, String connectionUri)
pool() with options build from connectionUri.vertx - connectionUri - public static PgPool pool(PgPoolOptions options)
options.options - the options for creating the poolpublic static PgPool pool(io.vertx.rxjava.core.Vertx vertx, PgPoolOptions options)
pool() with a specific instance.vertx - options - public static void connect(io.vertx.rxjava.core.Vertx vertx,
PgConnectOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
vertx - the vertx instanceoptions - the connect optionshandler - the handler called with the connection or the failurepublic static Single<PgConnection> rxConnect(io.vertx.rxjava.core.Vertx vertx, PgConnectOptions options)
vertx - the vertx instanceoptions - the connect optionspublic static void connect(io.vertx.rxjava.core.Vertx vertx,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
connect(io.vertx.rxjava.core.Vertx, io.reactiverse.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.rxjava.pgclient.PgConnection>>) with options build from the environment variables.vertx - handler - public static Single<PgConnection> rxConnect(io.vertx.rxjava.core.Vertx vertx)
connect(io.vertx.rxjava.core.Vertx, io.reactiverse.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.rxjava.pgclient.PgConnection>>) with options build from the environment variables.vertx - public static void connect(io.vertx.rxjava.core.Vertx vertx,
String connectionUri,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
connect(io.vertx.rxjava.core.Vertx, io.reactiverse.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.rxjava.pgclient.PgConnection>>) with options build from connectionUri.vertx - connectionUri - handler - public static Single<PgConnection> rxConnect(io.vertx.rxjava.core.Vertx vertx, String connectionUri)
connect(io.vertx.rxjava.core.Vertx, io.reactiverse.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.rxjava.pgclient.PgConnection>>) with options build from connectionUri.vertx - connectionUri - public PgClient query(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
sql - the query SQLhandler - the handler notified with the execution resultpublic Single<PgRowSet> rxQuery(String sql)
sql - the query SQLpublic PgClient preparedQuery(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
sql - the prepared query SQLhandler - the handler notified with the execution resultpublic Single<PgRowSet> rxPreparedQuery(String sql)
sql - the prepared query SQLpublic PgClient preparedQuery(String sql, Tuple arguments, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
sql - the prepared query SQLarguments - the list of argumentshandler - the handler notified with the execution resultpublic Single<PgRowSet> rxPreparedQuery(String sql, Tuple arguments)
sql - the prepared query SQLarguments - the list of argumentspublic PgClient preparedBatch(String sql, List<Tuple> batch, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
sql - the prepared query SQLbatch - the batch of tupleshandler - the handler notified with the execution resultpublic Single<PgRowSet> rxPreparedBatch(String sql, List<Tuple> batch)
sql - the prepared query SQLbatch - the batch of tuplesCopyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/PgConnection.html ================================================| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgConnection> |
__TYPE_ARG |
| Constructor and Description |
|---|
PgConnection(PgConnection delegate) |
| Modifier and Type | Method and Description |
|---|---|
PgTransaction |
begin()
Begin a transaction and returns a
PgTransaction for controlling and tracking
this transaction. |
PgConnection |
cancelRequest(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Send a request cancellation message to tell the server to cancel processing request in this connection.
|
void |
close()
Close the current connection after all the pending commands have been processed.
|
PgConnection |
closeHandler(io.vertx.core.Handler<Void> handler)
Set an handler called when the connection is closed.
|
boolean |
equals(Object o) |
PgConnection |
exceptionHandler(io.vertx.core.Handler<Throwable> handler)
Set an handler called with connection errors.
|
PgConnection |
getDelegate() |
int |
hashCode() |
boolean |
isSSL() |
static PgConnection |
newInstance(PgConnection arg) |
PgConnection |
notificationHandler(io.vertx.core.Handler<PgNotification> handler)
Set an handler called when the connection receives notification on a channel.
|
PgConnection |
prepare(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgPreparedQuery>> handler)
Create a prepared query.
|
PgConnection |
preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a createBatch.
|
PgConnection |
preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgConnection |
preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
int |
processId() |
PgConnection |
query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a simple query.
|
Single<PgPreparedQuery> |
rxPrepare(String sql)
Create a prepared query.
|
Single<PgRowSet> |
rxPreparedBatch(String sql,
List<Tuple> batch)
Prepare and execute a createBatch.
|
Single<PgRowSet> |
rxPreparedQuery(String sql)
Prepare and execute a query.
|
Single<PgRowSet> |
rxPreparedQuery(String sql,
Tuple arguments)
Prepare and execute a query.
|
Single<PgRowSet> |
rxQuery(String sql)
Execute a simple query.
|
int |
secretKey() |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<PgConnection> __TYPE_ARG
public PgConnection(PgConnection delegate)
public PgConnection getDelegate()
getDelegate in class PgClientpublic PgConnection prepare(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgPreparedQuery>> handler)
sql - the sqlhandler - the handler notified with the prepared query asynchronouslypublic Single<PgPreparedQuery> rxPrepare(String sql)
sql - the sqlpublic PgConnection exceptionHandler(io.vertx.core.Handler<Throwable> handler)
handler - the handlerpublic PgConnection closeHandler(io.vertx.core.Handler<Void> handler)
handler - the handlerpublic PgTransaction begin()
PgTransaction for controlling and tracking
this transaction.
When the connection is explicitely closed, any inflight transaction is rollbacked.public PgConnection notificationHandler(io.vertx.core.Handler<PgNotification> handler)
PgNotification and has access to the channel name
and the notification payload.handler - the handlerpublic int processId()
public int secretKey()
public PgConnection cancelRequest(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
handler - the handler notified if cancelling request is sentpublic boolean isSSL()
public void close()
public PgConnection preparedQuery(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedQuery in class PgClientsql - the prepared query SQLhandler - the handler notified with the execution resultpublic Single<PgRowSet> rxPreparedQuery(String sql)
PgClientrxPreparedQuery in class PgClientsql - the prepared query SQLpublic PgConnection query(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpublic Single<PgRowSet> rxQuery(String sql)
PgClientpublic PgConnection preparedQuery(String sql, Tuple arguments, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedQuery in class PgClientsql - the prepared query SQLarguments - the list of argumentshandler - the handler notified with the execution resultpublic Single<PgRowSet> rxPreparedQuery(String sql, Tuple arguments)
PgClientrxPreparedQuery in class PgClientsql - the prepared query SQLarguments - the list of argumentspublic PgConnection preparedBatch(String sql, List<Tuple> batch, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedBatch in class PgClientsql - the prepared query SQLbatch - the batch of tupleshandler - the handler notified with the execution resultpublic Single<PgRowSet> rxPreparedBatch(String sql, List<Tuple> batch)
PgClientrxPreparedBatch in class PgClientsql - the prepared query SQLbatch - the batch of tuplespublic static PgConnection newInstance(PgConnection arg)
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/PgCursor.html ================================================| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgCursor> |
__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Release the cursor.
|
void |
close(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
Like
close() but with a completionHandler called when the cursor has been released. |
boolean |
equals(Object o) |
PgCursor |
getDelegate() |
int |
hashCode() |
boolean |
hasMore()
Returns
true when the cursor has results in progress and the should be called to retrieve
them. |
static PgCursor |
newInstance(PgCursor arg) |
void |
read(int count,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Read rows from the cursor, the result is provided asynchronously to the
handler. |
Single<Void> |
rxClose()
Like
close() but with a completionHandler called when the cursor has been released. |
Single<PgRowSet> |
rxRead(int count)
Read rows from the cursor, the result is provided asynchronously to the
handler. |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<PgCursor> __TYPE_ARG
public PgCursor(PgCursor delegate)
public PgCursor getDelegate()
public void read(int count,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
handler.count - the amount of rows to readhandler - the handler for the resultpublic Single<PgRowSet> rxRead(int count)
handler.count - the amount of rows to readpublic boolean hasMore()
true when the cursor has results in progress and the should be called to retrieve
them.public void close()
public void close(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
close() but with a completionHandler called when the cursor has been released.completionHandler - public Single<Void> rxClose()
close() but with a completionHandler called when the cursor has been released.Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/PgIterator.html ================================================| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgIterator> |
__TYPE_ARG |
| Constructor and Description |
|---|
PgIterator(PgIterator delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
PgIterator |
getDelegate() |
int |
hashCode() |
boolean |
hasNext() |
static PgIterator |
newInstance(PgIterator arg) |
Row |
next() |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<PgIterator> __TYPE_ARG
public PgIterator(PgIterator delegate)
public PgIterator getDelegate()
public boolean hasNext()
public Row next()
public static PgIterator newInstance(PgIterator arg)
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/PgPool.html ================================================| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgPool> |
__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
void |
begin(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgTransaction>> handler)
Borrow a connection from the pool and begin a transaction, the underlying connection will be returned
to the pool when the transaction ends.
|
void |
close()
Close the pool and release the associated resources.
|
boolean |
equals(Object o) |
void |
getConnection(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Get a connection from the pool.
|
PgPool |
getDelegate() |
int |
hashCode() |
static PgPool |
newInstance(PgPool arg) |
PgPool |
preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a createBatch.
|
PgPool |
preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgPool |
preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgPool |
query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a simple query.
|
Single<PgTransaction> |
rxBegin()
Borrow a connection from the pool and begin a transaction, the underlying connection will be returned
to the pool when the transaction ends.
|
Single<PgConnection> |
rxGetConnection()
Get a connection from the pool.
|
Single<PgRowSet> |
rxPreparedBatch(String sql,
List<Tuple> batch)
Prepare and execute a createBatch.
|
Single<PgRowSet> |
rxPreparedQuery(String sql)
Prepare and execute a query.
|
Single<PgRowSet> |
rxPreparedQuery(String sql,
Tuple arguments)
Prepare and execute a query.
|
Single<PgRowSet> |
rxQuery(String sql)
Execute a simple query.
|
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<PgPool> __TYPE_ARG
public PgPool(PgPool delegate)
public PgPool getDelegate()
getDelegate in class PgClientpublic PgPool preparedQuery(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedQuery in class PgClientsql - the prepared query SQLhandler - the handler notified with the execution resultpublic Single<PgRowSet> rxPreparedQuery(String sql)
PgClientrxPreparedQuery in class PgClientsql - the prepared query SQLpublic PgPool query(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpublic Single<PgRowSet> rxQuery(String sql)
PgClientpublic PgPool preparedQuery(String sql, Tuple arguments, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedQuery in class PgClientsql - the prepared query SQLarguments - the list of argumentshandler - the handler notified with the execution resultpublic Single<PgRowSet> rxPreparedQuery(String sql, Tuple arguments)
PgClientrxPreparedQuery in class PgClientsql - the prepared query SQLarguments - the list of argumentspublic PgPool preparedBatch(String sql, List<Tuple> batch, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedBatch in class PgClientsql - the prepared query SQLbatch - the batch of tupleshandler - the handler notified with the execution resultpublic Single<PgRowSet> rxPreparedBatch(String sql, List<Tuple> batch)
PgClientrxPreparedBatch in class PgClientsql - the prepared query SQLbatch - the batch of tuplespublic void getConnection(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
handler - the handler that will get the connection resultpublic Single<PgConnection> rxGetConnection()
public void begin(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgTransaction>> handler)
handler - public Single<PgTransaction> rxBegin()
public void close()
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/PgPreparedQuery.html ================================================| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgPreparedQuery> |
__TYPE_ARG |
| Constructor and Description |
|---|
PgPreparedQuery(PgPreparedQuery delegate) |
| Modifier and Type | Method and Description |
|---|---|
PgPreparedQuery |
batch(List<Tuple> argsList,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a batch.
|
void |
close()
Close the prepared query and release its resources.
|
void |
close(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
Like
close() but notifies the completionHandler when it's closed. |
PgStream<Row> |
createStream(int fetch,
Tuple args)
Execute the prepared query with a cursor and createStream the result.
|
PgCursor |
cursor() |
PgCursor |
cursor(Tuple args)
Create a cursor with the provided
arguments. |
boolean |
equals(Object o) |
PgPreparedQuery |
execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Calls
execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.rxjava.pgclient.PgRowSet>>) with an empty tuple argument. |
PgPreparedQuery |
execute(Tuple args,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Create a cursor with the provided
arguments. |
PgPreparedQuery |
getDelegate() |
int |
hashCode() |
static PgPreparedQuery |
newInstance(PgPreparedQuery arg) |
Single<PgRowSet> |
rxBatch(List<Tuple> argsList)
Execute a batch.
|
Single<Void> |
rxClose()
Like
close() but notifies the completionHandler when it's closed. |
Single<PgRowSet> |
rxExecute()
Calls
execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.rxjava.pgclient.PgRowSet>>) with an empty tuple argument. |
Single<PgRowSet> |
rxExecute(Tuple args)
Create a cursor with the provided
arguments. |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<PgPreparedQuery> __TYPE_ARG
public PgPreparedQuery(PgPreparedQuery delegate)
public PgPreparedQuery getDelegate()
public PgPreparedQuery execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.rxjava.pgclient.PgRowSet>>) with an empty tuple argument.handler - public Single<PgRowSet> rxExecute()
execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.rxjava.pgclient.PgRowSet>>) with an empty tuple argument.public PgPreparedQuery execute(Tuple args, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
arguments.args - the list of argumentshandler - public Single<PgRowSet> rxExecute(Tuple args)
arguments.args - the list of argumentspublic PgCursor cursor()
fetch size and empty argumentspublic PgCursor cursor(Tuple args)
arguments.args - the list of argumentspublic PgStream<Row> createStream(int fetch, Tuple args)
fetch size to fetch the results.
Note: this requires to be in a transaction, since cursors require it.fetch - the cursor fetch sizeargs - the prepared query argumentspublic PgPreparedQuery batch(List<Tuple> argsList, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
argsList - the list of tuple for the batchhandler - public Single<PgRowSet> rxBatch(List<Tuple> argsList)
argsList - the list of tuple for the batchpublic void close()
public void close(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
close() but notifies the completionHandler when it's closed.completionHandler - public Single<Void> rxClose()
close() but notifies the completionHandler when it's closed.public static PgPreparedQuery newInstance(PgPreparedQuery arg)
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/PgResult.html ================================================| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgResult> |
__TYPE_ARG |
io.vertx.lang.rx.TypeArg<T> |
__typeArg_0 |
| Constructor and Description |
|---|
PgResult(PgResult delegate) |
PgResult(PgResult delegate,
io.vertx.lang.rx.TypeArg<T> typeArg_0) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
columnsNames()
Get the names of columns in the PgResult.
|
boolean |
equals(Object o) |
PgResult |
getDelegate() |
int |
hashCode() |
static <T> PgResult<T> |
newInstance(PgResult arg) |
static <T> PgResult<T> |
newInstance(PgResult arg,
io.vertx.lang.rx.TypeArg<T> __typeArg_T) |
PgResult<T> |
next()
Return the next available result or
null, e.g for a simple query that executed multiple queries or for
a batch result. |
int |
rowCount()
Get the number of the affected rows in the operation to this PgResult.
|
int |
size()
Get the number of rows in the PgResult.
|
String |
toString() |
T |
value()
Get the result value.
|
public static final io.vertx.lang.rx.TypeArg<PgResult> __TYPE_ARG
public final io.vertx.lang.rx.TypeArg<T> __typeArg_0
public PgResult(PgResult delegate)
public PgResult getDelegate()
public int rowCount()
public List<String> columnsNames()
public int size()
public T value()
public PgResult<T> next()
null, e.g for a simple query that executed multiple queries or for
a batch result.null if none is availableCopyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/PgRowSet.html ================================================| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgRowSet> |
__TYPE_ARG |
__typeArg_0| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
PgRowSet |
getDelegate() |
int |
hashCode() |
PgIterator |
iterator() |
static PgRowSet |
newInstance(PgRowSet arg) |
PgRowSet |
next()
Return the next available result or
null, e.g for a simple query that executed multiple queries or for
a batch result. |
String |
toString() |
PgRowSet |
value()
Get the result value.
|
columnsNames, newInstance, newInstance, rowCount, sizepublic static final io.vertx.lang.rx.TypeArg<PgRowSet> __TYPE_ARG
public PgRowSet(PgRowSet delegate)
public PgRowSet getDelegate()
getDelegate in class PgResult<PgRowSet>public PgRowSet value()
public PgIterator iterator()
public PgRowSet next()
PgResultnull, e.g for a simple query that executed multiple queries or for
a batch result.Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/PgStream.html ================================================public class PgStream<T> extends Object implements io.vertx.rxjava.core.streams.ReadStream<T>
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgStream> |
__TYPE_ARG |
io.vertx.lang.rx.TypeArg<T> |
__typeArg_0 |
| Constructor and Description |
|---|
PgStream(PgStream delegate) |
PgStream(PgStream delegate,
io.vertx.lang.rx.TypeArg<T> typeArg_0) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the stream and release the resources.
|
void |
close(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
Close the stream and release the resources.
|
PgStream<T> |
endHandler(io.vertx.core.Handler<Void> endHandler) |
boolean |
equals(Object o) |
PgStream<T> |
exceptionHandler(io.vertx.core.Handler<Throwable> handler) |
io.vertx.rxjava.core.streams.ReadStream<T> |
fetch(long arg0) |
PgStream |
getDelegate() |
PgStream<T> |
handler(io.vertx.core.Handler<T> handler) |
int |
hashCode() |
static <T> PgStream<T> |
newInstance(PgStream arg) |
static <T> PgStream<T> |
newInstance(PgStream arg,
io.vertx.lang.rx.TypeArg<T> __typeArg_T) |
PgStream<T> |
pause() |
PgStream<T> |
resume() |
Single<Void> |
rxClose()
Close the stream and release the resources.
|
Observable<T> |
toObservable() |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<PgStream> __TYPE_ARG
public final io.vertx.lang.rx.TypeArg<T> __typeArg_0
public PgStream(PgStream delegate)
public PgStream getDelegate()
getDelegate in interface io.vertx.rxjava.core.streams.ReadStream<T>getDelegate in interface io.vertx.rxjava.core.streams.StreamBasepublic Observable<T> toObservable()
toObservable in interface io.vertx.rxjava.core.streams.ReadStream<T>public io.vertx.rxjava.core.streams.ReadStream<T> fetch(long arg0)
fetch in interface io.vertx.rxjava.core.streams.ReadStream<T>public PgStream<T> exceptionHandler(io.vertx.core.Handler<Throwable> handler)
exceptionHandler in interface io.vertx.rxjava.core.streams.ReadStream<T>exceptionHandler in interface io.vertx.rxjava.core.streams.StreamBasepublic PgStream<T> handler(io.vertx.core.Handler<T> handler)
handler in interface io.vertx.rxjava.core.streams.ReadStream<T>public PgStream<T> pause()
pause in interface io.vertx.rxjava.core.streams.ReadStream<T>public PgStream<T> resume()
resume in interface io.vertx.rxjava.core.streams.ReadStream<T>public PgStream<T> endHandler(io.vertx.core.Handler<Void> endHandler)
endHandler in interface io.vertx.rxjava.core.streams.ReadStream<T>public void close()
public void close(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
completionHandler - the completion handler for this operationCopyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/PgTransaction.html ================================================| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgTransaction> |
__TYPE_ARG |
| Constructor and Description |
|---|
PgTransaction(PgTransaction delegate) |
| Modifier and Type | Method and Description |
|---|---|
PgTransaction |
abortHandler(io.vertx.core.Handler<Void> handler)
Set an handler to be called when the transaction is aborted.
|
void |
commit()
Commit the current transaction.
|
void |
commit(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Like
commit() with an handler to be notified when the transaction commit has completed |
boolean |
equals(Object o) |
PgTransaction |
getDelegate() |
int |
hashCode() |
static PgTransaction |
newInstance(PgTransaction arg) |
PgTransaction |
prepare(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgPreparedQuery>> handler)
Create a prepared query.
|
PgTransaction |
preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a createBatch.
|
PgTransaction |
preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgTransaction |
preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgTransaction |
query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a simple query.
|
void |
rollback()
Rollback the current transaction.
|
void |
rollback(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Like
rollback() with an handler to be notified when the transaction rollback has completed |
Single<Void> |
rxCommit()
Like
commit() with an handler to be notified when the transaction commit has completed |
Single<PgPreparedQuery> |
rxPrepare(String sql)
Create a prepared query.
|
Single<PgRowSet> |
rxPreparedBatch(String sql,
List<Tuple> batch)
Prepare and execute a createBatch.
|
Single<PgRowSet> |
rxPreparedQuery(String sql)
Prepare and execute a query.
|
Single<PgRowSet> |
rxPreparedQuery(String sql,
Tuple arguments)
Prepare and execute a query.
|
Single<PgRowSet> |
rxQuery(String sql)
Execute a simple query.
|
Single<Void> |
rxRollback()
Like
rollback() with an handler to be notified when the transaction rollback has completed |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<PgTransaction> __TYPE_ARG
public PgTransaction(PgTransaction delegate)
public PgTransaction getDelegate()
getDelegate in class PgClientpublic PgTransaction prepare(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgPreparedQuery>> handler)
sql - the sqlhandler - the handler notified with the prepared query asynchronouslypublic Single<PgPreparedQuery> rxPrepare(String sql)
sql - the sqlpublic void commit()
public void commit(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
commit() with an handler to be notified when the transaction commit has completedhandler - public Single<Void> rxCommit()
commit() with an handler to be notified when the transaction commit has completedpublic void rollback()
public void rollback(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
rollback() with an handler to be notified when the transaction rollback has completedhandler - public Single<Void> rxRollback()
rollback() with an handler to be notified when the transaction rollback has completedpublic PgTransaction abortHandler(io.vertx.core.Handler<Void> handler)
handler - the handlerpublic PgTransaction query(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpublic Single<PgRowSet> rxQuery(String sql)
PgClientpublic PgTransaction preparedQuery(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedQuery in class PgClientsql - the prepared query SQLhandler - the handler notified with the execution resultpublic Single<PgRowSet> rxPreparedQuery(String sql)
PgClientrxPreparedQuery in class PgClientsql - the prepared query SQLpublic PgTransaction preparedQuery(String sql, Tuple arguments, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedQuery in class PgClientsql - the prepared query SQLarguments - the list of argumentshandler - the handler notified with the execution resultpublic Single<PgRowSet> rxPreparedQuery(String sql, Tuple arguments)
PgClientrxPreparedQuery in class PgClientsql - the prepared query SQLarguments - the list of argumentspublic PgTransaction preparedBatch(String sql, List<Tuple> batch, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
PgClientpreparedBatch in class PgClientsql - the prepared query SQLbatch - the batch of tupleshandler - the handler notified with the execution resultpublic Single<PgRowSet> rxPreparedBatch(String sql, List<Tuple> batch)
PgClientrxPreparedBatch in class PgClientsql - the prepared query SQLbatch - the batch of tuplespublic static PgTransaction newInstance(PgTransaction arg)
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/Row.html ================================================public class Row extends Tuple
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<Row> |
__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
BigDecimal |
getBigDecimal(String name)
Get value at
pos. |
Boolean |
getBoolean(String name)
Get a boolean value at
pos. |
Boolean[] |
getBooleanArray(String name)
Get an array of
Boolean value at pos. |
Box |
getBox(String name)
Get value at
pos. |
Box[] |
getBoxArray(String name)
Get an array of value at
pos. |
io.vertx.rxjava.core.buffer.Buffer |
getBuffer(String name)
Get a buffer value at
pos. |
Circle |
getCircle(String name)
Get value at
pos. |
Circle[] |
getCircleArray(String name)
Get an array of value at
pos. |
String |
getColumnName(int pos)
Get a column name at
pos. |
Row |
getDelegate() |
Double |
getDouble(String name)
Get a double value at
pos. |
Double[] |
getDoubleArray(String name)
Get an array of
Double value at pos. |
Float |
getFloat(String name)
Get a float value at
pos. |
Float[] |
getFloatArray(String name)
Get an array of
Float value at pos. |
Integer |
getInteger(String name)
Get an integer value at
pos. |
Integer[] |
getIntegerArray(String name)
Get an array of
Integer value at pos. |
Interval |
getInterval(String name)
Get value at
pos. |
Interval[] |
getIntervalArray(String name)
Get an array of value at
pos. |
Json |
getJson(String name)
Get a json value at
pos. |
Line |
getLine(String name)
Get value at
pos. |
Line[] |
getLineArray(String name)
Get an array of value at
pos. |
LineSegment |
getLineSegment(String name)
Get value at
pos. |
LineSegment[] |
getLineSegmentArray(String name)
Get an array of value at
pos. |
LocalDate |
getLocalDate(String name)
Get
LocalDate value at pos. |
LocalDate[] |
getLocalDateArray(String name)
Get an array of value at
pos. |
LocalDateTime |
getLocalDateTime(String name)
Get
LocalDateTime value at pos. |
LocalDateTime[] |
getLocalDateTimeArray(String name)
Get an array of value at
pos. |
LocalTime |
getLocalTime(String name)
Get
LocalTime value at pos. |
LocalTime[] |
getLocalTimeArray(String name)
Get an array of value at
pos. |
Long |
getLong(String name)
Get a long value at
pos. |
Long[] |
getLongArray(String name)
Get an array of
Long value at pos. |
Numeric |
getNumeric(String name)
Get value at
pos. |
Numeric[] |
getNumericArray(String name)
Get an array of value at
pos. |
OffsetDateTime |
getOffsetDateTime(String name)
Get
OffsetDateTime value at pos. |
OffsetDateTime[] |
getOffsetDateTimeArray(String name)
Get an array of value at
pos. |
OffsetTime |
getOffsetTime(String name)
Get
OffsetTime value at pos. |
OffsetTime[] |
getOffsetTimeArray(String name)
Get an array of value at
pos. |
Path |
getPath(String name)
Get value at
pos. |
Path[] |
getPathArray(String name)
Get an array of value at
pos. |
Point |
getPoint(String name)
Get value at
pos. |
Point[] |
getPointArray(String name)
Get an array of value at
pos. |
Polygon |
getPolygon(String name)
Get value at
pos. |
Polygon[] |
getPolygonArray(String name)
Get an array of value at
pos. |
Short |
getShort(String name)
Get a short value at
pos. |
Short[] |
getShortArray(String name)
Get an array of
Short value at pos. |
String |
getString(String name)
Get a string value at
pos. |
String[] |
getStringArray(String name)
Get an array of
String value at pos. |
Temporal |
getTemporal(String name)
Get a temporal value at
pos. |
UUID |
getUUID(String name)
Get
UUID value at pos. |
UUID[] |
getUUIDArray(String name)
Get an array of value at
pos. |
Object |
getValue(String name)
Get an object value at
pos. |
int |
hashCode() |
static Row |
newInstance(Row arg) |
String |
toString() |
addBigDecimal, addBoolean, addBooleanArray, addBox, addBoxArray, addBuffer, addCircle, addCircleArray, addDouble, addDoubleArray, addFloat, addFloatArray, addInteger, addIntegerArray, addInterval, addIntervalArray, addJson, addLine, addLineArray, addLineSegment, addLineSegmentArray, addLocalDate, addLocalDateArray, addLocalDateTime, addLocalDateTimeArray, addLocalTime, addLocalTimeArray, addLong, addLongArray, addNumeric, addNumericArray, addOffsetDateTime, addOffsetDateTimeArray, addOffsetTime, addOffsetTimeArray, addPath, addPathArray, addPoint, addPointArray, addPolygon, addPolygonArray, addShort, addShortArray, addString, addStringArray, addTemporal, addUUID, addUUIDArray, addValue, clear, getBigDecimal, getBoolean, getBooleanArray, getBox, getBoxArray, getBuffer, getCircle, getCircleArray, getDouble, getDoubleArray, getFloat, getFloatArray, getInteger, getIntegerArray, getInterval, getIntervalArray, getJson, getLine, getLineArray, getLineSegment, getLineSegmentArray, getLocalDate, getLocalDateArray, getLocalDateTime, getLocalDateTimeArray, getLocalTime, getLocalTimeArray, getLong, getLongArray, getNumeric, getNumericArray, getOffsetDateTime, getOffsetDateTimeArray, getOffsetTime, getOffsetTimeArray, getPath, getPathArray, getPoint, getPointArray, getPolygon, getPolygonArray, getShort, getShortArray, getString, getStringArray, getTemporal, getUUID, getUUIDArray, getValue, newInstance, of, of, of, of, of, of, size, tuplepublic static final io.vertx.lang.rx.TypeArg<Row> __TYPE_ARG
public Row(Row delegate)
public Row getDelegate()
getDelegate in class Tuplepublic String getColumnName(int pos)
pos.pos - the positionnullpublic Boolean getBoolean(String name)
pos.name - the columnnullpublic Object getValue(String name)
pos.name - the columnnullpublic Short getShort(String name)
pos.name - the columnnullpublic Integer getInteger(String name)
pos.name - the columnnullpublic Long getLong(String name)
pos.name - the columnnullpublic Float getFloat(String name)
pos.name - the columnnullpublic Double getDouble(String name)
pos.name - the columnnullpublic String getString(String name)
pos.name - the columnnullpublic Json getJson(String name)
pos.name - the columnnullpublic io.vertx.rxjava.core.buffer.Buffer getBuffer(String name)
pos.name - the columnnullpublic Point getPoint(String name)
pos.name - the columnnullpublic Line getLine(String name)
pos.name - the columnnullpublic LineSegment getLineSegment(String name)
pos.name - the columnnullpublic Box getBox(String name)
pos.name - the columnnullpublic Path getPath(String name)
pos.name - the columnnullpublic Polygon getPolygon(String name)
pos.name - the columnnullpublic Circle getCircle(String name)
pos.name - the columnnullpublic Interval getInterval(String name)
pos.name - the columnnullpublic Temporal getTemporal(String name)
pos.name - the columnnullpublic LocalDate getLocalDate(String name)
LocalDate value at pos.name - the columnnullpublic LocalTime getLocalTime(String name)
LocalTime value at pos.name - the columnnullpublic LocalDateTime getLocalDateTime(String name)
LocalDateTime value at pos.name - the columnnullpublic OffsetTime getOffsetTime(String name)
OffsetTime value at pos.name - the columnnullpublic OffsetDateTime getOffsetDateTime(String name)
OffsetDateTime value at pos.name - the columnnullpublic UUID getUUID(String name)
UUID value at pos.name - the columnnullpublic BigDecimal getBigDecimal(String name)
pos.name - the columnnullpublic Numeric getNumeric(String name)
pos.name - the columnnullpublic Integer[] getIntegerArray(String name)
Integer value at pos.name - the columnnullpublic Boolean[] getBooleanArray(String name)
Boolean value at pos.name - the columnnullpublic Short[] getShortArray(String name)
Short value at pos.name - the columnnullpublic Long[] getLongArray(String name)
Long value at pos.name - the columnnullpublic Float[] getFloatArray(String name)
Float value at pos.name - the columnnullpublic Double[] getDoubleArray(String name)
Double value at pos.name - the columnnullpublic String[] getStringArray(String name)
String value at pos.name - the columnnullpublic LocalDate[] getLocalDateArray(String name)
pos.name - the columnnullpublic LocalTime[] getLocalTimeArray(String name)
pos.name - the columnnullpublic OffsetTime[] getOffsetTimeArray(String name)
pos.name - the columnnullpublic LocalDateTime[] getLocalDateTimeArray(String name)
pos.name - the columnnullpublic OffsetDateTime[] getOffsetDateTimeArray(String name)
pos.name - the columnnullpublic UUID[] getUUIDArray(String name)
pos.name - the columnnullpublic Numeric[] getNumericArray(String name)
pos.name - the columnnullpublic Point[] getPointArray(String name)
pos.name - the columnnullpublic Line[] getLineArray(String name)
pos.name - the columnnullpublic LineSegment[] getLineSegmentArray(String name)
pos.name - the columnnullpublic Box[] getBoxArray(String name)
pos.name - the columnnullpublic Path[] getPathArray(String name)
pos.name - the columnnullpublic Polygon[] getPolygonArray(String name)
pos.name - the columnnullpublic Circle[] getCircleArray(String name)
pos.name - the columnnullpublic Interval[] getIntervalArray(String name)
pos.name - the columnnullCopyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/Tuple.html ================================================| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<Tuple> |
__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
addBigDecimal(BigDecimal value)
Add a value at the end of the tuple.
|
Tuple |
addBoolean(Boolean value)
Add a boolean value at the end of the tuple.
|
Tuple |
addBooleanArray(Boolean[] value)
Add an array of
Boolean value at the end of the tuple. |
Tuple |
addBox(Box value)
Add a value at the end of the tuple.
|
Tuple |
addBoxArray(Box[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addBuffer(io.vertx.rxjava.core.buffer.Buffer value)
Add a buffer value at the end of the tuple.
|
Tuple |
addCircle(Circle value)
Add a value at the end of the tuple.
|
Tuple |
addCircleArray(Circle[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addDouble(Double value)
Add a double value at the end of the tuple.
|
Tuple |
addDoubleArray(Double[] value)
Add an array of
Double value at the end of the tuple. |
Tuple |
addFloat(Float value)
Add a float value at the end of the tuple.
|
Tuple |
addFloatArray(Float[] value)
Add an array of
Float value at the end of the tuple. |
Tuple |
addInteger(Integer value)
Add an integer value at the end of the tuple.
|
Tuple |
addIntegerArray(Integer[] value)
Add an array of
Integer value at the end of the tuple. |
Tuple |
addInterval(Interval value)
Add a value at the end of the tuple.
|
Tuple |
addIntervalArray(Interval[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addJson(Json value)
Add a json value at the end of the tuple.
|
Tuple |
addLine(Line value)
Add a value at the end of the tuple.
|
Tuple |
addLineArray(Line[] value)
Add an array of
Line value at the end of the tuple. |
Tuple |
addLineSegment(LineSegment value)
Add a value at the end of the tuple.
|
Tuple |
addLineSegmentArray(LineSegment[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addLocalDate(LocalDate value)
Add a
LocalDate value at the end of the tuple. |
Tuple |
addLocalDateArray(LocalDate[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addLocalDateTime(LocalDateTime value)
Add a
LocalDateTime value at the end of the tuple. |
Tuple |
addLocalDateTimeArray(LocalDateTime[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addLocalTime(LocalTime value)
Add a
LocalTime value at the end of the tuple. |
Tuple |
addLocalTimeArray(LocalTime[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addLong(Long value)
Add a long value at the end of the tuple.
|
Tuple |
addLongArray(Long[] value)
Add an array of
Long value at the end of the tuple. |
Tuple |
addNumeric(Numeric value)
Add a value at the end of the tuple.
|
Tuple |
addNumericArray(Numeric[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addOffsetDateTime(OffsetDateTime value)
Add a
OffsetDateTime value at the end of the tuple. |
Tuple |
addOffsetDateTimeArray(OffsetDateTime[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addOffsetTime(OffsetTime value)
Add a
OffsetTime value at the end of the tuple. |
Tuple |
addOffsetTimeArray(OffsetTime[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addPath(Path value)
Add a value at the end of the tuple.
|
Tuple |
addPathArray(Path[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addPoint(Point value)
Add a value at the end of the tuple.
|
Tuple |
addPointArray(Point[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addPolygon(Polygon value)
Add a value at the end of the tuple.
|
Tuple |
addPolygonArray(Polygon[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addShort(Short value)
Add a short value at the end of the tuple.
|
Tuple |
addShortArray(Short[] value)
Add an array of
Short value at the end of the tuple. |
Tuple |
addString(String value)
Add a string value at the end of the tuple.
|
Tuple |
addStringArray(String[] value)
Add an array of
String value at the end of the tuple. |
Tuple |
addTemporal(Temporal value)
Add a
Temporal value at the end of the tuple. |
Tuple |
addUUID(UUID value)
Add a
UUID value at the end of the tuple. |
Tuple |
addUUIDArray(UUID[] value)
Add an array of value at the end of the tuple.
|
Tuple |
addValue(Object value)
Add an object value at the end of the tuple.
|
void |
clear() |
boolean |
equals(Object o) |
BigDecimal |
getBigDecimal(int pos)
Get value at
pos. |
Boolean |
getBoolean(int pos)
Get a boolean value at
pos. |
Boolean[] |
getBooleanArray(int pos)
Get an array of
Boolean value at pos. |
Box |
getBox(int pos)
Get value at
pos. |
Box[] |
getBoxArray(int pos)
Get an array of value at
pos. |
io.vertx.rxjava.core.buffer.Buffer |
getBuffer(int pos)
Get a buffer value at
pos. |
Circle |
getCircle(int pos)
Get value at
pos. |
Circle[] |
getCircleArray(int pos)
Get an array of value at
pos. |
Tuple |
getDelegate() |
Double |
getDouble(int pos)
Get a double value at
pos. |
Double[] |
getDoubleArray(int pos)
Get an array of
Double value at pos. |
Float |
getFloat(int pos)
Get a float value at
pos. |
Float[] |
getFloatArray(int pos)
Get an array of
Float value at pos. |
Integer |
getInteger(int pos)
Get an integer value at
pos. |
Integer[] |
getIntegerArray(int pos)
Get an array of
Integer value at pos. |
Interval |
getInterval(int pos)
Get value at
pos. |
Interval[] |
getIntervalArray(int pos)
Get an array of value at
pos. |
Json |
getJson(int pos)
Get a json value at
pos. |
Line |
getLine(int pos)
Get value at
pos. |
Line[] |
getLineArray(int pos)
Get an array of value at
pos. |
LineSegment |
getLineSegment(int pos)
Get value at
pos. |
LineSegment[] |
getLineSegmentArray(int pos)
Get an array of value at
pos. |
LocalDate |
getLocalDate(int pos)
Get
LocalDate value at pos. |
LocalDate[] |
getLocalDateArray(int pos)
Get an array of value at
pos. |
LocalDateTime |
getLocalDateTime(int pos)
Get
LocalDateTime value at pos. |
LocalDateTime[] |
getLocalDateTimeArray(int pos)
Get an array of value at
pos. |
LocalTime |
getLocalTime(int pos)
Get
LocalTime value at pos. |
LocalTime[] |
getLocalTimeArray(int pos)
Get an array of value at
pos. |
Long |
getLong(int pos)
Get a long value at
pos. |
Long[] |
getLongArray(int pos)
Get an array of
Long value at pos. |
Numeric |
getNumeric(int pos)
Get value at
pos. |
Numeric[] |
getNumericArray(int pos)
Get an array of value at
pos. |
OffsetDateTime |
getOffsetDateTime(int pos)
Get
OffsetDateTime value at pos. |
OffsetDateTime[] |
getOffsetDateTimeArray(int pos)
Get an array of value at
pos. |
OffsetTime |
getOffsetTime(int pos)
Get
OffsetTime value at pos. |
OffsetTime[] |
getOffsetTimeArray(int pos)
Get an array of value at
pos. |
Path |
getPath(int pos)
Get value at
pos. |
Path[] |
getPathArray(int pos)
Get an array of value at
pos. |
Point |
getPoint(int pos)
Get value at
pos. |
Point[] |
getPointArray(int pos)
Get an array of value at
pos. |
Polygon |
getPolygon(int pos)
Get value at
pos. |
Polygon[] |
getPolygonArray(int pos)
Get an array of value at
pos. |
Short |
getShort(int pos)
Get a short value at
pos. |
Short[] |
getShortArray(int pos)
Get an array of
Short value at pos. |
String |
getString(int pos)
Get a string value at
pos. |
String[] |
getStringArray(int pos)
Get an array of
String value at pos. |
Temporal |
getTemporal(int pos)
Get a
Temporal value at pos. |
UUID |
getUUID(int pos)
Get
UUID value at pos. |
UUID[] |
getUUIDArray(int pos)
Get an array of value at
pos. |
Object |
getValue(int pos)
Get an object value at
pos. |
int |
hashCode() |
static Tuple |
newInstance(Tuple arg) |
static Tuple |
of(Object elt1)
Create a tuple of one element.
|
static Tuple |
of(Object elt1,
Object elt2)
Create a tuple of two elements.
|
static Tuple |
of(Object elt1,
Object elt2,
Object elt3)
Create a tuple of three elements.
|
static Tuple |
of(Object elt1,
Object elt2,
Object elt3,
Object elt4)
Create a tuple of four elements.
|
static Tuple |
of(Object elt1,
Object elt2,
Object elt3,
Object elt4,
Object elt5)
Create a tuple of five elements.
|
static Tuple |
of(Object elt1,
Object elt2,
Object elt3,
Object elt4,
Object elt5,
Object elt6)
Create a tuple of six elements.
|
int |
size() |
String |
toString() |
static Tuple |
tuple() |
public static final io.vertx.lang.rx.TypeArg<Tuple> __TYPE_ARG
public Tuple(Tuple delegate)
public Tuple getDelegate()
public static Tuple tuple()
public static Tuple of(Object elt1)
elt1 - the first valuepublic static Tuple of(Object elt1, Object elt2)
elt1 - the first valueelt2 - the second valuepublic static Tuple of(Object elt1, Object elt2, Object elt3)
elt1 - the first valueelt2 - the second valueelt3 - the third valuepublic static Tuple of(Object elt1, Object elt2, Object elt3, Object elt4)
elt1 - the first valueelt2 - the second valueelt3 - the third valueelt4 - the fourth valuepublic static Tuple of(Object elt1, Object elt2, Object elt3, Object elt4, Object elt5)
elt1 - the first valueelt2 - the second valueelt3 - the third valueelt4 - the fourth valueelt5 - the fifth valuepublic static Tuple of(Object elt1, Object elt2, Object elt3, Object elt4, Object elt5, Object elt6)
elt1 - the first valueelt2 - the second valuegelt3 - the third valueelt4 - the fourth valueelt5 - the fifth valueelt6 - the sixth valuepublic Boolean getBoolean(int pos)
pos.pos - the positionnullpublic Object getValue(int pos)
pos.pos - the positionnullpublic Short getShort(int pos)
pos.pos - the positionnullpublic Integer getInteger(int pos)
pos.pos - the positionnullpublic Long getLong(int pos)
pos.pos - the positionnullpublic Float getFloat(int pos)
pos.pos - the positionnullpublic Double getDouble(int pos)
pos.pos - the positionnullpublic String getString(int pos)
pos.pos - the positionnullpublic Json getJson(int pos)
pos.pos - the positionnullpublic Point getPoint(int pos)
pos.pos - the positionnullpublic Line getLine(int pos)
pos.pos - the positionnullpublic LineSegment getLineSegment(int pos)
pos.pos - the positionnullpublic Box getBox(int pos)
pos.pos - the positionnullpublic Path getPath(int pos)
pos.pos - the positionnullpublic Polygon getPolygon(int pos)
pos.pos - the positionnullpublic Circle getCircle(int pos)
pos.pos - the positionnullpublic Interval getInterval(int pos)
pos.pos - the positionnullpublic io.vertx.rxjava.core.buffer.Buffer getBuffer(int pos)
pos.pos - the positionnullpublic Tuple addBoolean(Boolean value)
value - the valuepublic Tuple addValue(Object value)
value - the valuepublic Tuple addShort(Short value)
value - the valuepublic Tuple addInteger(Integer value)
value - the valuepublic Tuple addLong(Long value)
value - the valuepublic Tuple addFloat(Float value)
value - the valuepublic Tuple addDouble(Double value)
value - the valuepublic Tuple addString(String value)
value - the valuepublic Tuple addJson(Json value)
value - the valuepublic Tuple addBuffer(io.vertx.rxjava.core.buffer.Buffer value)
value - the valuepublic Tuple addPoint(Point value)
value - the valuepublic Tuple addLine(Line value)
value - the valuepublic Tuple addLineSegment(LineSegment value)
value - the valuepublic Tuple addBox(Box value)
value - the valuepublic Tuple addPath(Path value)
value - the valuepublic Tuple addPolygon(Polygon value)
value - the valuepublic Tuple addCircle(Circle value)
value - the valuepublic Tuple addInterval(Interval value)
value - the valuepublic int size()
public void clear()
public Temporal getTemporal(int pos)
Temporal value at pos.pos - the positionnullpublic LocalDate getLocalDate(int pos)
LocalDate value at pos.pos - the positionnullpublic LocalTime getLocalTime(int pos)
LocalTime value at pos.pos - the positionnullpublic LocalDateTime getLocalDateTime(int pos)
LocalDateTime value at pos.pos - the positionnullpublic OffsetTime getOffsetTime(int pos)
OffsetTime value at pos.pos - the positionnullpublic OffsetDateTime getOffsetDateTime(int pos)
OffsetDateTime value at pos.pos - the positionnullpublic UUID getUUID(int pos)
UUID value at pos.pos - the positionnullpublic BigDecimal getBigDecimal(int pos)
pos.pos - the positionnullpublic Integer[] getIntegerArray(int pos)
Integer value at pos.pos - the positionnullpublic Boolean[] getBooleanArray(int pos)
Boolean value at pos.pos - the positionnullpublic Short[] getShortArray(int pos)
Short value at pos.pos - the positionnullpublic Long[] getLongArray(int pos)
Long value at pos.pos - the positionnullpublic Float[] getFloatArray(int pos)
Float value at pos.pos - the positionnullpublic Double[] getDoubleArray(int pos)
Double value at pos.pos - the positionnullpublic String[] getStringArray(int pos)
String value at pos.pos - the positionnullpublic LocalDate[] getLocalDateArray(int pos)
pos.pos - the positionnullpublic LocalTime[] getLocalTimeArray(int pos)
pos.pos - the positionnullpublic OffsetTime[] getOffsetTimeArray(int pos)
pos.pos - the positionnullpublic LocalDateTime[] getLocalDateTimeArray(int pos)
pos.pos - the positionnullpublic OffsetDateTime[] getOffsetDateTimeArray(int pos)
pos.pos - the positionnullpublic UUID[] getUUIDArray(int pos)
pos.pos - the columnnullpublic Numeric[] getNumericArray(int pos)
pos.pos - the columnnullpublic Point[] getPointArray(int pos)
pos.pos - the columnnullpublic Line[] getLineArray(int pos)
pos.pos - the columnnullpublic LineSegment[] getLineSegmentArray(int pos)
pos.pos - the columnnullpublic Box[] getBoxArray(int pos)
pos.pos - the columnnullpublic Path[] getPathArray(int pos)
pos.pos - the columnnullpublic Polygon[] getPolygonArray(int pos)
pos.pos - the columnnullpublic Circle[] getCircleArray(int pos)
pos.pos - the columnnullpublic Interval[] getIntervalArray(int pos)
pos.pos - the columnnullpublic Numeric getNumeric(int pos)
pos.pos - the positionnullpublic Tuple addTemporal(Temporal value)
Temporal value at the end of the tuple.value - the valuepublic Tuple addLocalDate(LocalDate value)
LocalDate value at the end of the tuple.value - the valuepublic Tuple addLocalTime(LocalTime value)
LocalTime value at the end of the tuple.value - the valuepublic Tuple addLocalDateTime(LocalDateTime value)
LocalDateTime value at the end of the tuple.value - the valuepublic Tuple addOffsetTime(OffsetTime value)
OffsetTime value at the end of the tuple.value - the valuepublic Tuple addOffsetDateTime(OffsetDateTime value)
OffsetDateTime value at the end of the tuple.value - the valuepublic Tuple addUUID(UUID value)
UUID value at the end of the tuple.value - the valuepublic Tuple addNumeric(Numeric value)
value - the valuepublic Tuple addBigDecimal(BigDecimal value)
value - the valuepublic Tuple addIntegerArray(Integer[] value)
Integer value at the end of the tuple.value - the valuepublic Tuple addBooleanArray(Boolean[] value)
Boolean value at the end of the tuple.value - the valuepublic Tuple addShortArray(Short[] value)
Short value at the end of the tuple.value - the valuepublic Tuple addLongArray(Long[] value)
Long value at the end of the tuple.value - the valuepublic Tuple addFloatArray(Float[] value)
Float value at the end of the tuple.value - the valuepublic Tuple addDoubleArray(Double[] value)
Double value at the end of the tuple.value - the valuepublic Tuple addStringArray(String[] value)
String value at the end of the tuple.value - the valuepublic Tuple addLocalDateArray(LocalDate[] value)
value - the valuepublic Tuple addLocalTimeArray(LocalTime[] value)
value - the valuepublic Tuple addOffsetTimeArray(OffsetTime[] value)
value - the valuepublic Tuple addLocalDateTimeArray(LocalDateTime[] value)
value - the valuepublic Tuple addOffsetDateTimeArray(OffsetDateTime[] value)
value - the valuepublic Tuple addUUIDArray(UUID[] value)
value - the valuepublic Tuple addNumericArray(Numeric[] value)
value - the valuepublic Tuple addPointArray(Point[] value)
value - the valuepublic Tuple addLineArray(Line[] value)
Line value at the end of the tuple.value - the valuepublic Tuple addLineSegmentArray(LineSegment[] value)
value - the valuepublic Tuple addBoxArray(Box[] value)
value - the valuepublic Tuple addPathArray(Path[] value)
value - the valuepublic Tuple addPolygonArray(Polygon[] value)
value - the valuepublic Tuple addCircleArray(Circle[] value)
value - the valuepublic Tuple addIntervalArray(Interval[] value)
value - the valueCopyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/class-use/Json.html ================================================| Package | Description |
|---|---|
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rxjava.TypeArg<Json> |
Json.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
static Json |
Json.create(Object value) |
Json |
Tuple.getJson(int pos)
Get a json value at
pos. |
Json |
Row.getJson(String name)
Get a json value at
pos. |
static Json |
Json.newInstance(Json arg) |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addJson(Json value)
Add a json value at the end of the tuple.
|
Copyright © 2018 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/class-use/PgClient.html ================================================| Package | Description |
|---|---|
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Class and Description |
|---|---|
class |
PgConnection
A connection to Postgres.
|
class |
PgPool
A pool of connection.
|
class |
PgTransaction
A transaction that allows to control the transaction and receive events.
|
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgClient> |
PgClient.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
static PgClient |
PgClient.newInstance(PgClient arg) |
PgClient |
PgClient.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a createBatch.
|
PgClient |
PgClient.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgClient |
PgClient.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgClient |
PgClient.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a simple query.
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/class-use/PgConnection.html ================================================| Package | Description |
|---|---|
| io.reactiverse.rxjava.pgclient | |
| io.reactiverse.rxjava.pgclient.pubsub |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgConnection> |
PgConnection.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
PgConnection |
PgConnection.cancelRequest(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Send a request cancellation message to tell the server to cancel processing request in this connection.
|
PgConnection |
PgConnection.closeHandler(io.vertx.core.Handler<Void> handler)
Set an handler called when the connection is closed.
|
PgConnection |
PgConnection.exceptionHandler(io.vertx.core.Handler<Throwable> handler)
Set an handler called with connection errors.
|
static PgConnection |
PgConnection.newInstance(PgConnection arg) |
PgConnection |
PgConnection.notificationHandler(io.vertx.core.Handler<PgNotification> handler)
Set an handler called when the connection receives notification on a channel.
|
PgConnection |
PgConnection.prepare(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgPreparedQuery>> handler)
Create a prepared query.
|
PgConnection |
PgConnection.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgConnection |
PgConnection.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgConnection |
PgConnection.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgConnection |
PgConnection.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
| Modifier and Type | Method and Description |
|---|---|
static Single<PgConnection> |
PgClient.rxConnect(io.vertx.rxjava.core.Vertx vertx)
Like
PgClient.connect(io.vertx.rxjava.core.Vertx, io.reactiverse.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.rxjava.pgclient.PgConnection>>) with options build from the environment variables. |
static Single<PgConnection> |
PgClient.rxConnect(io.vertx.rxjava.core.Vertx vertx,
PgConnectOptions options)
Connects to the database and returns the connection if that succeeds.
|
static Single<PgConnection> |
PgClient.rxConnect(io.vertx.rxjava.core.Vertx vertx,
String connectionUri)
|
Single<PgConnection> |
PgPool.rxGetConnection()
Get a connection from the pool.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
PgClient.connect(io.vertx.rxjava.core.Vertx vertx,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Like
PgClient.connect(io.vertx.rxjava.core.Vertx, io.reactiverse.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.rxjava.pgclient.PgConnection>>) with options build from the environment variables. |
static void |
PgClient.connect(io.vertx.rxjava.core.Vertx vertx,
PgConnectOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Connects to the database and returns the connection if that succeeds.
|
static void |
PgClient.connect(io.vertx.rxjava.core.Vertx vertx,
String connectionUri,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
|
void |
PgPool.getConnection(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Get a connection from the pool.
|
| Modifier and Type | Method and Description |
|---|---|
PgConnection |
PgSubscriber.actualConnection() |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/class-use/PgCursor.html ================================================| Package | Description |
|---|---|
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgCursor> |
PgCursor.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
PgCursor |
PgPreparedQuery.cursor() |
PgCursor |
PgPreparedQuery.cursor(Tuple args)
Create a cursor with the provided
arguments. |
static PgCursor |
PgCursor.newInstance(PgCursor arg) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/class-use/PgIterator.html ================================================| Package | Description |
|---|---|
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgIterator> |
PgIterator.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
PgIterator |
PgRowSet.iterator() |
static PgIterator |
PgIterator.newInstance(PgIterator arg) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/class-use/PgPool.html ================================================| Package | Description |
|---|---|
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgPool> |
PgPool.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
static PgPool |
PgPool.newInstance(PgPool arg) |
static PgPool |
PgClient.pool()
Like
PgClient.pool() with options build from the environment variables. |
static PgPool |
PgClient.pool(PgPoolOptions options)
Create a connection pool to the database configured with the given
options. |
static PgPool |
PgClient.pool(String connectionUri)
Like
PgClient.pool() with options build from connectionUri. |
static PgPool |
PgClient.pool(io.vertx.rxjava.core.Vertx vertx)
Like
PgClient.pool() with options build from the environment variables. |
static PgPool |
PgClient.pool(io.vertx.rxjava.core.Vertx vertx,
PgPoolOptions options)
Like
PgClient.pool() with a specific instance. |
static PgPool |
PgClient.pool(io.vertx.rxjava.core.Vertx vertx,
String connectionUri)
Like
PgClient.pool() with options build from connectionUri. |
PgPool |
PgPool.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgPool |
PgPool.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgPool |
PgPool.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgPool |
PgPool.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/class-use/PgPreparedQuery.html ================================================| Package | Description |
|---|---|
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgPreparedQuery> |
PgPreparedQuery.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
PgPreparedQuery |
PgPreparedQuery.batch(List<Tuple> argsList,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a batch.
|
PgPreparedQuery |
PgPreparedQuery.execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Calls
execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.rxjava.pgclient.PgRowSet>>) with an empty tuple argument. |
PgPreparedQuery |
PgPreparedQuery.execute(Tuple args,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Create a cursor with the provided
arguments. |
static PgPreparedQuery |
PgPreparedQuery.newInstance(PgPreparedQuery arg) |
| Modifier and Type | Method and Description |
|---|---|
Single<PgPreparedQuery> |
PgConnection.rxPrepare(String sql)
Create a prepared query.
|
Single<PgPreparedQuery> |
PgTransaction.rxPrepare(String sql)
Create a prepared query.
|
| Modifier and Type | Method and Description |
|---|---|
PgConnection |
PgConnection.prepare(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgPreparedQuery>> handler)
Create a prepared query.
|
PgTransaction |
PgTransaction.prepare(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgPreparedQuery>> handler)
Create a prepared query.
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/class-use/PgResult.html ================================================| Package | Description |
|---|---|
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Class and Description |
|---|---|
class |
PgRowSet
A set of rows.
|
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgResult> |
PgResult.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
static <T> PgResult<T> |
PgResult.newInstance(PgResult arg) |
static <T> PgResult<T> |
PgResult.newInstance(PgResult arg,
io.vertx.lang.rx.TypeArg<T> __typeArg_T) |
PgResult<T> |
PgResult.next()
Return the next available result or
null, e.g for a simple query that executed multiple queries or for
a batch result. |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/class-use/PgRowSet.html ================================================| Package | Description |
|---|---|
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgRowSet> |
PgRowSet.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
static PgRowSet |
PgRowSet.newInstance(PgRowSet arg) |
PgRowSet |
PgRowSet.next() |
PgRowSet |
PgRowSet.value()
Get the result value.
|
| Modifier and Type | Method and Description |
|---|---|
Single<PgRowSet> |
PgPreparedQuery.rxBatch(List<Tuple> argsList)
Execute a batch.
|
Single<PgRowSet> |
PgPreparedQuery.rxExecute()
Calls
PgPreparedQuery.execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.rxjava.pgclient.PgRowSet>>) with an empty tuple argument. |
Single<PgRowSet> |
PgPreparedQuery.rxExecute(Tuple args)
Create a cursor with the provided
arguments. |
Single<PgRowSet> |
PgClient.rxPreparedBatch(String sql,
List<Tuple> batch)
Prepare and execute a createBatch.
|
Single<PgRowSet> |
PgConnection.rxPreparedBatch(String sql,
List<Tuple> batch) |
Single<PgRowSet> |
PgTransaction.rxPreparedBatch(String sql,
List<Tuple> batch) |
Single<PgRowSet> |
PgPool.rxPreparedBatch(String sql,
List<Tuple> batch) |
Single<PgRowSet> |
PgClient.rxPreparedQuery(String sql)
Prepare and execute a query.
|
Single<PgRowSet> |
PgConnection.rxPreparedQuery(String sql) |
Single<PgRowSet> |
PgTransaction.rxPreparedQuery(String sql) |
Single<PgRowSet> |
PgPool.rxPreparedQuery(String sql) |
Single<PgRowSet> |
PgClient.rxPreparedQuery(String sql,
Tuple arguments)
Prepare and execute a query.
|
Single<PgRowSet> |
PgConnection.rxPreparedQuery(String sql,
Tuple arguments) |
Single<PgRowSet> |
PgTransaction.rxPreparedQuery(String sql,
Tuple arguments) |
Single<PgRowSet> |
PgPool.rxPreparedQuery(String sql,
Tuple arguments) |
Single<PgRowSet> |
PgClient.rxQuery(String sql)
Execute a simple query.
|
Single<PgRowSet> |
PgConnection.rxQuery(String sql) |
Single<PgRowSet> |
PgTransaction.rxQuery(String sql) |
Single<PgRowSet> |
PgPool.rxQuery(String sql) |
Single<PgRowSet> |
PgCursor.rxRead(int count)
Read rows from the cursor, the result is provided asynchronously to the
handler. |
| Modifier and Type | Method and Description |
|---|---|
PgPreparedQuery |
PgPreparedQuery.batch(List<Tuple> argsList,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a batch.
|
PgPreparedQuery |
PgPreparedQuery.execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Calls
PgPreparedQuery.execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.rxjava.pgclient.PgRowSet>>) with an empty tuple argument. |
PgPreparedQuery |
PgPreparedQuery.execute(Tuple args,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Create a cursor with the provided
arguments. |
PgClient |
PgClient.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a createBatch.
|
PgConnection |
PgConnection.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgPool |
PgPool.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgClient |
PgClient.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgConnection |
PgConnection.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgPool |
PgPool.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgClient |
PgClient.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgConnection |
PgConnection.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgPool |
PgPool.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgClient |
PgClient.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a simple query.
|
PgConnection |
PgConnection.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgPool |
PgPool.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
void |
PgCursor.read(int count,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Read rows from the cursor, the result is provided asynchronously to the
handler. |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/class-use/PgStream.html ================================================| Package | Description |
|---|---|
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgStream> |
PgStream.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
PgStream<Row> |
PgPreparedQuery.createStream(int fetch,
Tuple args)
Execute the prepared query with a cursor and createStream the result.
|
PgStream<T> |
PgStream.endHandler(io.vertx.core.Handler<Void> endHandler) |
PgStream<T> |
PgStream.exceptionHandler(io.vertx.core.Handler<Throwable> handler) |
PgStream<T> |
PgStream.handler(io.vertx.core.Handler<T> handler) |
static <T> PgStream<T> |
PgStream.newInstance(PgStream arg) |
static <T> PgStream<T> |
PgStream.newInstance(PgStream arg,
io.vertx.lang.rx.TypeArg<T> __typeArg_T) |
PgStream<T> |
PgStream.pause() |
PgStream<T> |
PgStream.resume() |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/class-use/PgTransaction.html ================================================| Package | Description |
|---|---|
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgTransaction> |
PgTransaction.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
PgTransaction |
PgTransaction.abortHandler(io.vertx.core.Handler<Void> handler)
Set an handler to be called when the transaction is aborted.
|
PgTransaction |
PgConnection.begin()
Begin a transaction and returns a
PgTransaction for controlling and tracking
this transaction. |
static PgTransaction |
PgTransaction.newInstance(PgTransaction arg) |
PgTransaction |
PgTransaction.prepare(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgPreparedQuery>> handler)
Create a prepared query.
|
PgTransaction |
PgTransaction.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
| Modifier and Type | Method and Description |
|---|---|
Single<PgTransaction> |
PgPool.rxBegin()
Borrow a connection from the pool and begin a transaction, the underlying connection will be returned
to the pool when the transaction ends.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PgPool.begin(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgTransaction>> handler)
Borrow a connection from the pool and begin a transaction, the underlying connection will be returned
to the pool when the transaction ends.
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/class-use/Row.html ================================================| Package | Description |
|---|---|
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<Row> |
Row.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
static Row |
Row.newInstance(Row arg) |
Row |
PgIterator.next() |
| Modifier and Type | Method and Description |
|---|---|
PgStream<Row> |
PgPreparedQuery.createStream(int fetch,
Tuple args)
Execute the prepared query with a cursor and createStream the result.
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/class-use/Tuple.html ================================================| Package | Description |
|---|---|
| io.reactiverse.rxjava.pgclient |
| Modifier and Type | Class and Description |
|---|---|
class |
Row |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<Tuple> |
Tuple.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addBigDecimal(BigDecimal value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addBoolean(Boolean value)
Add a boolean value at the end of the tuple.
|
Tuple |
Tuple.addBooleanArray(Boolean[] value)
Add an array of
Boolean value at the end of the tuple. |
Tuple |
Tuple.addBox(Box value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addBoxArray(Box[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addBuffer(io.vertx.rxjava.core.buffer.Buffer value)
Add a buffer value at the end of the tuple.
|
Tuple |
Tuple.addCircle(Circle value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addCircleArray(Circle[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addDouble(Double value)
Add a double value at the end of the tuple.
|
Tuple |
Tuple.addDoubleArray(Double[] value)
Add an array of
Double value at the end of the tuple. |
Tuple |
Tuple.addFloat(Float value)
Add a float value at the end of the tuple.
|
Tuple |
Tuple.addFloatArray(Float[] value)
Add an array of
Float value at the end of the tuple. |
Tuple |
Tuple.addInteger(Integer value)
Add an integer value at the end of the tuple.
|
Tuple |
Tuple.addIntegerArray(Integer[] value)
Add an array of
Integer value at the end of the tuple. |
Tuple |
Tuple.addInterval(Interval value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addIntervalArray(Interval[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addJson(Json value)
Add a json value at the end of the tuple.
|
Tuple |
Tuple.addLine(Line value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addLineArray(Line[] value)
Add an array of
Line value at the end of the tuple. |
Tuple |
Tuple.addLineSegment(LineSegment value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addLineSegmentArray(LineSegment[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addLocalDate(LocalDate value)
Add a
LocalDate value at the end of the tuple. |
Tuple |
Tuple.addLocalDateArray(LocalDate[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addLocalDateTime(LocalDateTime value)
Add a
LocalDateTime value at the end of the tuple. |
Tuple |
Tuple.addLocalDateTimeArray(LocalDateTime[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addLocalTime(LocalTime value)
Add a
LocalTime value at the end of the tuple. |
Tuple |
Tuple.addLocalTimeArray(LocalTime[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addLong(Long value)
Add a long value at the end of the tuple.
|
Tuple |
Tuple.addLongArray(Long[] value)
Add an array of
Long value at the end of the tuple. |
Tuple |
Tuple.addNumeric(Numeric value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addNumericArray(Numeric[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addOffsetDateTime(OffsetDateTime value)
Add a
OffsetDateTime value at the end of the tuple. |
Tuple |
Tuple.addOffsetDateTimeArray(OffsetDateTime[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addOffsetTime(OffsetTime value)
Add a
OffsetTime value at the end of the tuple. |
Tuple |
Tuple.addOffsetTimeArray(OffsetTime[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addPath(Path value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addPathArray(Path[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addPoint(Point value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addPointArray(Point[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addPolygon(Polygon value)
Add a value at the end of the tuple.
|
Tuple |
Tuple.addPolygonArray(Polygon[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addShort(Short value)
Add a short value at the end of the tuple.
|
Tuple |
Tuple.addShortArray(Short[] value)
Add an array of
Short value at the end of the tuple. |
Tuple |
Tuple.addString(String value)
Add a string value at the end of the tuple.
|
Tuple |
Tuple.addStringArray(String[] value)
Add an array of
String value at the end of the tuple. |
Tuple |
Tuple.addTemporal(Temporal value)
Add a
Temporal value at the end of the tuple. |
Tuple |
Tuple.addUUID(UUID value)
Add a
UUID value at the end of the tuple. |
Tuple |
Tuple.addUUIDArray(UUID[] value)
Add an array of value at the end of the tuple.
|
Tuple |
Tuple.addValue(Object value)
Add an object value at the end of the tuple.
|
static Tuple |
Tuple.newInstance(Tuple arg) |
static Tuple |
Tuple.of(Object elt1)
Create a tuple of one element.
|
static Tuple |
Tuple.of(Object elt1,
Object elt2)
Create a tuple of two elements.
|
static Tuple |
Tuple.of(Object elt1,
Object elt2,
Object elt3)
Create a tuple of three elements.
|
static Tuple |
Tuple.of(Object elt1,
Object elt2,
Object elt3,
Object elt4)
Create a tuple of four elements.
|
static Tuple |
Tuple.of(Object elt1,
Object elt2,
Object elt3,
Object elt4,
Object elt5)
Create a tuple of five elements.
|
static Tuple |
Tuple.of(Object elt1,
Object elt2,
Object elt3,
Object elt4,
Object elt5,
Object elt6)
Create a tuple of six elements.
|
static Tuple |
Tuple.tuple() |
| Modifier and Type | Method and Description |
|---|---|
PgStream<Row> |
PgPreparedQuery.createStream(int fetch,
Tuple args)
Execute the prepared query with a cursor and createStream the result.
|
PgCursor |
PgPreparedQuery.cursor(Tuple args)
Create a cursor with the provided
arguments. |
PgPreparedQuery |
PgPreparedQuery.execute(Tuple args,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Create a cursor with the provided
arguments. |
PgClient |
PgClient.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a query.
|
PgConnection |
PgConnection.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgPool |
PgPool.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
Single<PgRowSet> |
PgPreparedQuery.rxExecute(Tuple args)
Create a cursor with the provided
arguments. |
Single<PgRowSet> |
PgClient.rxPreparedQuery(String sql,
Tuple arguments)
Prepare and execute a query.
|
Single<PgRowSet> |
PgConnection.rxPreparedQuery(String sql,
Tuple arguments) |
Single<PgRowSet> |
PgTransaction.rxPreparedQuery(String sql,
Tuple arguments) |
Single<PgRowSet> |
PgPool.rxPreparedQuery(String sql,
Tuple arguments) |
| Modifier and Type | Method and Description |
|---|---|
PgPreparedQuery |
PgPreparedQuery.batch(List<Tuple> argsList,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Execute a batch.
|
PgClient |
PgClient.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Prepare and execute a createBatch.
|
PgConnection |
PgConnection.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgPool |
PgPool.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
Single<PgRowSet> |
PgPreparedQuery.rxBatch(List<Tuple> argsList)
Execute a batch.
|
Single<PgRowSet> |
PgClient.rxPreparedBatch(String sql,
List<Tuple> batch)
Prepare and execute a createBatch.
|
Single<PgRowSet> |
PgConnection.rxPreparedBatch(String sql,
List<Tuple> batch) |
Single<PgRowSet> |
PgTransaction.rxPreparedBatch(String sql,
List<Tuple> batch) |
Single<PgRowSet> |
PgPool.rxPreparedBatch(String sql,
List<Tuple> batch) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/data/Json.html ================================================public class Json extends Object
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<Json> |
__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
static Json |
create(Object value) |
boolean |
equals(Object o) |
Json |
getDelegate() |
int |
hashCode() |
static Json |
newInstance(Json arg) |
String |
toString() |
Object |
value() |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/data/class-use/Json.html ================================================| Package | Description |
|---|---|
| io.reactiverse.rxjava.pgclient | |
| io.reactiverse.rxjava.pgclient.data |
| Modifier and Type | Method and Description |
|---|---|
Json |
Tuple.getJson(int pos)
Get a json value at
pos. |
Json |
Row.getJson(String name)
Get a json value at
pos. |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
Tuple.addJson(Json value)
Add a json value at the end of the tuple.
|
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<Json> |
Json.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
static Json |
Json.create(Object value) |
static Json |
Json.newInstance(Json arg) |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/data/package-frame.html ================================================| Class | Description |
|---|---|
| Json |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/data/package-tree.html ================================================Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/data/package-use.html ================================================| Package | Description |
|---|---|
| io.reactiverse.rxjava.pgclient | |
| io.reactiverse.rxjava.pgclient.data |
| Class and Description |
|---|
| Json |
| Class and Description |
|---|
| Json |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/package-frame.html ================================================| Class | Description |
|---|---|
| PgClient |
Defines the client operations with a Postgres Database.
|
| PgConnection |
A connection to Postgres.
|
| PgCursor |
A cursor that reads progressively the rows from Postgres, it is usefull for reading very large result.
|
| PgIterator |
An iterator for processing postgres items synchronously.
|
| PgPool |
A pool of connection.
|
| PgPreparedQuery |
A prepared query.
|
| PgResult<T> |
Represents the result of an operation on database.
|
| PgRowSet |
A set of rows.
|
| PgStream<T> |
A row oriented stream.
|
| PgTransaction |
A transaction that allows to control the transaction and receive events.
|
| Row | |
| Tuple |
A general purpose tuple.
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/package-tree.html ================================================Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/package-use.html ================================================| Package | Description |
|---|---|
| io.reactiverse.rxjava.pgclient | |
| io.reactiverse.rxjava.pgclient.pubsub |
| Class and Description |
|---|
| PgClient
Defines the client operations with a Postgres Database.
|
| PgConnection
A connection to Postgres.
|
| PgCursor
A cursor that reads progressively the rows from Postgres, it is usefull for reading very large result.
|
| PgIterator
An iterator for processing postgres items synchronously.
|
| PgPool
A pool of connection.
|
| PgPreparedQuery
A prepared query.
|
| PgResult
Represents the result of an operation on database.
|
| PgRowSet
A set of rows.
|
| PgStream
A row oriented stream.
|
| PgTransaction
A transaction that allows to control the transaction and receive events.
|
| Row |
| Tuple
A general purpose tuple.
|
| Class and Description |
|---|
| PgConnection
A connection to Postgres.
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/pubsub/PgChannel.html ================================================public class PgChannel extends Object implements io.vertx.rxjava.core.streams.ReadStream<String>
LISTEN/UNLISTEN commands.
When paused the channel discards the messages.
NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgChannel> |
__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
PgChannel |
endHandler(io.vertx.core.Handler<Void> endHandler)
Set an handler to be called when no more notifications will be received.
|
boolean |
equals(Object o) |
PgChannel |
exceptionHandler(io.vertx.core.Handler<Throwable> handler) |
io.vertx.rxjava.core.streams.ReadStream<String> |
fetch(long arg0) |
PgChannel |
getDelegate() |
PgChannel |
handler(io.vertx.core.Handler<String> handler)
Set or unset an handler to be called when a the channel is notified by Postgres.
|
int |
hashCode() |
static PgChannel |
newInstance(PgChannel arg) |
PgChannel |
pause()
Pause the channel, all notifications are discarded.
|
PgChannel |
resume()
Resume the channel.
|
PgChannel |
subscribeHandler(io.vertx.core.Handler<Void> handler)
Set an handler called when the the channel get subscribed.
|
Observable<String> |
toObservable() |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<PgChannel> __TYPE_ARG
public PgChannel(PgChannel delegate)
public PgChannel getDelegate()
getDelegate in interface io.vertx.rxjava.core.streams.ReadStream<String>getDelegate in interface io.vertx.rxjava.core.streams.StreamBasepublic Observable<String> toObservable()
toObservable in interface io.vertx.rxjava.core.streams.ReadStream<String>public io.vertx.rxjava.core.streams.ReadStream<String> fetch(long arg0)
fetch in interface io.vertx.rxjava.core.streams.ReadStream<String>public PgChannel subscribeHandler(io.vertx.core.Handler<Void> handler)
handler - the handlerpublic PgChannel handler(io.vertx.core.Handler<String> handler)
LISTEN command if neededUNLISTEN command if neededhandler in interface io.vertx.rxjava.core.streams.ReadStream<String>handler - the handlerpublic PgChannel pause()
pause in interface io.vertx.rxjava.core.streams.ReadStream<String>public PgChannel resume()
resume in interface io.vertx.rxjava.core.streams.ReadStream<String>public PgChannel endHandler(io.vertx.core.Handler<Void> endHandler)
endHandler in interface io.vertx.rxjava.core.streams.ReadStream<String>endHandler - the handlerpublic PgChannel exceptionHandler(io.vertx.core.Handler<Throwable> handler)
exceptionHandler in interface io.vertx.rxjava.core.streams.ReadStream<String>exceptionHandler in interface io.vertx.rxjava.core.streams.StreamBaseCopyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/pubsub/PgSubscriber.html ================================================| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgSubscriber> |
__TYPE_ARG |
| Constructor and Description |
|---|
PgSubscriber(PgSubscriber delegate) |
| Modifier and Type | Method and Description |
|---|---|
PgConnection |
actualConnection() |
PgChannel |
channel(String name)
Return a channel for the given
name. |
void |
close()
Close the subscriber, the retry policy will not be invoked.
|
boolean |
closed() |
PgSubscriber |
closeHandler(io.vertx.core.Handler<Void> handler)
Set an handler called when the subscriber is closed.
|
PgSubscriber |
connect(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Connect the subscriber to Postgres.
|
boolean |
equals(Object o) |
PgSubscriber |
getDelegate() |
int |
hashCode() |
static PgSubscriber |
newInstance(PgSubscriber arg) |
PgSubscriber |
reconnectPolicy(Function<Integer,Long> policy)
Set the reconnect policy that is executed when the subscriber is disconnected.
|
Single<Void> |
rxConnect()
Connect the subscriber to Postgres.
|
static PgSubscriber |
subscriber(io.vertx.rxjava.core.Vertx vertx,
PgConnectOptions options)
Create a subscriber.
|
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<PgSubscriber> __TYPE_ARG
public PgSubscriber(PgSubscriber delegate)
public PgSubscriber getDelegate()
public static PgSubscriber subscriber(io.vertx.rxjava.core.Vertx vertx, PgConnectOptions options)
vertx - the vertx instanceoptions - the connect optionspublic PgChannel channel(String name)
name.name - the channel name This will be the name of the channel exactly as held by Postgres for sending notifications. Internally this name will be truncated to the Postgres identifier maxiumum length of (NAMEDATALEN = 64) - 1 == 63 characters, and prepared as a quoted identifier without unicode escape sequence support for use in LISTEN/UNLISTEN commands. Examples of channel names and corresponding NOTIFY commands: name == "the_channel": NOTIFY the_channel, 'msg', NOTIFY The_Channel, 'msg', or NOTIFY "the_channel", 'msg' succeed in delivering a message to the created channel name == "The_Channel": NOTIFY "The_Channel", 'msg', succeeds in delivering a message to the created channel public PgSubscriber connect(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
handler - the handler notified of the connection success or failurepublic Single<Void> rxConnect()
public PgSubscriber reconnectPolicy(Function<Integer,Long> policy)
policy function is called with the actual
number of retries and returns an amountOfTime value:
amountOfTime < 0: the subscriber is closed and there is no retryamountOfTime == 0: the subscriber retries to connect immediatelyamountOfTime > 0: the subscriber retries after amountOfTime millisecondspolicy - the policy to setpublic PgSubscriber closeHandler(io.vertx.core.Handler<Void> handler)
handler - the handlerpublic PgConnection actualConnection()
nullpublic boolean closed()
public void close()
public static PgSubscriber newInstance(PgSubscriber arg)
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/pubsub/class-use/PgChannel.html ================================================| Package | Description |
|---|---|
| io.reactiverse.rxjava.pgclient.pubsub |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgChannel> |
PgChannel.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
PgChannel |
PgSubscriber.channel(String name)
Return a channel for the given
name. |
PgChannel |
PgChannel.endHandler(io.vertx.core.Handler<Void> endHandler)
Set an handler to be called when no more notifications will be received.
|
PgChannel |
PgChannel.exceptionHandler(io.vertx.core.Handler<Throwable> handler) |
PgChannel |
PgChannel.handler(io.vertx.core.Handler<String> handler)
Set or unset an handler to be called when a the channel is notified by Postgres.
|
static PgChannel |
PgChannel.newInstance(PgChannel arg) |
PgChannel |
PgChannel.pause()
Pause the channel, all notifications are discarded.
|
PgChannel |
PgChannel.resume()
Resume the channel.
|
PgChannel |
PgChannel.subscribeHandler(io.vertx.core.Handler<Void> handler)
Set an handler called when the the channel get subscribed.
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/pubsub/class-use/PgSubscriber.html ================================================| Package | Description |
|---|---|
| io.reactiverse.rxjava.pgclient.pubsub |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PgSubscriber> |
PgSubscriber.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
PgSubscriber |
PgSubscriber.closeHandler(io.vertx.core.Handler<Void> handler)
Set an handler called when the subscriber is closed.
|
PgSubscriber |
PgSubscriber.connect(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Connect the subscriber to Postgres.
|
static PgSubscriber |
PgSubscriber.newInstance(PgSubscriber arg) |
PgSubscriber |
PgSubscriber.reconnectPolicy(Function<Integer,Long> policy)
Set the reconnect policy that is executed when the subscriber is disconnected.
|
static PgSubscriber |
PgSubscriber.subscriber(io.vertx.rxjava.core.Vertx vertx,
PgConnectOptions options)
Create a subscriber.
|
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/pubsub/package-frame.html ================================================| Class | Description |
|---|---|
| PgChannel |
A channel to Postgres that tracks the subscription to a given Postgres channel using the
LISTEN/UNLISTEN commands. |
| PgSubscriber |
A class for managing subscriptions using
LISTEN/UNLISTEN to Postgres channels. |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/pubsub/package-tree.html ================================================Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/io/reactiverse/rxjava/pgclient/pubsub/package-use.html ================================================| Package | Description |
|---|---|
| io.reactiverse.rxjava.pgclient.pubsub |
| Class and Description |
|---|
| PgChannel
A channel to Postgres that tracks the subscription to a given Postgres channel using the
LISTEN/UNLISTEN commands. |
| PgSubscriber
A class for managing subscriptions using
LISTEN/UNLISTEN to Postgres channels. |
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/overview-frame.html ================================================================================================ FILE: docs/apidocs/overview-summary.html ================================================
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/overview-tree.html ================================================Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/package-list ================================================ io.reactiverse.pgclient io.reactiverse.pgclient.data io.reactiverse.pgclient.pubsub io.reactiverse.reactivex.pgclient io.reactiverse.reactivex.pgclient.data io.reactiverse.reactivex.pgclient.pubsub io.reactiverse.rxjava.pgclient io.reactiverse.rxjava.pgclient.data io.reactiverse.rxjava.pgclient.pubsub ================================================ FILE: docs/apidocs/script.js ================================================ function show(type) { count = 0; for (var key in methods) { var row = document.getElementById(key); if ((methods[key] & type) != 0) { row.style.display = ''; row.className = (count++ % 2) ? rowColor : altColor; } else row.style.display = 'none'; } updateTabs(type); } function updateTabs(type) { for (var value in tabs) { var sNode = document.getElementById(tabs[value][0]); var spanNode = sNode.firstChild; if (value == type) { sNode.className = activeTableTab; spanNode.innerHTML = tabs[value][1]; } else { sNode.className = tableTab; spanNode.innerHTML = "" + tabs[value][1] + ""; } } } ================================================ FILE: docs/apidocs/serialized-form.html ================================================io.reactiverse.pgclient.impl.codec.decoder.ErrorResponse error
Number value
Copyright © 2019 Eclipse. All rights reserved.
================================================ FILE: docs/apidocs/stylesheet.css ================================================ /* Javadoc style sheet */ /* Overall document style */ @import url('resources/fonts/dejavu.css'); body { background-color:#ffffff; color:#353833; font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; font-size:14px; margin:0; } a:link, a:visited { text-decoration:none; color:#4A6782; } a:hover, a:focus { text-decoration:none; color:#bb7a2a; } a:active { text-decoration:none; color:#4A6782; } a[name] { color:#353833; } a[name]:hover { text-decoration:none; color:#353833; } pre { font-family:'DejaVu Sans Mono', monospace; font-size:14px; } h1 { font-size:20px; } h2 { font-size:18px; } h3 { font-size:16px; font-style:italic; } h4 { font-size:13px; } h5 { font-size:12px; } h6 { font-size:11px; } ul { list-style-type:disc; } code, tt { font-family:'DejaVu Sans Mono', monospace; font-size:14px; padding-top:4px; margin-top:8px; line-height:1.4em; } dt code { font-family:'DejaVu Sans Mono', monospace; font-size:14px; padding-top:4px; } table tr td dt code { font-family:'DejaVu Sans Mono', monospace; font-size:14px; vertical-align:top; padding-top:4px; } sup { font-size:8px; } /* Document title and Copyright styles */ .clear { clear:both; height:0px; overflow:hidden; } .aboutLanguage { float:right; padding:0px 21px; font-size:11px; z-index:200; margin-top:-9px; } .legalCopy { margin-left:.5em; } .bar a, .bar a:link, .bar a:visited, .bar a:active { color:#FFFFFF; text-decoration:none; } .bar a:hover, .bar a:focus { color:#bb7a2a; } .tab { background-color:#0066FF; color:#ffffff; padding:8px; width:5em; font-weight:bold; } /* Navigation bar styles */ .bar { background-color:#4D7A97; color:#FFFFFF; padding:.8em .5em .4em .8em; height:auto;/*height:1.8em;*/ font-size:11px; margin:0; } .topNav { background-color:#4D7A97; color:#FFFFFF; float:left; padding:0; width:100%; clear:right; height:2.8em; padding-top:10px; overflow:hidden; font-size:12px; } .bottomNav { margin-top:10px; background-color:#4D7A97; color:#FFFFFF; float:left; padding:0; width:100%; clear:right; height:2.8em; padding-top:10px; overflow:hidden; font-size:12px; } .subNav { background-color:#dee3e9; float:left; width:100%; overflow:hidden; font-size:12px; } .subNav div { clear:left; float:left; padding:0 0 5px 6px; text-transform:uppercase; } ul.navList, ul.subNavList { float:left; margin:0 25px 0 0; padding:0; } ul.navList li{ list-style:none; float:left; padding: 5px 6px; text-transform:uppercase; } ul.subNavList li{ list-style:none; float:left; } .topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { color:#FFFFFF; text-decoration:none; text-transform:uppercase; } .topNav a:hover, .bottomNav a:hover { text-decoration:none; color:#bb7a2a; text-transform:uppercase; } .navBarCell1Rev { background-color:#F8981D; color:#253441; margin: auto 5px; } .skipNav { position:absolute; top:auto; left:-9999px; overflow:hidden; } /* Page header and footer styles */ .header, .footer { clear:both; margin:0 20px; padding:5px 0 0 0; } .indexHeader { margin:10px; position:relative; } .indexHeader span{ margin-right:15px; } .indexHeader h1 { font-size:13px; } .title { color:#2c4557; margin:10px 0; } .subTitle { margin:5px 0 0 0; } .header ul { margin:0 0 15px 0; padding:0; } .footer ul { margin:20px 0 5px 0; } .header ul li, .footer ul li { list-style:none; font-size:13px; } /* Heading styles */ div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { background-color:#dee3e9; border:1px solid #d0d9e0; margin:0 0 6px -8px; padding:7px 5px; } ul.blockList ul.blockList ul.blockList li.blockList h3 { background-color:#dee3e9; border:1px solid #d0d9e0; margin:0 0 6px -8px; padding:7px 5px; } ul.blockList ul.blockList li.blockList h3 { padding:0; margin:15px 0; } ul.blockList li.blockList h2 { padding:0px 0 20px 0; } /* Page layout container styles */ .contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { clear:both; padding:10px 20px; position:relative; } .indexContainer { margin:10px; position:relative; font-size:12px; } .indexContainer h2 { font-size:13px; padding:0 0 3px 0; } .indexContainer ul { margin:0; padding:0; } .indexContainer ul li { list-style:none; padding-top:2px; } .contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { font-size:12px; font-weight:bold; margin:10px 0 0 0; color:#4E4E4E; } .contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { margin:5px 0 10px 0px; font-size:14px; font-family:'DejaVu Sans Mono',monospace; } .serializedFormContainer dl.nameValue dt { margin-left:1px; font-size:1.1em; display:inline; font-weight:bold; } .serializedFormContainer dl.nameValue dd { margin:0 0 0 1px; font-size:1.1em; display:inline; } /* List styles */ ul.horizontal li { display:inline; font-size:0.9em; } ul.inheritance { margin:0; padding:0; } ul.inheritance li { display:inline; list-style:none; } ul.inheritance li ul.inheritance { margin-left:15px; padding-left:15px; padding-top:1px; } ul.blockList, ul.blockListLast { margin:10px 0 10px 0; padding:0; } ul.blockList li.blockList, ul.blockListLast li.blockList { list-style:none; margin-bottom:15px; line-height:1.4; } ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { padding:0px 20px 5px 10px; border:1px solid #ededed; background-color:#f8f8f8; } ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { padding:0 0 5px 8px; background-color:#ffffff; border:none; } ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { margin-left:0; padding-left:0; padding-bottom:15px; border:none; } ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { list-style:none; border-bottom:none; padding-bottom:0; } table tr td dl, table tr td dl dt, table tr td dl dd { margin-top:0; margin-bottom:1px; } /* Table styles */ .overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { width:100%; border-left:1px solid #EEE; border-right:1px solid #EEE; border-bottom:1px solid #EEE; } .overviewSummary, .memberSummary { padding:0px; } .overviewSummary caption, .memberSummary caption, .typeSummary caption, .useSummary caption, .constantsSummary caption, .deprecatedSummary caption { position:relative; text-align:left; background-repeat:no-repeat; color:#253441; font-weight:bold; clear:none; overflow:hidden; padding:0px; padding-top:10px; padding-left:1px; margin:0px; white-space:pre; } .overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, .useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, .overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, .useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, .overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, .useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, .overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, .useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { color:#FFFFFF; } .overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, .useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { white-space:nowrap; padding-top:5px; padding-left:12px; padding-right:12px; padding-bottom:7px; display:inline-block; float:left; background-color:#F8981D; border: none; height:16px; } .memberSummary caption span.activeTableTab span { white-space:nowrap; padding-top:5px; padding-left:12px; padding-right:12px; margin-right:3px; display:inline-block; float:left; background-color:#F8981D; height:16px; } .memberSummary caption span.tableTab span { white-space:nowrap; padding-top:5px; padding-left:12px; padding-right:12px; margin-right:3px; display:inline-block; float:left; background-color:#4D7A97; height:16px; } .memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { padding-top:0px; padding-left:0px; padding-right:0px; background-image:none; float:none; display:inline; } .overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, .useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { display:none; width:5px; position:relative; float:left; background-color:#F8981D; } .memberSummary .activeTableTab .tabEnd { display:none; width:5px; margin-right:3px; position:relative; float:left; background-color:#F8981D; } .memberSummary .tableTab .tabEnd { display:none; width:5px; margin-right:3px; position:relative; background-color:#4D7A97; float:left; } .overviewSummary td, .memberSummary td, .typeSummary td, .useSummary td, .constantsSummary td, .deprecatedSummary td { text-align:left; padding:0px 0px 12px 10px; } th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ vertical-align:top; padding-right:0px; padding-top:8px; padding-bottom:3px; } th.colFirst, th.colLast, th.colOne, .constantsSummary th { background:#dee3e9; text-align:left; padding:8px 3px 3px 7px; } td.colFirst, th.colFirst { white-space:nowrap; font-size:13px; } td.colLast, th.colLast { font-size:13px; } td.colOne, th.colOne { font-size:13px; } .overviewSummary td.colFirst, .overviewSummary th.colFirst, .useSummary td.colFirst, .useSummary th.colFirst, .overviewSummary td.colOne, .overviewSummary th.colOne, .memberSummary td.colFirst, .memberSummary th.colFirst, .memberSummary td.colOne, .memberSummary th.colOne, .typeSummary td.colFirst{ width:25%; vertical-align:top; } td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { font-weight:bold; } .tableSubHeadingColor { background-color:#EEEEFF; } .altColor { background-color:#FFFFFF; } .rowColor { background-color:#EEEEEF; } /* Content styles */ .description pre { margin-top:0; } .deprecatedContent { margin:0; padding:10px 0; } .docSummary { padding:0; } ul.blockList ul.blockList ul.blockList li.blockList h3 { font-style:normal; } div.block { font-size:14px; font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; } td.colLast div { padding-top:0px; } td.colLast a { padding-bottom:3px; } /* Formatting effect styles */ .sourceLineNo { color:green; padding:0 30px 0 0; } h1.hidden { visibility:hidden; overflow:hidden; font-size:10px; } .block { display:block; margin:3px 10px 2px 0px; color:#474747; } .deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, .overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, .seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { font-weight:bold; } .deprecationComment, .emphasizedPhrase, .interfaceName { font-style:italic; } div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, div.block div.block span.interfaceName { font-style:normal; } div.contentContainer ul.blockList li.blockList h2{ padding-bottom:0px; } ================================================ FILE: docs/guide/groovy/index.md ================================================ # Reactive Postgres Client The Reactive Postgres Client is a client for Postgres with a straightforward API focusing on scalability and low overhead. The client is reactive and non blocking, allowing to handle many database connections with a single thread. * Event driven * Lightweight * Built-in connection pooling * Prepared queries caching * Publish / subscribe using Postgres `NOTIFY/LISTEN` * Batch and cursor * Row streaming * Command pipeling * RxJava 1 and RxJava 2 * Direct memory to object without unnecessary copies * Java 8 Date and Time * SSL/TLS * Unix domain socket * HTTP/1.x CONNECT, SOCKS4a or SOCKS5 proxy support ## Usage To use the Reactive Postgres Client add the following dependency to the _dependencies_ section of your build descriptor: * Maven (in your `pom.xml`): ```xml