The following graphic shows the basic morphology of a structured UDT as stored in the row of a table in the database:
where:
UDT Element | Description |
---|---|
Type ID | TVMID type identifier for the structured UDT. Its data type is INTEGER (4 bytes). |
Presence Bits Array | Octet array of presence bits for the UDT at level m of the structured UDT. This is a variably-sized bit array, rounded to the higher modulo(8) boundary, whose size depends on the number of attributes stored for the structured UDT. Its size increases in octet (8-bit byte) increments. |
Attribute n Value | Attribute number n for the structured UDT. There is a variable number of attribute value fields. The exact number depends on two factors:
The exact format of each attribute depends on the attribute type and is defined by the designer of the given structured type. |