com.ibm.commerce.marketingcenter.events.util

Class ExportStats

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


  • public class ExportStats
    extends java.lang.Object
    This class is used to connect to the database and export a table to an XML file. Next, this file can be copied to another machine. Using ImportStats, the content of the XML file can be imported 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
    • -T table name
    • -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
      ExportStats()
      Construct the ExportStats 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

      • ExportStats

        public ExportStats()
        Construct the ExportStats object.
    • Method Detail

      • main

        public static void main(java.lang.String[] args)
        Main method of this utility. The DBXMLFileWriter object is used to create/write into 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
        • -T table name
        • -F output file name

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