Field Data Type Reference

A data type describes the value of a field within a message or a message format.

Administrators use the type names in the first column of the following table to define formats.

Programs denote the data type of message fields using the type constants in the second column of the table.

Field Data Types
Type Name
(in Realm) Type Constant
(in Programs) Description Primitive
long TIB_FIELD_TYPE_LONG A long integer. Yes
long_array TIB_FIELD_TYPE_LONG_ARRAY An array of long integers. No
double TIB_FIELD_TYPE_DOUBLE A double-length floating point number. Yes
double_array TIB_FIELD_TYPE_DOUBLE_ARRAY An array of double-length floating point numbers. No
string TIB_FIELD_TYPE_STRING A UTF-8 string. No
string_array TIB_FIELD_TYPE_STRING_ARRAY An array of UTF-8 strings. No
opaque TIB_FIELD_TYPE_OPAQUE An opaque byte-array. No
message TIB_FIELD_TYPE_MESSAGE A message (that is, the field’s value is a sub-message). No
message_array TIB_FIELD_TYPE_MESSAGE_ARRAY An array of messages. No
inbox TIB_FIELD_TYPE_INBOX An inbox. No
datetime TIB_FIELD_TYPE_DATETIME A DateTime value. No
datetime_array TIB_FIELD_TYPE_DATETIME_ARRAY An array of DateTime values. No