Package io.trino.plugin.phoenix5
Class PhoenixClientModule
java.lang.Object
io.airlift.configuration.AbstractConfigurationAwareModule
io.trino.plugin.phoenix5.PhoenixClientModule
- All Implemented Interfaces:
com.google.inject.Module,io.airlift.configuration.ConfigurationAwareModule
public class PhoenixClientModule
extends io.airlift.configuration.AbstractConfigurationAwareModule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetConnectionFactory(PhoenixConfig config) static PropertiesgetConnectionProperties(PhoenixConfig config) protected voidsetup(com.google.inject.Binder binder) voidshutdownRecordCursorExecutor(ExecutorService executor) Methods inherited from class io.airlift.configuration.AbstractConfigurationAwareModule
buildConfigObject, buildConfigObject, configure, getProperty, install, setConfigurationFactory
-
Constructor Details
-
PhoenixClientModule
-
-
Method Details
-
setup
protected void setup(com.google.inject.Binder binder) - Specified by:
setupin classio.airlift.configuration.AbstractConfigurationAwareModule
-
getConnectionFactory
- Throws:
SQLException
-
getConnectionProperties
- Throws:
SQLException
-
createRecordCursorExecutor
-
shutdownRecordCursorExecutor
-