dateTimeField

In the streamMap definition, the dateTimeField element maps a Reuters date or time FID (or one of each) to a date column, a timestamp column, or both, in a stream.

Summary

adapter                   (required, limit one)
  |----publication                   (required, limit one)
  |----streamMaps                    (required, limit one)
  |      '----streamMap              (required)
  |             |----itemName        (required, limit one)
  |             |----serviceName     (optional)
  |             |----sequenceNumber  (optional)
  |             |----itemStale       (optional)
  |             |----dataField       (required)
  |             |----updateNumber    (required)
  |             |----dateTimeField   (optional)
  |             |----FIDListField    (optional)
  |             '----nullField       (optional)
  |----recordTypeMap                 (optional)
  |      '----recordType             (optional)
  |----rfa                           (required, limit one)
  '----itemLists                     (required, limit one)
         '----itemList               (required)
                '----item            (optional)

Parent

streamMap

Children

None

Attributes

Name Description Requirement
dateName The FID of the date value provided by RMDS See Notes
timeName The FID of the time value provided by RMDS See Notes

Notes

The most commonly used datatype for date/time information in Event Stream Processor data streams is dateTime, which combines both date and time. In most cases, however, the updates provided by RMDS and brought in to the Event Stream Processor by the Reuters Marketfeed adapter use separate FIDs for date and time.

To address this discrepancy, the map file provides the dateTimeField element, which provides separate attributes for date and time, allowing you to map two FIDs (one for date, one for time) to the same column in the stream definition.

If dateTime is used, it must be used alone. The dateName and timeName can be used either separately or together. One of these three attributes must be used.

The value for each FID must match one listed in the FID list referenced in the Reuters-side configuration file (the FID list provided with the adapter is named appendix_a). This file is referenced in the configuration file rfasub.cfg.

Example

<streamMap name="stream1">
        <itemName key="true"/>
        <FIDListField />
        <!-- serviceName / -->
        <sequenceNumber />
        <itemStale/>
        <dataField name="BID"/>
        <dataField name="ASK"/>
        <dataField name="TRDPRC_1"/>
        <dataField name="ACVOL_1"/>
        <dateTimeField timeName="TIMACT" dateName="ACTIV_DATE"/>
</streamMap>

This example maps the TIMACT and ACTIV_DATE FIDs together to the ninth column of the Event Stream Processor source stream named stream1.