Class PostgresqlConnectionFactory
java.lang.Object
io.r2dbc.postgresql.PostgresqlConnectionFactory
- All Implemented Interfaces:
ConnectionFactory
An implementation of
ConnectionFactory for creating connections to a PostgreSQL database.-
Constructor Summary
ConstructorsConstructorDescriptionPostgresqlConnectionFactory(PostgresqlConnectionConfiguration configuration) Create a new connection factory. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a newPostgresqlReplicationConnectionfor interaction with replication streams.toString()
-
Constructor Details
-
PostgresqlConnectionFactory
Create a new connection factory.- Parameters:
configuration- the configuration to use- Throws:
IllegalArgumentException- ifconfigurationisnull
-
-
Method Details
-
create
- Specified by:
createin interfaceConnectionFactory
-
replication
Create a newPostgresqlReplicationConnectionfor interaction with replication streams.- Returns:
- a new
PostgresqlReplicationConnectionfor interaction with replication streams.
-
getMetadata
- Specified by:
getMetadatain interfaceConnectionFactory
-
toString
-