Class GlueHiveMetastoreConfig

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

@DefunctConfig("hive.metastore.glue.use-instance-credentials") 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)
    • getGlueProxyApiId

      public Optional<String> getGlueProxyApiId()
    • setGlueProxyApiId

      @Config("hive.metastore.glue.proxy-api-id") public GlueHiveMetastoreConfig setGlueProxyApiId(String glueProxyApiId)
    • 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)
    • getCatalogId

      public Optional<String> getCatalogId()
    • setCatalogId

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

      public Optional<String> getAwsCredentialsProvider()
    • setAwsCredentialsProvider

      @Config("hive.metastore.glue.aws-credentials-provider") public GlueHiveMetastoreConfig setAwsCredentialsProvider(String awsCredentialsProvider)
    • getPartitionSegments

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

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

      @Min(1L) public @Min(1L) int getGetPartitionThreads()
    • setGetPartitionThreads

      @Config("hive.metastore.glue.get-partition-threads") public GlueHiveMetastoreConfig setGetPartitionThreads(int getPartitionThreads)
    • isAssumeCanonicalPartitionKeys

      public boolean isAssumeCanonicalPartitionKeys()
    • setAssumeCanonicalPartitionKeys

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

      @Min(1L) public @Min(1L) int getReadStatisticsThreads()
    • setReadStatisticsThreads

      @Config("hive.metastore.glue.read-statistics-threads") public GlueHiveMetastoreConfig setReadStatisticsThreads(int getReadStatisticsThreads)
    • getWriteStatisticsThreads

      @Min(1L) public @Min(1L) int getWriteStatisticsThreads()
    • setWriteStatisticsThreads

      @Config("hive.metastore.glue.write-statistics-threads") public GlueHiveMetastoreConfig setWriteStatisticsThreads(int writeStatisticsThreads)
    • validate

      @PostConstruct public void validate()