public final class PostgresqlConnectionFactoryProvider extends Object implements ConnectionFactoryProvider
ConnectionFactoryProvider
for creating PostgresqlConnectionFactory
s.Modifier and Type | Field and Description |
---|---|
static Option<String> |
APPLICATION_NAME
Application name.
|
static Option<Boolean> |
AUTODETECT_EXTENSIONS
Auto-detect extensions.
|
static Option<Integer> |
FETCH_SIZE
Fetch Size.
|
static Option<Boolean> |
FORCE_BINARY
Force binary transfer.
|
static String |
LEGACY_POSTGRESQL_DRIVER
Legacy driver option value.
|
static Option<Map<String,String>> |
OPTIONS
Connection options which are applied once after the connection has been created.
|
static String |
POSTGRESQL_DRIVER
Driver option value.
|
static Option<String> |
SCHEMA
Schema.
|
static Option<String> |
SOCKET
Unix domain socket.
|
static Option<String> |
SSL_CERT
Full path for the certificate file.
|
static Option<Function<io.netty.handler.ssl.SslContextBuilder,io.netty.handler.ssl.SslContextBuilder>> |
SSL_CONTEXT_BUILDER_CUSTOMIZER
Customizer
Function for SslContextBuilder . |
static Option<HostnameVerifier> |
SSL_HOSTNAME_VERIFIER
Class name of hostname verifier.
|
static Option<String> |
SSL_KEY
Full path for the key file.
|
static Option<io.r2dbc.postgresql.client.SSLMode> |
SSL_MODE
Ssl mode.
|
static Option<String> |
SSL_PASSWORD
SSL key password
|
static Option<String> |
SSL_ROOT_CERT
File name of the SSL root certificate.
|
Constructor and Description |
---|
PostgresqlConnectionFactoryProvider() |
Modifier and Type | Method and Description |
---|---|
PostgresqlConnectionFactory |
create(ConnectionFactoryOptions connectionFactoryOptions) |
String |
getDriver() |
boolean |
supports(ConnectionFactoryOptions connectionFactoryOptions) |
public static final Option<Boolean> AUTODETECT_EXTENSIONS
public static final String POSTGRESQL_DRIVER
public static final String LEGACY_POSTGRESQL_DRIVER
public static final Option<Function<io.netty.handler.ssl.SslContextBuilder,io.netty.handler.ssl.SslContextBuilder>> SSL_CONTEXT_BUILDER_CUSTOMIZER
Function
for SslContextBuilder
.public static final Option<HostnameVerifier> SSL_HOSTNAME_VERIFIER
public static final Option<io.r2dbc.postgresql.client.SSLMode> SSL_MODE
public static final Option<String> SSL_ROOT_CERT
public PostgresqlConnectionFactory create(ConnectionFactoryOptions connectionFactoryOptions)
create
in interface ConnectionFactoryProvider
public String getDriver()
getDriver
in interface ConnectionFactoryProvider
public boolean supports(ConnectionFactoryOptions connectionFactoryOptions)
supports
in interface ConnectionFactoryProvider
Copyright © 2020. All rights reserved.