⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 partition.h

📁 linux 下用c++ 开发的一个小型数据库系统
💻 H
字号:
#ifndef PARTITION_H#define PARTITION_H#include "heapfile.h"// define if debug output wanted//#define DEBUGPARTclass Partition { public:  Partition(HeapFileScan *rel,              // name of heap file to partition	    const string & fileName,             // (base) name of heap file	    const int P,                      // number of partitions	    const int (*hashfcn)(const Record & rec,				 const int P),  	                               // hash function to use in partitioning	    string* &partName,           // names of partitioned heap files	    Status &status);            // create partitions of file  ~Partition();                         // destroy partitions private:  int P;                                // number of partitions  string *partName;                      // partition names};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -