Class CachingHiveMetastoreModule
- java.lang.Object
-
- io.trino.plugin.hive.metastore.cache.CachingHiveMetastoreModule
-
- All Implemented Interfaces:
com.google.inject.Module
public class CachingHiveMetastoreModule extends Object implements com.google.inject.Module
-
-
Constructor Summary
Constructors Constructor Description CachingHiveMetastoreModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(com.google.inject.Binder binder)HiveMetastorecreateCachingHiveMetastore(NodeManager nodeManager, HiveMetastore delegate, CachingHiveMetastoreConfig config, CatalogName catalogName, Optional<HiveMetastoreDecorator> hiveMetastoreDecorator)
-
-
-
Method Detail
-
configure
public void configure(com.google.inject.Binder binder)
- Specified by:
configurein interfacecom.google.inject.Module
-
createCachingHiveMetastore
@Provides @Singleton public HiveMetastore createCachingHiveMetastore(NodeManager nodeManager, HiveMetastore delegate, CachingHiveMetastoreConfig config, CatalogName catalogName, Optional<HiveMetastoreDecorator> hiveMetastoreDecorator)
-
-