first previous next last contents

Database Structures

Before using any of the functions a firm understanding of the data structures is needed. The main objects held within the database are readings, contigs, templates, vectors, clones and annotations. These reference additional records of other objects or one of the primitive types.

There are five basic types from which the database structures are constructed. These are:

A single 4 byte integer.
An ascii string which may ending in a null. The null character may, or may not, be present in the actual data stored on the disk.
An extendable list of 4 byte integer values.
An extendable array of single bits.
Any other data. This is handled in a similar manner to the Text type except the null character may be present.

In the C code, the GCardinal is the basic type used in most database structures. Other structure elements are larger and so are typically stored as another GCardinal containing the record number of the data itself.

first previous next last contents
This page is maintained by staden-package. Last generated on 1 March 2001.