Shapes3 sample DataBlade® module

These topics describe the Shapes3 sample DataBlade® module used in the examples in this guide.

Sample DataBlade® modules are provided as downloadable examples as part of the HCL® Informix® Developer Zone at http://www.ibm.com/developerworks/db2/zones/informix/library/samples/db_downloads.dital.

The example provides instructions on how to install the DataBlade® module on your database server. It includes the C code used to create the data types and functions that make up the DataBlade® module and a description of how the module works. It also provides all the SQL scripts needed to register the DataBlade® module in your database.

The first section, Description of the sample DataBlade module, describes the data types and operators the sample DataBlade® module provides. The second section, Sample C code, provides the C code to create the strategy and support functions defined in the operator class. The header file shape.h that describes common elements is also included.