dataField

In the streamMap definition, the dataField element maps a Reuters Field ID (FID) to one column in a source stream.

Summary

adapter                                      (required, limit one)
  |----publication                           (required, limit one)
  |----streamMaps                            (required, limit one)
  |      '----streamMap                      (required)
  |             |----dataField               (required)
  |             |----hiResTimestampField     (optional)
  |             |----imageField              (required for L2 data)
  |             |----itemName                (required, limit one)
  |             |----itemStale               (optional)
  |             |----marketByOrderKeyField   (required)
  |             |----marketByPriceKeyField   (required)
  |             |----marketMakerKeyField     (required)
  |             |----nullField               (optional)
  |             |----respTypeNumField        (optional)
  |             |----sequenceNumber          (optional)
  |             |----serviceName             (optional)
  |             '----updateNumber            (optional)
  |----rfa                                   (required, limit one)
  '----itemLists                             (required, limit one)
         '----itemList                       (required)
                '----item                    (optional)

Parent

streamMap

Children

None

Attributes

Name Description Requirement
name The Reuters FID that identifies the data item that appears in this column of the source stream Required
key True or false, depending on whether this column is part of the source stream's unique key See Notes

Notes

Each element in the streamMap section of the input adapter map file must represent a column in the row definition of the target source stream. (The order of the streamMap elements must mirror the order of the columns in the source stream.) If the column in the source stream is a data item (Bid, Ask, and so on), the corresponding streamMap entry must be a dataField element for which the name attribute identifies a specific FID. Any time RMDS publishes an update tagged with that FID, the adapter sends it to Event Stream Processor source stream as a value in the corresponding column.

Use the key attribute to set the value to true. If this column is not part of the stream's key, you can omit the key attribute.

The adapter uses the Event Stream Processor schema.

Example

<streamMap name="marketByOrder">
        <itemName key="true"/>
        <!-- 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 columns 4–8 of the marketByOrder stream to the Reuters FIDs BID, ASK, TRDPRC_1, and ACVOL_1.