Column-oriented GPU-accelerated Database Management System
CoGaDB
/home/sebastian/gpudbms/trunk/cogadb/include/compression/tmp/db2/Test.h
Go to the documentation of this file.
00001 #pragma once
00002 #include <core/compressed_column.hpp>
00003 
00004 namespace CoGaDB {
00005         template<class T>
00006         class Test : public CompressedColumn<T> {
00007                 public:
00008                         Test(const std::string& name, AttributeType db_type);
00009                         ~Test();
00010 
00011                         bool insert(const boost::any& new_Value);
00012                         bool insert(const T& new_value);
00013         };
00014 
00015         template<>
00016         class Test<std::string> : public CompressedColumn<std::string> {
00017                 public:
00018                         Test(const std::string& name, AttributeType db_type);
00019                         ~Test();
00020 
00021                         bool insert(const boost::any& new_Value);
00022                         bool insert(const std::string& new_value);
00023 
00024                 private:
00025                         int blub;
00026         };
00027 };
00028 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines