public class HiveClientModule extends Object implements com.google.inject.Module
| Constructor and Description |
|---|
HiveClientModule(String connectorId) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(com.google.inject.Binder binder) |
ExecutorService |
createCachingHiveMetastoreExecutor(HiveConnectorId hiveClientId,
com.facebook.presto.hive.MetastoreClientConfig metastoreClientConfig) |
com.google.common.util.concurrent.ListeningExecutorService |
createFileRanemeExecutor(HiveConnectorId hiveClientId,
HiveClientConfig hiveClientConfig) |
ExecutorService |
createHiveClientExecutor(HiveConnectorId hiveClientId) |
com.facebook.presto.orc.cache.OrcFileTailSource |
createOrcFileTailSource(com.facebook.presto.orc.cache.OrcCacheConfig orcCacheConfig,
org.weakref.jmx.MBeanExporter exporter) |
com.facebook.presto.parquet.cache.ParquetMetadataSource |
createParquetMetadataSource(com.facebook.presto.parquet.cache.ParquetCacheConfig parquetCacheConfig,
org.weakref.jmx.MBeanExporter exporter) |
com.facebook.presto.orc.StripeMetadataSourceFactory |
createStripeMetadataSourceFactory(com.facebook.presto.orc.cache.OrcCacheConfig orcCacheConfig,
org.weakref.jmx.MBeanExporter exporter) |
ExecutorService |
createUpdatingHiveMetadataExecutor(HiveConnectorId hiveClientId) |
com.google.common.util.concurrent.ListeningExecutorService |
createZeroRowFileCreatorExecutor(HiveConnectorId hiveClientId,
HiveClientConfig hiveClientConfig) |
public HiveClientModule(String connectorId)
public void configure(com.google.inject.Binder binder)
configure in interface com.google.inject.Module@Singleton @Provides public ExecutorService createHiveClientExecutor(HiveConnectorId hiveClientId)
@Singleton @Provides public ExecutorService createCachingHiveMetastoreExecutor(HiveConnectorId hiveClientId, com.facebook.presto.hive.MetastoreClientConfig metastoreClientConfig)
@Singleton @Provides public ExecutorService createUpdatingHiveMetadataExecutor(HiveConnectorId hiveClientId)
@Singleton @Provides public com.google.common.util.concurrent.ListeningExecutorService createFileRanemeExecutor(HiveConnectorId hiveClientId, HiveClientConfig hiveClientConfig)
@Singleton @Provides public com.google.common.util.concurrent.ListeningExecutorService createZeroRowFileCreatorExecutor(HiveConnectorId hiveClientId, HiveClientConfig hiveClientConfig)
@Singleton
@Provides
public com.facebook.presto.orc.cache.OrcFileTailSource createOrcFileTailSource(com.facebook.presto.orc.cache.OrcCacheConfig orcCacheConfig,
org.weakref.jmx.MBeanExporter exporter)
@Singleton
@Provides
public com.facebook.presto.orc.StripeMetadataSourceFactory createStripeMetadataSourceFactory(com.facebook.presto.orc.cache.OrcCacheConfig orcCacheConfig,
org.weakref.jmx.MBeanExporter exporter)
@Singleton
@Provides
public com.facebook.presto.parquet.cache.ParquetMetadataSource createParquetMetadataSource(com.facebook.presto.parquet.cache.ParquetCacheConfig parquetCacheConfig,
org.weakref.jmx.MBeanExporter exporter)
Copyright © 2012–2023. All rights reserved.