[prev] 14 [next]

Storage Manager Interface (cont)

Possible implementation for DB object ...

typedef struct Database {
   char    *name; // database name
   Catalog  cat;  // meta-data
   ...
} *DB;

Possible implementation of Reln object ...

typedef struct Relation {
   char    *name; // table name
   File     file; // fd for table file
   ...
} *Reln;