Package io.trino.plugin.hive.metastore
Class DecoratedHiveMetastoreModule
- java.lang.Object
-
- io.airlift.configuration.AbstractConfigurationAwareModule
-
- io.trino.plugin.hive.metastore.DecoratedHiveMetastoreModule
-
- All Implemented Interfaces:
com.google.inject.Module,io.airlift.configuration.ConfigurationAwareModule
public class DecoratedHiveMetastoreModule extends io.airlift.configuration.AbstractConfigurationAwareModule
-
-
Constructor Summary
Constructors Constructor Description DecoratedHiveMetastoreModule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Optional<CachingHiveMetastore>createHiveMetastore(HiveMetastoreFactory metastoreFactory)static HiveMetastoreFactorycreateHiveMetastore(HiveMetastoreFactory metastoreFactory, Set<HiveMetastoreDecorator> decorators, SharedHiveMetastoreCache sharedHiveMetastoreCache)protected voidsetup(com.google.inject.Binder binder)
-
-
-
Method Detail
-
setup
protected void setup(com.google.inject.Binder binder)
- Specified by:
setupin classio.airlift.configuration.AbstractConfigurationAwareModule
-
createHiveMetastore
@Provides public static HiveMetastoreFactory createHiveMetastore(HiveMetastoreFactory metastoreFactory, Set<HiveMetastoreDecorator> decorators, SharedHiveMetastoreCache sharedHiveMetastoreCache)
-
createHiveMetastore
@Provides public static Optional<CachingHiveMetastore> createHiveMetastore(HiveMetastoreFactory metastoreFactory)
-
-