Class HanaHistoryDdl
java.lang.Object
io.ebeaninternal.dbmigration.ddlgeneration.platform.DbTableBasedHistoryDdl
io.ebeaninternal.dbmigration.ddlgeneration.platform.HanaHistoryDdl
- All Implemented Interfaces:
PlatformHistoryDdl,PlatformHistoryDdl.TableBased
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.ebeaninternal.dbmigration.ddlgeneration.platform.PlatformHistoryDdl
PlatformHistoryDdl.TableBased -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHistoryTable(DdlWrite writer, AddHistoryTable addHistoryTable) Add history support to the given table.voidconfigure(io.ebean.config.DatabaseConfig config, PlatformDdl platformDdl) Configure typically reading the necessary parameters from DatabaseConfig and Platform.voidcreateWithHistory(DdlWrite writer, MTable table) Creates a new table and add history support to the table using platform specific mechanism.voiddisableSystemVersioning(DdlBuffer apply, String tableName) voiddropHistoryTable(DdlWrite writer, DropHistoryTable dropHistoryTable) Drop history support for the given table.voidenableSystemVersioning(DdlBuffer apply, String tableName, boolean validated) voidupdateTriggers(DdlWrite writer, String tableName) Regenerate the history triggers/stored function due to column added/dropped/included or excluded.Methods inherited from class io.ebeaninternal.dbmigration.ddlgeneration.platform.DbTableBasedHistoryDdl
historyTableName
-
Constructor Details
-
HanaHistoryDdl
public HanaHistoryDdl()
-
-
Method Details
-
configure
Description copied from interface:PlatformHistoryDdlConfigure typically reading the necessary parameters from DatabaseConfig and Platform.- Specified by:
configurein interfacePlatformHistoryDdl- Overrides:
configurein classDbTableBasedHistoryDdl
-
createWithHistory
Description copied from interface:PlatformHistoryDdlCreates a new table and add history support to the table using platform specific mechanism.- Specified by:
createWithHistoryin interfacePlatformHistoryDdl
-
dropHistoryTable
Description copied from interface:PlatformHistoryDdlDrop history support for the given table.- Specified by:
dropHistoryTablein interfacePlatformHistoryDdl
-
addHistoryTable
Description copied from interface:PlatformHistoryDdlAdd history support to the given table.- Specified by:
addHistoryTablein interfacePlatformHistoryDdl
-
updateTriggers
Description copied from interface:PlatformHistoryDdlRegenerate the history triggers/stored function due to column added/dropped/included or excluded. Note: This function may be called multiple times for the same table.- Specified by:
updateTriggersin interfacePlatformHistoryDdl
-
disableSystemVersioning
-
enableSystemVersioning
-