dataField

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

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
name The Reuters FID that identifies the data item that appears in this column of the source stream Required
key Either 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 RowDef.) If the column in the RowDef 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 row.

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.

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>

The example shown above maps columns 5–8 of stream1 to the Reuters FIDs BID, ASK, TRDPRC_1, and ACVOL_1.