Class HiveMetastoreBackedDeltaLakeMetastore
java.lang.Object
io.trino.plugin.deltalake.metastore.HiveMetastoreBackedDeltaLakeMetastore
- All Implemented Interfaces:
DeltaLakeMetastore
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateDatabase(Database database) voidcreateTable(ConnectorSession session, Table table, PrincipalPrivileges principalPrivileges) voiddropDatabase(String databaseName, boolean deleteData) voiddropTable(ConnectorSession session, SchemaTableName schemaTableName, String tableLocation, boolean deleteData) getAllTables(String databaseName) getDatabase(String databaseName) getRawMetastoreTable(String databaseName, String tableName) static StringgetTableLocation(Table table) voidrenameTable(ConnectorSession session, SchemaTableName from, SchemaTableName to) static voidverifyDeltaLakeTable(Table table)
-
Field Details
-
TABLE_PROVIDER_PROPERTY
- See Also:
-
TABLE_PROVIDER_VALUE
- See Also:
-
-
Constructor Details
-
HiveMetastoreBackedDeltaLakeMetastore
-
-
Method Details
-
getAllDatabases
- Specified by:
getAllDatabasesin interfaceDeltaLakeMetastore
-
getDatabase
- Specified by:
getDatabasein interfaceDeltaLakeMetastore
-
getAllTables
- Specified by:
getAllTablesin interfaceDeltaLakeMetastore
-
getRawMetastoreTable
- Specified by:
getRawMetastoreTablein interfaceDeltaLakeMetastore
-
getTable
- Specified by:
getTablein interfaceDeltaLakeMetastore
-
verifyDeltaLakeTable
-
createDatabase
- Specified by:
createDatabasein interfaceDeltaLakeMetastore
-
dropDatabase
- Specified by:
dropDatabasein interfaceDeltaLakeMetastore
-
createTable
public void createTable(ConnectorSession session, Table table, PrincipalPrivileges principalPrivileges) - Specified by:
createTablein interfaceDeltaLakeMetastore
-
dropTable
public void dropTable(ConnectorSession session, SchemaTableName schemaTableName, String tableLocation, boolean deleteData) - Specified by:
dropTablein interfaceDeltaLakeMetastore
-
renameTable
- Specified by:
renameTablein interfaceDeltaLakeMetastore
-
getTableLocation
-