Package | Description |
---|---|
io.vertx.pgclient | |
io.vertx.pgclient.pubsub | |
io.vertx.reactivex.pgclient | |
io.vertx.reactivex.pgclient.pubsub | |
io.vertx.rxjava.pgclient | |
io.vertx.rxjava.pgclient.pubsub |
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.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.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.setUser(String user) |
Modifier and Type | Method and Description |
---|---|
static void |
PgConnection.connect(Vertx vertx,
PgConnectOptions options,
Handler<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 PgPool |
PgPool.pool(PgConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
static PgPool |
PgPool.pool(Vertx vertx,
PgConnectOptions connectOptions,
PoolOptions poolOptions)
Like
PgPool.pool(PgConnectOptions, PoolOptions) with a specific Vertx instance. |
static void |
PgConnectOptionsConverter.toJson(PgConnectOptions obj,
JsonObject json) |
static void |
PgConnectOptionsConverter.toJson(PgConnectOptions obj,
Map<String,Object> json) |
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 |
---|---|
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 connectOptions,
PoolOptions poolOptions)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
static PgPool |
PgPool.pool(Vertx vertx,
PgConnectOptions connectOptions,
PoolOptions poolOptions)
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 PgSubscriber |
PgSubscriber.subscriber(Vertx vertx,
PgConnectOptions options)
Create a subscriber.
|
Modifier and Type | Method and Description |
---|---|
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 connectOptions,
PoolOptions poolOptions)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
static PgPool |
PgPool.pool(Vertx vertx,
PgConnectOptions connectOptions,
PoolOptions poolOptions)
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 PgSubscriber |
PgSubscriber.subscriber(Vertx vertx,
PgConnectOptions options)
Create a subscriber.
|
Copyright © 2023 Eclipse. All rights reserved.