BadgerDB
/afs/cs.wisc.edu/u/n/w/nwilliam/private/workspace/Quut/src/join.cpp
00001 #include <cstring>
00002 #include "catalog.h"
00003 #include "page.h"
00004 #include "query.h"
00005 #include "sort.h"
00006 #include "index.h"
00007 #include "exceptions/bad_param_exception.h"
00008 #include "exceptions/end_of_file_exception.h"
00009 
00010 #define MAX(a,b) ((a) > (b) ? (a) : (b))
00011 
00012 extern badgerdb::RelCatalog *relCat;    // pointer to the relation catalogs 
00013 extern badgerdb::AttrCatalog *attrCat;  // pointer to the attribute catalogs
00014 extern badgerdb::BufMgr *bufMgr;  // pointer to the attribute catalogs
00015 
00016 namespace badgerdb
00017 {
00018 
00019 void Operators::Join(const std::string & result,      // name of the output relation 
00020                     int projCnt,          // number of attributes in the projection
00021                     const attrInfo projNames[], // the list of projection attributes
00022                     const attrInfo *attr1,      // left attr in the join predicate
00023                     Operator op,          // the predicate operation 
00024                     const attrInfo *attr2)     // right attr in the join predicate
00025 {
00026 }
00027 
00028 }
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends