WARNING: This package does not contain any stable, public Java API. The class definitions may change without notice.
Package com.google.cloud.sql.core holds internal shared packages that implement logic to create a socket to a Cloud SQL database.
Classes
CloudSqlConnectionFactory
ConnectionFactory for accessing Cloud SQL instances via R2DBC protocol.
ConnectionConfig
ConnectionConfig is an immutable configuration value object that holds the entire configuration of a CloudSqlInstance connection.
WARNING: This is an internal class. The API is subject to change without notice.
ConnectionConfig.Builder
The builder for the ConnectionConfig.
ConnectionMetadata
A value object containing configuration needed to set up an mTLS connection to a Cloud SQL instance.
CoreSocketFactory (deprecated)
Deprecated. Use the official java API instead.
Implementation of informally used Java API to preserve compatibility with older code that uses CoreSocketFactory. See Also: com.google.cloud.sql.ConnectorRegistry
DefaultConnectionInfoRepositoryFactory
Factory for creating a SQLAdmin client that interacts with the real SQL Admin API.
GcpConnectionFactoryProvider
ConnectionFactoryProvider for proxied access to GCP Postgres and MySQL instances.
GcpConnectionFactoryProviderMssql
ConnectionFactoryProvider for proxied access to GCP MsSQL instances.
GcpConnectionFactoryProviderMysql
ConnectionFactoryProvider for proxied access to GCP MySQL instances.
GcpConnectionFactoryProviderPostgres
ConnectionFactoryProvider for proxied access to GCP Postgres instances.
InternalConnectorRegistry
InternalConnectorRegistry keeps track of connectors. This class should not be used directly, but
only through the JDBC driver specific SocketFactory
implementations.
WARNING: This is an internal class. The API is subject to change without notice.
Interfaces
ConnectionInfoRepositoryFactory
Factory interface for creating SQLAdmin clients to interact with Cloud SQL Admin API.