Class AbstractTableManager<T extends TableDefinition>
java.lang.Object
io.trino.tempto.internal.fulfillment.table.AbstractTableManager<T>
- All Implemented Interfaces:
TableManager<T>,Closeable,AutoCloseable
- Direct Known Subclasses:
HiveTableManager,JdbcTableManager
public abstract class AbstractTableManager<T extends TableDefinition>
extends Object
implements TableManager<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.trino.tempto.fulfillment.table.TableManager
TableManager.Descriptor -
Constructor Summary
ConstructorsConstructorDescriptionAbstractTableManager(QueryExecutor queryExecutor, TableNameGenerator tableNameGenerator) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected TableNamecreateImmutableTableName(TableHandle tableHandle) protected TableNamecreateMutableTableName(TableHandle tableHandle) voidvoidprotected voiddropTableIgnoreError(TableName tableName) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.tempto.fulfillment.table.TableManager
createImmutable, createImmutable, createMutable, createMutable, createMutable, getDatabaseName, getTableDefinitionClass
-
Constructor Details
-
AbstractTableManager
-
-
Method Details
-
dropStaleMutableTables
public void dropStaleMutableTables()- Specified by:
dropStaleMutableTablesin interfaceTableManager<T extends TableDefinition>
-
dropTableIgnoreError
-
dropTable
- Specified by:
dropTablein interfaceTableManager<T extends TableDefinition>
-
createMutableTableName
-
createImmutableTableName
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceTableManager<T extends TableDefinition>
-