Class StaticMetastoreConfig

java.lang.Object
io.trino.plugin.hive.metastore.thrift.StaticMetastoreConfig

public class StaticMetastoreConfig extends Object
  • Field Details

  • Constructor Details

    • StaticMetastoreConfig

      public StaticMetastoreConfig()
  • Method Details

    • getMetastoreUris

      @NotNull public @NotNull List<URI> getMetastoreUris()
    • setMetastoreUris

      @Config("hive.metastore.uri") public StaticMetastoreConfig setMetastoreUris(List<String> uris)
    • getMetastoreUsername

      public String getMetastoreUsername()
    • setMetastoreUsername

      @Config("hive.metastore.username") public StaticMetastoreConfig setMetastoreUsername(String metastoreUsername)
    • isMetastoreHttpUrisValid

      @AssertFalse(message="'hive.metastore.uri' cannot contain both http and https URI schemes") public @AssertFalse(message="'hive.metastore.uri' cannot contain both http and https URI schemes") boolean isMetastoreHttpUrisValid()
    • isEitherThriftOrHttpMetastore

      @AssertFalse(message="'hive.metastore.uri' cannot contain both http(s) and thrift URI schemes") public @AssertFalse(message="'hive.metastore.uri' cannot contain both http(s) and thrift URI schemes") boolean isEitherThriftOrHttpMetastore()