Package | Description |
---|---|
org.springframework.boot.r2dbc |
Support for R2DBC connectivity.
|
Modifier and Type | Method and Description |
---|---|
ConnectionFactoryBuilder |
ConnectionFactoryBuilder.configure(Consumer<io.r2dbc.spi.ConnectionFactoryOptions.Builder> options)
Configure additional options.
|
ConnectionFactoryBuilder |
ConnectionFactoryBuilder.database(String database)
Configure the database.
|
static ConnectionFactoryBuilder |
ConnectionFactoryBuilder.derivefrom(io.r2dbc.spi.ConnectionFactory connectionFactory)
Initialize a new
ConnectionFactoryBuilder derived from the options of the
specified connectionFactory . |
ConnectionFactoryBuilder |
ConnectionFactoryBuilder.hostname(String host)
Configure the host name.
|
ConnectionFactoryBuilder |
ConnectionFactoryBuilder.password(CharSequence password)
Configure the password.
|
ConnectionFactoryBuilder |
ConnectionFactoryBuilder.port(int port)
Configure the port.
|
ConnectionFactoryBuilder |
ConnectionFactoryBuilder.username(String username)
Configure the username.
|
static ConnectionFactoryBuilder |
ConnectionFactoryBuilder.withOptions(io.r2dbc.spi.ConnectionFactoryOptions.Builder options)
Initialize a new
ConnectionFactoryBuilder based on the specified
options . |
static ConnectionFactoryBuilder |
ConnectionFactoryBuilder.withUrl(String url)
Initialize a new
ConnectionFactoryBuilder based on the specified R2DBC url. |