field

In a stream definition in an output adapter map file, field specifies a column in a stream to publish.

Summary

adapter                       (required, limit one)
  |----rfa                               (required, limit one)
  '----subscriptions                     (required, limit one)
         '----subscription               (required)
                '----stream              (required)
                       |----name         (required, limit one)
                       |----stale        (optional)
                       |----field        (required)
                       '----constant     (optional)

Parent

stream

Children

None

Attributes

Name Description Requirement
column A number that represents the position of the source column in the stream being published from (the first column in the stream has the number 0) Either column or columnName is required
columnName The name of the column in the Event Stream Processor stream that carries the stream's unique identifier Either column or columnName is required
name The FID that identifies this data value when published to RMDS Required
precision An integer that specifies the total number of digits after the decimal point in the published value (for example, 1.23 has a precision of 2) Optional

Notes

The precision attribute should be included only for columns of datatype double.

Example

<stream name="stream1" >
        <name column="0"/>
        <stale column="3" name="ACVOL_1"/>
        <field column="1" name="DSPLY_NAME" />
        <field column="4" name="BID" precision="47" />
        <field column="5" name="ASK" precision="0" />
        <field column="6" name="TRDPRC_1"/>
        <field column="7" name="ACVOL_1"/>
        <constant name="PROD_PERM" value="1"/>
</stream>

The adapter is configured to publish updates from the fourth, fifth, sixth and seventh columns of the Event Stream Processor stream named stream1 as data items named BID, ASK, TRDPRC_1, and ACVOL_1, respectively.