RDS template XML element descriptions

See the table below for RDS template XML element descriptions.

Table A-3: RDS Template XML element descriptions.

Element

Description

Template

Root element for the template.

MessageDefnList

Contains a list of one or more message definitions.

MessageDefn

Contains information that defines a single message type.

MessageDesc

A description of the type of market data message. For example, Stock Quote. This element is used purely for descriptive purposes. The value can contain any string.

MessageType

A unique number representing the type of market data message. This number must uniquely identify the message type across all message definitions within all templates. The value can contain any integer from 1 to 65535.

DestTableName

The name of the database table into which the message should be stored. There is one database table per message type. The value can contain any string.

FieldDefnList

Contains a list of one or more field definitions.

FieldDefn

Contains information that defines a single field.

FieldName

Name of the field. The value can contain any string.

IntegerField

Indicates that the field is some type of integer. The field definition will only contain one of the following: IntegerField, DecimalField, StringField, DateField, TimeField, DateTimeField.

IntegerDataType

The data type of an integer field. Valid values are: uint8, uint16, uint32, uint64, sint8, sint16, sint32, sint64

DecimalField

Indicates that the field is a decimal value. The field definition will only contain one of the following: IntegerField, DecimalField, StringField, DateField, TimeField, DateTimeField.

Precision

The precision of a decimal field.

Scale

The scale of a decimal field (the number of digits after the decimal point).

StringField

Indicates that the field is a string. The field definition will only contain one of the following: IntegerField, DecimalField, StringField, DateField, TimeField, DateTimeField.

DateField

Indicates that the field is a date. The field definition will only contain one of the following: IntegerField, DecimalField, StringField, DateField, TimeField, DateTimeField.

TimeField

Indicates that the field is a time. The field definition will only contain one of the following: IntegerField, DecimalField, StringField, DateField, TimeField, DateTimeField.

DateTimeField

Indicates that the field is a datetime. The field definition will only contain one of the following: IntegerField, DecimalField, StringField, DateField, TimeField, DateTimeField.

DestColumnName

The name of the column into which the field data should be stored. There is one column per field. The value of this element can contain any string.

Lookup

Indicates that the data in the field should be used as a lookup for another table. This is an optional element. If it does not appear in a field definition, then no lookup is required.

LookupTableName

The name of the table to use to look up a value.

LookupColumnName

The name of the column to use to look up a value.

LookupColumnReturn

The name of the column from which to return data when doing a lookup.