Class GcpConnectionFactoryProvider (1.15.0)

public abstract class GcpConnectionFactoryProvider implements ConnectionFactoryProvider

ConnectionFactoryProvider for proxied access to GCP Postgres and MySQL instances.

Inheritance

java.lang.Object > GcpConnectionFactoryProvider

Implements

io.r2dbc.spi.ConnectionFactoryProvider

Static Fields

ADMIN_ROOT_URL

public static final Option<String> ADMIN_ROOT_URL
Field Value
TypeDescription
io.r2dbc.spi.Option<String>

ADMIN_SERVICE_PATH

public static final Option<String> ADMIN_SERVICE_PATH
Field Value
TypeDescription
io.r2dbc.spi.Option<String>

DELEGATES

public static final Option<String> DELEGATES
Field Value
TypeDescription
io.r2dbc.spi.Option<String>

ENABLE_IAM_AUTH

public static final Option<Boolean> ENABLE_IAM_AUTH
Field Value
TypeDescription
io.r2dbc.spi.Option<Boolean>

GOOGLE_CREDENTIALS_PATH

public static final Option<String> GOOGLE_CREDENTIALS_PATH
Field Value
TypeDescription
io.r2dbc.spi.Option<String>

IP_TYPES

public static final Option<String> IP_TYPES
Field Value
TypeDescription
io.r2dbc.spi.Option<String>

NAMED_CONNECTOR

public static final Option<String> NAMED_CONNECTOR
Field Value
TypeDescription
io.r2dbc.spi.Option<String>

TARGET_PRINCIPAL

public static final Option<String> TARGET_PRINCIPAL
Field Value
TypeDescription
io.r2dbc.spi.Option<String>

UNIX_SOCKET

public static final Option<String> UNIX_SOCKET
Field Value
TypeDescription
io.r2dbc.spi.Option<String>

Constructors

GcpConnectionFactoryProvider()

public GcpConnectionFactoryProvider()

Methods

create(ConnectionFactoryOptions connectionFactoryOptions)

public ConnectionFactory create(ConnectionFactoryOptions connectionFactoryOptions)
Parameter
NameDescription
connectionFactoryOptionsio.r2dbc.spi.ConnectionFactoryOptions
Returns
TypeDescription
io.r2dbc.spi.ConnectionFactory

getDriver()

public String getDriver()
Returns
TypeDescription
String

supports(ConnectionFactoryOptions connectionFactoryOptions)

public boolean supports(ConnectionFactoryOptions connectionFactoryOptions)
Parameter
NameDescription
connectionFactoryOptionsio.r2dbc.spi.ConnectionFactoryOptions
Returns
TypeDescription
boolean