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 DB2/390
- -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.
Constructor Summary |
ExportStats()
Construct the ExportStats object. |
Method Summary |
static void |
main(java.lang.String[] args)
Main method of this utility. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
COPYRIGHT
public static final java.lang.String COPYRIGHT
ExportStats
public ExportStats()
- Construct the ExportStats object.
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 DB2/390
- -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.