Package io.trino.plugin.jdbc
Class JdbcDiagnosticModule
java.lang.Object
io.trino.plugin.jdbc.JdbcDiagnosticModule
- All Implemented Interfaces:
com.google.inject.Module
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(com.google.inject.Binder binder) static ConnectionFactorycreateConnectionFactoryWithStats(ConnectionFactory connectionFactory) createJdbcClientWithStats(JdbcClient client, CatalogName catalogName)
-
Constructor Details
-
JdbcDiagnosticModule
public JdbcDiagnosticModule()
-
-
Method Details
-
configure
public void configure(com.google.inject.Binder binder) - Specified by:
configurein interfacecom.google.inject.Module
-
createJdbcClientWithStats
-
createConnectionFactoryWithStats
@Provides public static ConnectionFactory createConnectionFactoryWithStats(ConnectionFactory connectionFactory)
-