Create an Opaque Data Type
This section describes how to design and write an opaque data type.
To create an opaque data type:
- Design the opaque data type, including its external and internal representations.
- Write the opaque-type support functions.
- Take special measures if the opaque type is for multirepresentational data.
Tip: The HCL Informix® BladeSmith
development tool, which is part of the Informix DataBlade Developers Kit (DBDK), automatically
generates C source code for the support routines of an opaque type
and the SQL statements to register the opaque type. For more information,
see the HCL
Informix
DataBlade Developers Kit User's Guide.