Top Description Constructors Methods
org.jooq.impl

pack-priv final Class NoConnectionFactory

extends Object
implements ConnectionFactory
Class Inheritance
All Implemented Interfaces
io.r2dbc.spi.ConnectionFactory
Imports
org.reactivestreams.Publisher, io.r2dbc.spi.Connection, .ConnectionFactory, .ConnectionFactoryMetadata

A no-op implementation of the ConnectionFactory, in case we don't have one.
Author
Lukas Eder

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Publisher<? extends Connection>
public ConnectionFactoryMetadata
getMetadata()

Implements io.r2dbc.spi.ConnectionFactory.getMetadata.

Returns the ConnectionFactoryMetadata about the product this ConnectionFactory is applicable to.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

NoConnectionFactoryback to summary
pack-priv NoConnectionFactory()

Method Detail

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

Implements io.r2dbc.spi.ConnectionFactory.create.

Doc from io.r2dbc.spi.ConnectionFactory.create.

Creates a new Connection.

Returns:Publisher<? extends Connection>

the newly created Connection

Annotations
@Override
getMetadataback to summary
public ConnectionFactoryMetadata getMetadata()

Implements io.r2dbc.spi.ConnectionFactory.getMetadata.

Doc from io.r2dbc.spi.ConnectionFactory.getMetadata.

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

Returns:ConnectionFactoryMetadata

the ConnectionFactoryMetadata about the product this ConnectionFactory is applicable to

Annotations
@Override