com.ibm.commerce.marketingcenter.events.util

Class ImportStats

  • java.lang.Object
    • com.ibm.commerce.marketingcenter.events.util.ImportStats


  • public class ImportStats
    extends java.lang.Object
    This class is used to connect to the database and import the content of an XML file (created by ExportStats) into the database. This program is an utility. The required command line arguments to run this utility are:
    • -D DB2 or ORACLE or DB400 or DB390
    • -N databease name
    • -U database user ID
    • -P database password
    • -F output file name

    Of course, all these arguments appear on the same line when you run this command.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String CMD_LINE_HELP
      Usage of the utility.
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ImportStats()
      Constructs the ImportStats object.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void main(java.lang.String[] args)
      Main method of this utility.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CMD_LINE_HELP

        public static final java.lang.String CMD_LINE_HELP
        Usage of the utility. This message will appear if you run this command incorrectly.
        See Also:
        Constant Field Values
      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ImportStats

        public ImportStats()
        Constructs the ImportStats object.
    • Method Detail

      • main

        public static void main(java.lang.String[] args)
        Main method of this utility. The DBXMLFileReader object is used to read from the XML file.
        Parameters:
        args - The command line argument must follow this pattern:
        • -D DB2 or ORACLE or DB400 or DB390
        • -N databease name
        • -U database user ID
        • -P database password
        • -F output file name

        Of course, all these arguments appear on the same line when you run this command.