Class BackfillResourceChangeLogDb2

  • All Implemented Interfaces:
    IDatabaseStatement

    public class BackfillResourceChangeLogDb2
    extends Object
    implements IDatabaseStatement
    Backfill the RESOURCE_CHANGE_LOG table using all the existing _RESOURCE records for the given resourceType. For multi-tenant schemas, the table definition looks like this: Data type Column Column name schema Data type name Length Scale Nulls ------------------------------- --------- ------------------- ---------- ----- ------ MT_ID SYSIBM INTEGER 4 0 No 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 This variant is used for the Db2 multi-tenant schema and must be invoked on a per-tenant basis (the FHIR_ADMIN.SV_TENANT_ID value must be set prior to invoking run on this class)
    • Constructor Detail

      • BackfillResourceChangeLogDb2

        public BackfillResourceChangeLogDb2​(String schemaName,
                                            String resourceType)
        Public constructor
        Parameters:
        schemaName -
        resourceType -