Class ReadOnlyTableManager<T extends TableDefinition>
java.lang.Object
io.trino.tempto.fulfillment.table.ReadOnlyTableManager<T>
- All Implemented Interfaces:
TableManager<T>,Closeable,AutoCloseable
public class ReadOnlyTableManager<T extends TableDefinition>
extends Object
implements TableManager<T>
Table manager for read only databases.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface io.trino.tempto.fulfillment.table.TableManager
TableManager.Descriptor -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateImmutable(T tableDefinition, TableHandle tableHandle) createMutable(T tableDefinition, MutableTableRequirement.State state, TableHandle tableHandle) voidvoidClass<? extends TableDefinition>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
close, createImmutable, createMutable, createMutable
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
ReadOnlyTableManager
-
-
Method Details
-
createImmutable
- Specified by:
createImmutablein interfaceTableManager<T extends TableDefinition>
-
createMutable
public TableInstance<T> createMutable(T tableDefinition, MutableTableRequirement.State state, TableHandle tableHandle) - Specified by:
createMutablein interfaceTableManager<T extends TableDefinition>
-
dropTable
- Specified by:
dropTablein interfaceTableManager<T extends TableDefinition>
-
dropStaleMutableTables
public void dropStaleMutableTables()- Specified by:
dropStaleMutableTablesin interfaceTableManager<T extends TableDefinition>
-
getDatabaseName
- Specified by:
getDatabaseNamein interfaceTableManager<T extends TableDefinition>
-
getTableDefinitionClass
- Specified by:
getTableDefinitionClassin interfaceTableManager<T extends TableDefinition>
-