[prev] 33 [next]

Reln ADT

ADT to represent relations   (where RelnRep *Reln)

Status newRelation(name, nattrs,pF,tk,tm,pm,bm)
  • make all files for relation name, based on parameters
Reln openRelation(char *name)
  • create a RelnRep, populate it and open all files
void closeRelation(Reln r)
  • close all files and clean up RelnRep data structure
PageID addToRelation(Reln r, Tuple t)
  • insert tuple t into open relation r; return PID where inserted