Class PostgreSqlConnectionFactoryModule

java.lang.Object
io.airlift.configuration.AbstractConfigurationAwareModule
io.trino.plugin.postgresql.PostgreSqlConnectionFactoryModule
All Implemented Interfaces:
com.google.inject.Module, io.airlift.configuration.ConfigurationAwareModule

public class PostgreSqlConnectionFactoryModule extends io.airlift.configuration.AbstractConfigurationAwareModule
  • Constructor Details

    • PostgreSqlConnectionFactoryModule

      public PostgreSqlConnectionFactoryModule()
  • Method Details

    • setup

      public void setup(com.google.inject.Binder binder)
      Specified by:
      setup in class io.airlift.configuration.AbstractConfigurationAwareModule
    • getConnectionFactory

      @Provides public static ConnectionFactory getConnectionFactory(BaseJdbcConfig config, CredentialProvider credentialProvider, io.opentelemetry.api.OpenTelemetry openTelemetry)