Option | Description |
-h | --help | Displays usage information. |
-n host | --hostname host | Name of the host on which the correlator is running. The default is localhost. Non-ASCII characters are not allowed in host names. |
-p port | --port port | Port on which the correlator is listening. The default is 15903. |
--query queryName | Runs the specified query, which is defined in the query configuration file that you identify with the --configFile option. This is a query you created with Apama's Data Player in Software AG Designer. You did this when you clicked on the + button on the action bar. You specified a query name, and that is the name you need to specify here. |
--configFile file | The query configuration file to use. This is the query configuration file associated with your project. In Software AG Designer, the query configuration file is always called dataplayer_queries.xml (in the project's config directory). |
--username user | The user name to use for the database connection. Optional. |
--password password | The password to use for the database connection. Optional. |
--returnType returnType | The type of the playback events returned. The default is Native. The only other choice is Wrapped. A return type of Native means that each matching event is sent as-is to the correlator. When you specify Wrapped, each matching event is inside a container event. The name of the container event is Historical followed by the name of the event in the container, for example, HistoricalTick. The container event will be in the default namespace. Event wrapping allows events to be sent to the correlator without triggering application listeners. A separate, user-defined monitor can listen for wrapped events, modify the contained event, and reroute it such that application listeners can match on it. |
--backTest boolean | This option is equivalent to the Data Player option to Generate time event from data. When the correlator is running with the -Xclock option, time in the correlator is controlled by &TIME() events. This is how the Data Player controls the playback speed. If the correlator is not running with the -Xclock option, the correlator keeps its own time. The default is true, which means that the correlator is running with the -Xclock option. Set this option to false when the correlator is not running with the -Xclock option. |
--speed playBackSpeed | Specifies the speed for playing back the query. Optional. A float value less than or equal to 0.0 means that you want the correlator to play it back as fast as possible. A float value greater than 0.0 indicates a multiple for the playback speed. To play at normal speed, specify 1.0. For half normal speed, specify 0.5. For twice normal speed, specify 2.0. For 100 times normal speed, specify 100.00. |