Class BackfillResourceChangeLog
- java.lang.Object
-
- org.linuxforhealth.fhir.schema.control.BackfillResourceChangeLog
-
- All Implemented Interfaces:
IDatabaseStatement
public class BackfillResourceChangeLog extends java.lang.Object implements IDatabaseStatement
Backfill the RESOURCE_CHANGE_LOG table using all the existing _RESOURCES records for the given resourceType. For non-multi-tenant schemas, the RESOURCE_CHANGE_LOG table looks like this: Data type Column Column name schema Data type name Length Scale Nulls ------------------------------- --------- ------------------- ---------- ----- ------ RESOURCE_ID SYSIBM BIGINT 8 0 No RESOURCE_TYPE_ID SYSIBM INTEGER 4 0 No LOGICAL_RESOURCE_ID SYSIBM BIGINT 8 0 No CHANGE_TSTAMP SYSIBM TIMESTAMP 10 6 No VERSION_ID SYSIBM INTEGER 4 0 No CHANGE_TYPE SYSIBM CHARACTER 1 0 No
-
-
Constructor Summary
Constructors Constructor Description BackfillResourceChangeLog(java.lang.String schemaName, java.lang.String resourceType)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run(IDatabaseTranslator translator, java.sql.Connection c)
Execute the statement using the connection.
-
-
-
Method Detail
-
run
public void run(IDatabaseTranslator translator, java.sql.Connection c)
Description copied from interface:IDatabaseStatement
Execute the statement using the connection.- Specified by:
run
in interfaceIDatabaseStatement
- Parameters:
translator
- to translate any exceptions
-
-