Column-oriented GPU-accelerated Database Management System
CoGaDB
/home/sebastian/gpudbms/trunk/cogadb/include/persistence/storage_manager.hpp
Go to the documentation of this file.
00001 
00002 #pragma once
00003 
00004 #include <core/table.hpp>
00006 //#include <boost/archive/binary_oarchive.hpp>
00007 //#include <boost/archive/binary_iarchive.hpp>
00008 //#include <boost/serialization/binary_object.hpp>
00009 //#include <boost/serialization/vector.hpp>
00010 //#include <boost/serialization/list.hpp>
00011 
00012 namespace CoGaDB{
00013 
00014 const TablePtr loadTable(const std::string& table_name);
00015 
00016 bool storeTable(const TablePtr tab);
00017 
00018 //bool storeColumn(vector<int> v)
00019 
00020 bool loadTables();
00021 
00022 std::vector<TablePtr>& getGlobalTableList();
00023 
00024 const TablePtr getTablebyName(const std::string& name);
00025 
00026 }; //end namespace CogaDB
00027 
00028 
00030 //namespace boost {
00031 //namespace serialization {
00032 
00033 //template<class Archive>
00034 //void serialize(Archive & ar, std::pair<CoGaDB::AttributeType,std::string> & pair, const unsigned int version)
00035 //{
00036 //      
00037 //    ar & pair.first;
00038 //    ar & pair.second;
00039 //    
00040 //}
00041 
00042 //} // namespace serialization
00043 //} // namespace boost
00044 
00045 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines