Interface TemporaryTableExporter
- All Known Implementing Classes:
StandardTemporaryTableExporter
An exporter for temporary tables.
Unlike other DDL exporters, this
exporter is called at runtime instead of during schema management. A custom
implementation should normally extend or compose
StandardTemporaryTableExporter and must interpret descriptors according to
the TemporaryTableStrategy supplied by the same Dialect.
Exporters may be reused concurrently. They must not retain descriptors or sessions passed to these methods.
- Since:
- 8.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetSqlCreateCommand(TemporaryTableDescriptor temporaryTable) Build the complete create-table command for the descriptor.getSqlDropCommand(TemporaryTableDescriptor temporaryTable) Build the complete drop-table command for the descriptor.getSqlTruncateCommand(TemporaryTableDescriptor temporaryTable, Function<SharedSessionContractImplementor, String> sessionUidAccess, SharedSessionContractImplementor session) Build the complete cleanup command for the descriptor.
-
Method Details
-
getSqlCreateCommand
Build the complete create-table command for the descriptor. -
getSqlDropCommand
Build the complete drop-table command for the descriptor.
-