Interface DeltaLakeMetastore

All Known Implementing Classes:
HiveMetastoreBackedDeltaLakeMetastore

public interface DeltaLakeMetastore
  • Method Details

    • getAllDatabases

      List<String> getAllDatabases()
    • getDatabase

      Optional<io.trino.plugin.hive.metastore.Database> getDatabase(String databaseName)
    • getAllTables

      List<String> getAllTables(String databaseName)
    • getRawMetastoreTable

      Optional<io.trino.plugin.hive.metastore.Table> getRawMetastoreTable(String databaseName, String tableName)
    • getTable

      Optional<DeltaMetastoreTable> getTable(String databaseName, String tableName)
    • createDatabase

      void createDatabase(io.trino.plugin.hive.metastore.Database database)
    • dropDatabase

      void dropDatabase(String databaseName, boolean deleteData)
    • createTable

      void createTable(io.trino.plugin.hive.metastore.Table table, io.trino.plugin.hive.metastore.PrincipalPrivileges principalPrivileges)
    • dropTable

      void dropTable(SchemaTableName schemaTableName, String tableLocation, boolean deleteData)
    • renameTable

      void renameTable(SchemaTableName from, SchemaTableName to)