Command-line loader application

You run the command-line loader application as an argument to the eclipse command. The command-line loader application uses the parameter files from a load job that you create with the HCL® OneDB® TimeSeries Plug-in for Data Studio.

Syntax

./eclipse -application com.ibm.informix.timeseries.loader \
          -recordReader=RecordReader_file \
          -table=Table_file.tbl \
          -map=Map_file.fcmap \
          -connection=Connection_file.xml \
          -properties=LoadProps_file.tslp
RecordReader_file
The name of the file that contains the record reader definition, including the database connection information, if necessary. The file extension depends on from where the data is loaded:

.udrf = User-defined record format. The data is loaded from a file.

.drr = Database record reader. The data is loaded from a database.

Table_file
The name of the file that contains the table definition.
Map_file
The name of the file that contains the mapping definition.
Connection_file
The name of the file that contains the database connection profile.
LoadProps_file
The name of the file that contains the load properties.

Usage

Use the command-line loader application to load time series data into a TimeSeries column. The Eclipse Platform Runtime Binary, or a larger Eclipse program, the , and the load files that are generated by the are required.

You can load time series data in parallel by running multiple loader applications simultaneously.

As the data is loaded, statistics about the data are printed to the console. When the load job is complete, cumulative statistics are printed.

Example

The following command starts a load job that specifies the files that are named for loadjob1:

./eclipse -application com.ibm.informix.timeseries.loader \
          -recordReader=customer1.udrf \
          -table=loadjob1_table.tbl \
          -map=loadjob1_map.fcmap \
          -connection=loadjob1_conn.xml \
          -properties=loadjob1_prop.tslp