public class HiveModule extends Object implements com.google.inject.Module
| Modifier and Type | Class and Description |
|---|---|
static class |
HiveModule.TypeDeserializer |
| Constructor and Description |
|---|
HiveModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(com.google.inject.Binder binder) |
ExecutorService |
createHiveClientExecutor(CatalogName catalogName) |
ScheduledExecutorService |
createHiveTransactionHeartbeatExecutor(CatalogName catalogName,
HiveConfig hiveConfig) |
Function<HiveTransactionHandle,SemiTransactionalHiveMetastore> |
createMetastoreGetter(HiveTransactionManager transactionManager) |
public void configure(com.google.inject.Binder binder)
configure in interface com.google.inject.Module@Singleton @Provides public ExecutorService createHiveClientExecutor(CatalogName catalogName)
@Singleton @Provides public ScheduledExecutorService createHiveTransactionHeartbeatExecutor(CatalogName catalogName, HiveConfig hiveConfig)
@Singleton @Provides public Function<HiveTransactionHandle,SemiTransactionalHiveMetastore> createMetastoreGetter(HiveTransactionManager transactionManager)
Copyright © 2012–2020. All rights reserved.