Uses of Class
io.r2dbc.postgresql.PostgresqlConnectionConfiguration.Builder
Packages that use PostgresqlConnectionConfiguration.Builder
Package
Description
An implementation of the Reactive Relational Database Connection API for PostgreSQL servers.
-
Uses of PostgresqlConnectionConfiguration.Builder in io.r2dbc.postgresql
Methods in io.r2dbc.postgresql that return PostgresqlConnectionConfiguration.BuilderModifier and TypeMethodDescriptionAdd host with default port to the hosts list.Add host to the hosts list.PostgresqlConnectionConfiguration.Builder.applicationName(String applicationName) Configure the application name.PostgresqlConnectionConfiguration.Builder.autodetectExtensions(boolean autodetectExtensions) Configures whether to useServiceLoaderto discover and register extensions.PostgresqlConnectionConfiguration.builder()Returns a newPostgresqlConnectionConfiguration.Builder.PostgresqlConnectionFactoryProvider.builder(ConnectionFactoryOptions connectionFactoryOptions) Returns a newPostgresqlConnectionConfiguration.Builderconfigured with the givenConnectionFactoryOptions.PostgresqlConnectionConfiguration.Builder.codecRegistrar(CodecRegistrar codecRegistrar) Register aCodecRegistrarthat can contribute extensionCodecs.PostgresqlConnectionConfiguration.Builder.compatibilityMode(boolean compatibilityMode) Enables protocol compatibility mode for cursored query execution.PostgresqlConnectionConfiguration.Builder.connectTimeout(Duration connectTimeout) Configure the connection timeout.Configure the database.PostgresqlConnectionConfiguration.Builder.enableSsl()Enable SSL usage.PostgresqlConnectionConfiguration.Builder.errorResponseLogLevel(io.r2dbc.postgresql.util.LogLevel errorResponseLogLevel) Configure theLogLevelforerror responsesthat are part of a statement execution.PostgresqlConnectionConfiguration.Builder.extendWith(Extension extension) Registers aExtensionto extend driver functionality.PostgresqlConnectionConfiguration.Builder.fetchSize(int fetchSize) Set the default number of rows to return when fetching results from a query.PostgresqlConnectionConfiguration.Builder.fetchSize(ToIntFunction<String> fetchSizeFunction) Set a function that maps a SQL query to the number of rows to return when fetching results for that query.PostgresqlConnectionConfiguration.Builder.forceBinary(boolean forceBinary) Force binary results (Binary Transfer).Configure the host.PostgresqlConnectionConfiguration.Builder.hostRecheckTime(Duration hostRecheckTime) Controls how long the knowledge about a host state is cached connection factory.PostgresqlConnectionConfiguration.Builder.loadBalanceHosts(boolean loadBalanceHosts) In default mode (disabled) hosts are connected in the given order.PostgresqlConnectionConfiguration.Builder.lockWaitTimeout(Duration lockWaitTimeout) Configure the Lock wait timeout.PostgresqlConnectionConfiguration.Builder.loopResources(reactor.netty.resources.LoopResources loopResources) ConfigureLoopResources.PostgresqlConnectionConfiguration.Builder.noticeLogLevel(io.r2dbc.postgresql.util.LogLevel noticeLogLevel) Configure theLogLevelfornotice responses.Configure connection initialization parameters.PostgresqlConnectionConfiguration.Builder.password(CharSequence password) Configure the password.PostgresqlConnectionConfiguration.Builder.password(Supplier<CharSequence> password) Configure the password supplier.PostgresqlConnectionConfiguration.Builder.password(Publisher<CharSequence> password) Configure the password publisher.PostgresqlConnectionConfiguration.Builder.port(int port) Configure the port.PostgresqlConnectionConfiguration.Builder.preferAttachedBuffers(boolean preferAttachedBuffers) Configure whethercodecsshould prefer attached data buffers.PostgresqlConnectionConfiguration.Builder.preparedStatementCacheQueries(int preparedStatementCacheQueries) Configure the preparedStatementCacheQueries.Configure the schema.Configure the unix domain socket to connect to.Configure ssl cert for client certificate authentication.Configure ssl cert for client certificate authentication.PostgresqlConnectionConfiguration.Builder.sslContextBuilderCustomizer(Function<io.netty.handler.ssl.SslContextBuilder, io.netty.handler.ssl.SslContextBuilder> sslContextBuilderCustomizer) Configure aSslContextBuildercustomizer.PostgresqlConnectionConfiguration.Builder.sslEngineCustomizer(Function<SSLEngine, SSLEngine> sslEngineCustomizer) Configure aSSLEnginecustomizer.PostgresqlConnectionConfiguration.Builder.sslHostnameVerifier(HostnameVerifier sslHostnameVerifier) Configure ssl HostnameVerifier.Configure ssl key for client certificate authentication.Configure ssl key for client certificate authentication.PostgresqlConnectionConfiguration.Builder.sslMode(io.r2dbc.postgresql.client.SSLMode sslMode) Configure ssl mode.PostgresqlConnectionConfiguration.Builder.sslParameters(Function<SocketAddress, SSLParameters> sslParametersFactory) Configure aSSLParametersprovider for a givenSocketAddress.PostgresqlConnectionConfiguration.Builder.sslPassword(CharSequence sslPassword) Configure ssl password.PostgresqlConnectionConfiguration.Builder.sslRootCert(String sslRootCert) Configure ssl root cert for server certificate validation.PostgresqlConnectionConfiguration.Builder.sslRootCert(URL sslRootCert) Configure ssl root cert for server certificate validation.PostgresqlConnectionConfiguration.Builder.sslSni(boolean sslSni) Configure whether to indicate the hostname and port via SNI to the server.PostgresqlConnectionConfiguration.Builder.statementTimeout(Duration statementTimeout) Configure the Statement timeout.PostgresqlConnectionConfiguration.Builder.targetServerType(MultiHostConnectionStrategy.TargetServerType targetServerType) Allows opening connections to only servers with required state.PostgresqlConnectionConfiguration.Builder.tcpKeepAlive(boolean enabled) Configure TCP KeepAlive.PostgresqlConnectionConfiguration.Builder.tcpNoDelay(boolean enabled) Configure TCP NoDelay.Configure the session timezone.Configure the session timezone.Configure the username.Configure the username supplier.Configure the username publisher.