Class GlueHiveMetastoreConfig

java.lang.Object
io.trino.plugin.hive.metastore.glue.GlueHiveMetastoreConfig

@DefunctConfig({"hive.metastore.glue.use-instance-credentials","hive.metastore.glue.get-partition-threads","hive.metastore.glue.read-statistics-threads","hive.metastore.glue.write-statistics-threads","hive.metastore.glue.proxy-api-id","hive.metastore.glue.aws-credentials-provider"}) public class GlueHiveMetastoreConfig extends Object
  • Constructor Details

    • GlueHiveMetastoreConfig

      public GlueHiveMetastoreConfig()
  • Method Details

    • getGlueRegion

      public Optional<String> getGlueRegion()
    • setGlueRegion

      @Config("hive.metastore.glue.region") public GlueHiveMetastoreConfig setGlueRegion(String region)
    • getGlueEndpointUrl

      public Optional<String> getGlueEndpointUrl()
    • setGlueEndpointUrl

      @Config("hive.metastore.glue.endpoint-url") public GlueHiveMetastoreConfig setGlueEndpointUrl(String glueEndpointUrl)
    • getGlueStsRegion

      public Optional<String> getGlueStsRegion()
    • setGlueStsRegion

      @Config("hive.metastore.glue.sts.region") public GlueHiveMetastoreConfig setGlueStsRegion(String glueStsRegion)
    • getGlueStsEndpointUrl

      public Optional<String> getGlueStsEndpointUrl()
    • setGlueStsEndpointUrl

      @Config("hive.metastore.glue.sts.endpoint") public GlueHiveMetastoreConfig setGlueStsEndpointUrl(String glueStsEndpointUrl)
    • getPinGlueClientToCurrentRegion

      public boolean getPinGlueClientToCurrentRegion()
    • setPinGlueClientToCurrentRegion

      @Config("hive.metastore.glue.pin-client-to-current-region") public GlueHiveMetastoreConfig setPinGlueClientToCurrentRegion(boolean pinGlueClientToCurrentRegion)
    • getMaxGlueConnections

      @Min(1L) public @Min(1L) int getMaxGlueConnections()
    • setMaxGlueConnections

      @Config("hive.metastore.glue.max-connections") public GlueHiveMetastoreConfig setMaxGlueConnections(int maxGlueConnections)
    • getMaxGlueErrorRetries

      @Min(0L) public @Min(0L) int getMaxGlueErrorRetries()
    • setMaxGlueErrorRetries

      @Config("hive.metastore.glue.max-error-retries") public GlueHiveMetastoreConfig setMaxGlueErrorRetries(int maxGlueErrorRetries)
    • getDefaultWarehouseDir

      public Optional<String> getDefaultWarehouseDir()
    • setDefaultWarehouseDir

      @Config("hive.metastore.glue.default-warehouse-dir") public GlueHiveMetastoreConfig setDefaultWarehouseDir(String defaultWarehouseDir)
    • getIamRole

      public Optional<String> getIamRole()
    • setIamRole

      @Config("hive.metastore.glue.iam-role") public GlueHiveMetastoreConfig setIamRole(String iamRole)
    • getExternalId

      public Optional<String> getExternalId()
    • setExternalId

      @Config("hive.metastore.glue.external-id") public GlueHiveMetastoreConfig setExternalId(String externalId)
    • getAwsAccessKey

      public Optional<String> getAwsAccessKey()
    • setAwsAccessKey

      @Config("hive.metastore.glue.aws-access-key") public GlueHiveMetastoreConfig setAwsAccessKey(String awsAccessKey)
    • getAwsSecretKey

      public Optional<String> getAwsSecretKey()
    • setAwsSecretKey

      @Config("hive.metastore.glue.aws-secret-key") public GlueHiveMetastoreConfig setAwsSecretKey(String awsSecretKey)
    • isUseWebIdentityTokenCredentialsProvider

      public boolean isUseWebIdentityTokenCredentialsProvider()
    • setUseWebIdentityTokenCredentialsProvider

      @Config("hive.metastore.glue.use-web-identity-token-credentials-provider") public GlueHiveMetastoreConfig setUseWebIdentityTokenCredentialsProvider(boolean useWebIdentityTokenCredentialsProvider)
    • getCatalogId

      public Optional<String> getCatalogId()
    • setCatalogId

      @Config("hive.metastore.glue.catalogid") public GlueHiveMetastoreConfig setCatalogId(String catalogId)
    • getPartitionSegments

      @Min(1L) @Max(10L) public @Min(1L) @Max(10L) int getPartitionSegments()
    • setPartitionSegments

      @Config("hive.metastore.glue.partitions-segments") public GlueHiveMetastoreConfig setPartitionSegments(int partitionSegments)
    • getThreads

      @Min(1L) public @Min(1L) int getThreads()
    • setThreads

      @Config("hive.metastore.glue.threads") public GlueHiveMetastoreConfig setThreads(int threads)
    • isAssumeCanonicalPartitionKeys

      public boolean isAssumeCanonicalPartitionKeys()
    • setAssumeCanonicalPartitionKeys

      @Config("hive.metastore.glue.assume-canonical-partition-keys") public GlueHiveMetastoreConfig setAssumeCanonicalPartitionKeys(boolean assumeCanonicalPartitionKeys)