Class GlueMetastoreModule
java.lang.Object
io.airlift.configuration.AbstractConfigurationAwareModule
io.trino.plugin.hive.metastore.glue.GlueMetastoreModule
- All Implemented Interfaces:
com.google.inject.Module,io.airlift.configuration.ConfigurationAwareModule
public class GlueMetastoreModule
extends io.airlift.configuration.AbstractConfigurationAwareModule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GlueCachecreateGlueCache(CachingHiveMetastoreConfig config, CatalogName catalogName, NodeManager nodeManager) static software.amazon.awssdk.services.glue.GlueClientcreateGlueClient(GlueHiveMetastoreConfig config, io.opentelemetry.api.OpenTelemetry openTelemetry) static Set<GlueHiveMetastore.TableKind> getTableKinds(boolean hideDeltaLakeTables) protected voidsetup(com.google.inject.Binder binder) Methods inherited from class io.airlift.configuration.AbstractConfigurationAwareModule
buildConfigObject, buildConfigObject, configure, consumeProperty, getProperties, getProperty, install, setConfigurationFactory
-
Constructor Details
-
GlueMetastoreModule
public GlueMetastoreModule()
-
-
Method Details
-
setup
protected void setup(com.google.inject.Binder binder) - Specified by:
setupin classio.airlift.configuration.AbstractConfigurationAwareModule
-
getTableKinds
@ProvidesIntoOptional(DEFAULT) public static Set<GlueHiveMetastore.TableKind> getTableKinds(boolean hideDeltaLakeTables) -
createGlueCache
@Provides public static GlueCache createGlueCache(CachingHiveMetastoreConfig config, CatalogName catalogName, NodeManager nodeManager) -
createGlueClient
@Provides public static software.amazon.awssdk.services.glue.GlueClient createGlueClient(GlueHiveMetastoreConfig config, io.opentelemetry.api.OpenTelemetry openTelemetry)
-