LinearHashingFile(Status& status, const char* name, const int length,const AttrType type, const int N = 1) <BR>LinearHashingFile(Status& status, const char * name)



next up previous
Next: ~LinearHashingFile() Up: LinearHashingFile Previous: LinearHashingFile

LinearHashingFile(Status& status, const char* name, const int length,const AttrType type, const int N = 1)
LinearHashingFile(Status& status, const char * name)

These two are the constructors for LinearHashingFile. The first constructor is used to create a new index. name is the name of the index to be created. length is the length of the key and type is the type of the key. N is the number of initial buckets. The default value of N is 1. status returns the status of the operation. The second constructor is used to open an existing index. It only takes 2 arguments: status as the returning status of the operation and name as the name of the index to be opened.



Weiqing Huang
Sun May 14 16:22:27 CDT 1995