WiscDB
btree.cpp
00001 
00008 #include "btree.h"
00009 #include "fileScanner.h"
00010 #include "exceptions/bad_index_info_exception.h"
00011 #include "exceptions/bad_opcodes_exception.h"
00012 #include "exceptions/bad_scanrange_exception.h"
00013 #include "exceptions/no_such_key_found_exception.h"
00014 #include "exceptions/scan_not_initialized_exception.h"
00015 #include "exceptions/index_scan_completed_exception.h"
00016 #include "exceptions/file_not_found_exception.h"
00017 #include "exceptions/end_of_file_exception.h"
00018 
00019 
00020 //#define DEBUG
00021 
00022 namespace wiscdb
00023 {
00024 
00025 // -----------------------------------------------------------------------------
00026 // BTreeIndex::BTreeIndex -- Constructor
00027 // -----------------------------------------------------------------------------
00028 
00029 BTreeIndex::BTreeIndex(const std::string & relationName,
00030         std::string & outIndexName,
00031         BufferManager *bufMgrIn,
00032         const int attrByteOffset,
00033         const Datatype attrType)
00034 {
00035 
00036 }
00037 
00038 
00039 // -----------------------------------------------------------------------------
00040 // BTreeIndex::~BTreeIndex -- destructor
00041 // -----------------------------------------------------------------------------
00042 
00043 BTreeIndex::~BTreeIndex()
00044 {
00045 }
00046 
00047 // -----------------------------------------------------------------------------
00048 // BTreeIndex::insertEntry
00049 // -----------------------------------------------------------------------------
00050 
00051 const void BTreeIndex::insertEntry(const void *key, const RecordId rid) 
00052 {
00053 
00054 }
00055 
00056 // -----------------------------------------------------------------------------
00057 // BTreeIndex::startScan
00058 // -----------------------------------------------------------------------------
00059 
00060 const void BTreeIndex::startScan(const void* lowValParm,
00061                    const Operator lowOpParm,
00062                    const void* highValParm,
00063                    const Operator highOpParm)
00064 {
00065 
00066 }
00067 
00068 // -----------------------------------------------------------------------------
00069 // BTreeIndex::scanNext
00070 // -----------------------------------------------------------------------------
00071 
00072 const void BTreeIndex::scanNext(RecordId& outRid) 
00073 {
00074 
00075 }
00076 
00077 // -----------------------------------------------------------------------------
00078 // BTreeIndex::endScan
00079 // -----------------------------------------------------------------------------
00080 //
00081 const void BTreeIndex::endScan() 
00082 {
00083 
00084 }
00085 
00086 }
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends