Modifier and Type | Method and Description |
---|---|
PgConnectOptions |
PgConnectOptions.addCrlPath(String crlPath) |
PgConnectOptions |
PgConnectOptions.addCrlValue(Buffer crlValue) |
PgConnectOptions |
PgConnectOptions.addEnabledCipherSuite(String suite) |
PgConnectOptions |
PgConnectOptions.addEnabledSecureTransportProtocol(String protocol) |
PgConnectOptions |
PgConnectOptions.addProperty(String key,
String value) |
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.merge(JsonObject other) |
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.setIdleTimeoutUnit(TimeUnit idleTimeoutUnit) |
PgConnectOptions |
PgConnectOptions.setJdkSslEngineOptions(JdkSSLEngineOptions sslEngineOptions) |
PgConnectOptions |
PgConnectOptions.setKeyCertOptions(KeyCertOptions options) |
PgConnectOptions |
PgConnectOptions.setKeyStoreOptions(JksOptions options) |
PgConnectOptions |
PgConnectOptions.setLocalAddress(String localAddress) |
PgConnectOptions |
PgConnectOptions.setLogActivity(boolean logEnabled) |
PgConnectOptions |
PgConnectOptions.setMetricsName(String metricsName) |
PgConnectOptions |
PgConnectOptions.setOpenSslEngineOptions(OpenSSLEngineOptions sslEngineOptions) |
PgConnectOptions |
PgConnectOptions.setPassword(String password) |
PgConnectOptions |
PgConnectOptions.setPemKeyCertOptions(PemKeyCertOptions options) |
PgConnectOptions |
PgConnectOptions.setPemTrustOptions(PemTrustOptions options) |
PgConnectOptions |
PgConnectOptions.setPfxKeyCertOptions(PfxOptions options) |
PgConnectOptions |
PgConnectOptions.setPfxTrustOptions(PfxOptions options) |
PgConnectOptions |
PgConnectOptions.setPipeliningLimit(int pipeliningLimit) |
PgConnectOptions |
PgConnectOptions.setPort(int port) |
PgConnectOptions |
PgConnectOptions.setPreparedStatementCacheMaxSize(int preparedStatementCacheMaxSize) |
PgConnectOptions |
PgConnectOptions.setPreparedStatementCacheSqlFilter(java.util.function.Predicate<String> predicate) |
PgConnectOptions |
PgConnectOptions.setPreparedStatementCacheSqlLimit(int preparedStatementCacheSqlLimit) |
PgConnectOptions |
PgConnectOptions.setProperties(Map<String,String> properties) |
PgConnectOptions |
PgConnectOptions.setProxyOptions(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(SSLEngineOptions sslEngineOptions) |
PgConnectOptions |
PgConnectOptions.setSslHandshakeTimeout(long sslHandshakeTimeout) |
PgConnectOptions |
PgConnectOptions.setSslHandshakeTimeoutUnit(TimeUnit sslHandshakeTimeoutUnit) |
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.setTracingPolicy(TracingPolicy tracingPolicy) |
PgConnectOptions |
PgConnectOptions.setTrafficClass(int trafficClass) |
PgConnectOptions |
PgConnectOptions.setTrustAll(boolean trustAll) |
PgConnectOptions |
PgConnectOptions.setTrustOptions(TrustOptions options) |
PgConnectOptions |
PgConnectOptions.setTrustStoreOptions(JksOptions options) |
PgConnectOptions |
PgConnectOptions.setUseAlpn(boolean useAlpn) |
PgConnectOptions |
PgConnectOptions.setUseLayer7Proxy(boolean useLayer7Proxy)
Set the client to use a layer 7 (application) proxy compatible protocol, set to
true when the client
interacts with a layer 7 proxy like PgBouncer instead of a server. |
PgConnectOptions |
PgConnectOptions.setUser(String user) |
static PgConnectOptions |
PgConnectOptions.wrap(SqlConnectOptions options) |
Modifier and Type | Method and Description |
---|---|
static SqlClient |
PgPool.client(PgConnectOptions database,
PoolOptions options)
Deprecated.
Create a client backed by a connection pool to the PostgreSQL
database configured with the given options . |
static SqlClient |
PgPool.client(Vertx vertx,
PgConnectOptions database,
PoolOptions options)
Deprecated.
Like
PgPool.client(PgConnectOptions, PoolOptions) with a specific Vertx instance. |
static Future<PgConnection> |
PgConnection.connect(Vertx vertx,
PgConnectOptions options)
Like
PgConnection.connect(Vertx, PgConnectOptions, Handler) but returns a Future of the asynchronous result |
static void |
PgConnection.connect(Vertx vertx,
PgConnectOptions options,
Handler<AsyncResult<PgConnection>> handler)
Connects to the database and returns the connection if that succeeds.
|
static PgPool |
PgPool.pool(PgConnectOptions database,
PoolOptions options)
Deprecated.
Create a connection pool to the PostgreSQL
database configured with the given options . |
static PgPool |
PgPool.pool(Vertx vertx,
PgConnectOptions database,
PoolOptions options)
Deprecated.
Like
PgPool.pool(PgConnectOptions, PoolOptions) with a specific Vertx instance. |
Modifier and Type | Method and Description |
---|---|
static SqlClient |
PgPool.client(List<PgConnectOptions> databases,
PoolOptions options)
Deprecated.
Create a client backed by a connection pool to the PostgreSQL
databases with round-robin selection. |
static SqlClient |
PgPool.client(java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions options)
Deprecated.
Create a client backed by a connection pool to the PostgreSQL
databases . |
static SqlClient |
PgPool.client(Vertx vertx,
List<PgConnectOptions> databases,
PoolOptions options)
Deprecated.
Like
PgPool.client(List, PoolOptions) with a specific Vertx instance. |
static SqlClient |
PgPool.client(Vertx vertx,
java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions options)
Deprecated.
Like
PgPool.client(Supplier, PoolOptions) with a specific Vertx instance. |
static PgPool |
PgPool.pool(List<PgConnectOptions> databases,
PoolOptions poolOptions)
Deprecated.
Create a connection pool to the PostgreSQL
databases with round-robin selection. |
static PgPool |
PgPool.pool(java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions poolOptions)
Deprecated.
Create a connection pool to the PostgreSQL
databases . |
static PgPool |
PgPool.pool(Vertx vertx,
List<PgConnectOptions> databases,
PoolOptions poolOptions)
Deprecated.
Like
PgPool.pool(List, PoolOptions) with a specific Vertx instance. |
static PgPool |
PgPool.pool(Vertx vertx,
java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions poolOptions)
Deprecated.
Like
PgPool.pool(Supplier, PoolOptions) with a specific Vertx instance. |
Constructor and Description |
---|
PgConnectOptions(PgConnectOptions other) |
Modifier and Type | Method and Description |
---|---|
static PgSubscriber |
PgSubscriber.subscriber(Vertx vertx,
PgConnectOptions options)
Create a subscriber.
|
Modifier and Type | Method and Description |
---|---|
PgConnectOptions |
PgDriver.parseConnectionUri(String uri) |
Modifier and Type | Method and Description |
---|---|
static SqlClient |
PgPool.client(PgConnectOptions database,
PoolOptions options)
Create a client backed by a connection pool to the PostgreSQL
database configured with the given options . |
static SqlClient |
PgPool.client(Vertx vertx,
PgConnectOptions database,
PoolOptions options)
Like
PgPool.client() with a specific instance. |
static void |
PgConnection.connect(Vertx vertx,
PgConnectOptions options)
Connects to the database and returns the connection if that succeeds.
|
static void |
PgConnection.connect(Vertx vertx,
PgConnectOptions options,
Handler<AsyncResult<PgConnection>> handler)
Connects to the database and returns the connection if that succeeds.
|
static PgPool |
PgPool.pool(PgConnectOptions database,
PoolOptions options)
Create a connection pool to the PostgreSQL
database configured with the given options . |
static PgPool |
PgPool.pool(Vertx vertx,
PgConnectOptions database,
PoolOptions options)
Like
PgPool.pool() with a specific instance. |
static Single<PgConnection> |
PgConnection.rxConnect(Vertx vertx,
PgConnectOptions options)
Connects to the database and returns the connection if that succeeds.
|
Modifier and Type | Method and Description |
---|---|
static SqlClient |
PgPool.client(List<PgConnectOptions> databases,
PoolOptions options)
Create a client backed by a connection pool to the PostgreSQL
databases with round-robin selection. |
static SqlClient |
PgPool.client(java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions options)
Create a client backed by a connection pool to the PostgreSQL
databases . |
static SqlClient |
PgPool.client(Vertx vertx,
List<PgConnectOptions> databases,
PoolOptions options)
Like
PgPool.client() with a specific instance. |
static SqlClient |
PgPool.client(Vertx vertx,
java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions options)
Like
PgPool.client() with a specific instance. |
static PgPool |
PgPool.pool(List<PgConnectOptions> databases,
PoolOptions poolOptions)
Create a connection pool to the PostgreSQL
databases with round-robin selection. |
static PgPool |
PgPool.pool(java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions poolOptions)
Create a connection pool to the PostgreSQL
databases . |
static PgPool |
PgPool.pool(Vertx vertx,
List<PgConnectOptions> databases,
PoolOptions poolOptions)
Like
PgPool.pool() with a specific instance. |
static PgPool |
PgPool.pool(Vertx vertx,
java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions poolOptions)
Like
PgPool.pool() with a specific instance. |
Modifier and Type | Method and Description |
---|---|
static PgSubscriber |
PgSubscriber.subscriber(Vertx vertx,
PgConnectOptions options)
Create a subscriber.
|
Modifier and Type | Method and Description |
---|---|
static SqlClient |
PgPool.client(PgConnectOptions database,
PoolOptions options)
Create a client backed by a connection pool to the PostgreSQL
database configured with the given options . |
static SqlClient |
PgPool.client(Vertx vertx,
PgConnectOptions database,
PoolOptions options)
Like
PgPool.client() with a specific instance. |
static void |
PgConnection.connect(Vertx vertx,
PgConnectOptions options)
Connects to the database and returns the connection if that succeeds.
|
static void |
PgConnection.connect(Vertx vertx,
PgConnectOptions options,
Handler<AsyncResult<PgConnection>> handler)
Connects to the database and returns the connection if that succeeds.
|
static PgPool |
PgPool.pool(PgConnectOptions database,
PoolOptions options)
Create a connection pool to the PostgreSQL
database configured with the given options . |
static PgPool |
PgPool.pool(Vertx vertx,
PgConnectOptions database,
PoolOptions options)
Like
PgPool.pool() with a specific instance. |
static Single<PgConnection> |
PgConnection.rxConnect(Vertx vertx,
PgConnectOptions options)
Connects to the database and returns the connection if that succeeds.
|
Modifier and Type | Method and Description |
---|---|
static SqlClient |
PgPool.client(List<PgConnectOptions> databases,
PoolOptions options)
Create a client backed by a connection pool to the PostgreSQL
databases with round-robin selection. |
static SqlClient |
PgPool.client(java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions options)
Create a client backed by a connection pool to the PostgreSQL
databases . |
static SqlClient |
PgPool.client(Vertx vertx,
List<PgConnectOptions> databases,
PoolOptions options)
Like
PgPool.client() with a specific instance. |
static SqlClient |
PgPool.client(Vertx vertx,
java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions options)
Like
PgPool.client() with a specific instance. |
static PgPool |
PgPool.pool(List<PgConnectOptions> databases,
PoolOptions poolOptions)
Create a connection pool to the PostgreSQL
databases with round-robin selection. |
static PgPool |
PgPool.pool(java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions poolOptions)
Create a connection pool to the PostgreSQL
databases . |
static PgPool |
PgPool.pool(Vertx vertx,
List<PgConnectOptions> databases,
PoolOptions poolOptions)
Like
PgPool.pool() with a specific instance. |
static PgPool |
PgPool.pool(Vertx vertx,
java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions poolOptions)
Like
PgPool.pool() with a specific instance. |
Modifier and Type | Method and Description |
---|---|
static PgSubscriber |
PgSubscriber.subscriber(Vertx vertx,
PgConnectOptions options)
Create a subscriber.
|
Modifier and Type | Method and Description |
---|---|
static SqlClient |
PgPool.client(PgConnectOptions database,
PoolOptions options)
Create a client backed by a connection pool to the PostgreSQL
database configured with the given options . |
static SqlClient |
PgPool.client(Vertx vertx,
PgConnectOptions database,
PoolOptions options)
Like
PgPool.client() with a specific instance. |
static Single<PgConnection> |
PgConnection.connect(Vertx vertx,
PgConnectOptions options)
Connects to the database and returns the connection if that succeeds.
|
static PgPool |
PgPool.pool(PgConnectOptions database,
PoolOptions options)
Create a connection pool to the PostgreSQL
database configured with the given options . |
static PgPool |
PgPool.pool(Vertx vertx,
PgConnectOptions database,
PoolOptions options)
Like
PgPool.pool() with a specific instance. |
static Single<PgConnection> |
PgConnection.rxConnect(Vertx vertx,
PgConnectOptions options)
Connects to the database and returns the connection if that succeeds.
|
Modifier and Type | Method and Description |
---|---|
static SqlClient |
PgPool.client(List<PgConnectOptions> databases,
PoolOptions options)
Create a client backed by a connection pool to the PostgreSQL
databases with round-robin selection. |
static SqlClient |
PgPool.client(java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions options)
Create a client backed by a connection pool to the PostgreSQL
databases . |
static SqlClient |
PgPool.client(Vertx vertx,
List<PgConnectOptions> databases,
PoolOptions options)
Like
PgPool.client() with a specific instance. |
static SqlClient |
PgPool.client(Vertx vertx,
java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions options)
Like
PgPool.client() with a specific instance. |
static PgPool |
PgPool.pool(List<PgConnectOptions> databases,
PoolOptions poolOptions)
Create a connection pool to the PostgreSQL
databases with round-robin selection. |
static PgPool |
PgPool.pool(java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions poolOptions)
Create a connection pool to the PostgreSQL
databases . |
static PgPool |
PgPool.pool(Vertx vertx,
List<PgConnectOptions> databases,
PoolOptions poolOptions)
Like
PgPool.pool() with a specific instance. |
static PgPool |
PgPool.pool(Vertx vertx,
java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions poolOptions)
Like
PgPool.pool() with a specific instance. |
Modifier and Type | Method and Description |
---|---|
static PgSubscriber |
PgSubscriber.subscriber(Vertx vertx,
PgConnectOptions options)
Create a subscriber.
|
Copyright © 2024 Eclipse. All rights reserved.