Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BackfillResourceChangeLog

        public BackfillResourceChangeLog​(java.lang.String schemaName,
                                         java.lang.String resourceType)
        Public constructor
        Parameters:
        schemaName -
        resourceType -
    • Method Detail