Package io.trino.plugin.jdbc
Class JdbcModule
java.lang.Object
io.airlift.configuration.AbstractConfigurationAwareModule
io.trino.plugin.jdbc.JdbcModule
- All Implemented Interfaces:
com.google.inject.Module,io.airlift.configuration.ConfigurationAwareModule
public class JdbcModule
extends io.airlift.configuration.AbstractConfigurationAwareModule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbindProcedure(com.google.inject.Binder binder, Class<? extends javax.inject.Provider<? extends Procedure>> type) static voidbindSessionPropertiesProvider(com.google.inject.Binder binder, Class<? extends SessionPropertiesProvider> type) static voidbindTablePropertiesProvider(com.google.inject.Binder binder, Class<? extends TablePropertiesProvider> type) static com.google.inject.multibindings.Multibinder<Procedure>procedureBinder(com.google.inject.Binder binder) static com.google.inject.multibindings.Multibinder<SessionPropertiesProvider>sessionPropertiesProviderBinder(com.google.inject.Binder binder) voidsetup(com.google.inject.Binder binder) voidshutdownRecordCursorExecutor(ExecutorService executor) static com.google.inject.multibindings.Multibinder<TablePropertiesProvider>tablePropertiesProviderBinder(com.google.inject.Binder binder) Methods inherited from class io.airlift.configuration.AbstractConfigurationAwareModule
buildConfigObject, buildConfigObject, configure, getProperty, install, setConfigurationFactory
-
Constructor Details
-
JdbcModule
public JdbcModule()
-
-
Method Details
-
setup
public void setup(com.google.inject.Binder binder) - Specified by:
setupin classio.airlift.configuration.AbstractConfigurationAwareModule
-
sessionPropertiesProviderBinder
public static com.google.inject.multibindings.Multibinder<SessionPropertiesProvider> sessionPropertiesProviderBinder(com.google.inject.Binder binder) -
bindSessionPropertiesProvider
public static void bindSessionPropertiesProvider(com.google.inject.Binder binder, Class<? extends SessionPropertiesProvider> type) -
procedureBinder
public static com.google.inject.multibindings.Multibinder<Procedure> procedureBinder(com.google.inject.Binder binder) -
bindProcedure
-
tablePropertiesProviderBinder
public static com.google.inject.multibindings.Multibinder<TablePropertiesProvider> tablePropertiesProviderBinder(com.google.inject.Binder binder) -
bindTablePropertiesProvider
public static void bindTablePropertiesProvider(com.google.inject.Binder binder, Class<? extends TablePropertiesProvider> type) -
shutdownRecordCursorExecutor
-