Top Description Methods
io.r2dbc.spi

public Interface ConnectionFactory

Imports
org.reactivestreams.Publisher

A factory for creating Connections and entry point for a driver.
See Also
Connection

Method Summary

Modifier and TypeMethod and Description
public Publisher<? extends Connection>

Returns:

the newly created Connection
create
()

Creates a new Connection.

public ConnectionFactoryMetadata

Returns:

the ConnectionFactoryMetadata about the product this ConnectionFactory is applicable to
getMetadata
()

Returns the ConnectionFactoryMetadata about the product this ConnectionFactory is applicable to.

Method Detail

createback to summary
public Publisher<? extends Connection> create()

Creates a new Connection.

Returns:Publisher<? extends Connection>

the newly created Connection

getMetadataback to summary
public ConnectionFactoryMetadata getMetadata()

Returns the ConnectionFactoryMetadata about the product this ConnectionFactory is applicable to.

Returns:ConnectionFactoryMetadata

the ConnectionFactoryMetadata about the product this ConnectionFactory is applicable to