Home | Previous Page | Next Page  

Appendix A. Shapes3 Sample DataBlade Module

This appendix describes the Shapes3 sample DataBlade module used in the examples in this guide.

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

The downloadable 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 of this appendix, 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 at the end of this appendix.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]