Column-oriented GPU-accelerated Database Management System
CoGaDB
|
#include <string>
#include <core/global_definitions.hpp>
#include <core/base_column.hpp>
#include <core/column_base_typed.hpp>
#include <core/column.hpp>
#include <core/compressed_column.hpp>
Functions | |
template<typename T > | |
const T | get_rand_value () |
template<> | |
const int | get_rand_value () |
template<class T > | |
void | fill_column (boost::shared_ptr< ColumnBaseTyped< T > > col, std::vector< T > &reference_data) |
template<class T > | |
bool | equals (std::vector< T > reference_data, boost::shared_ptr< ColumnBaseTyped< T > > col) |
template<class T > | |
bool | test_column (boost::shared_ptr< ColumnBaseTyped< T > > col, std::vector< T > &reference_data) |
bool | unittest (boost::shared_ptr< ColumnBaseTyped< int > > col) |
bool | unittest (boost::shared_ptr< ColumnBaseTyped< float > > col) |
bool | unittest (boost::shared_ptr< ColumnBaseTyped< std::string > > col) |
bool equals | ( | std::vector< T > | reference_data, |
boost::shared_ptr< ColumnBaseTyped< T > > | col | ||
) |
void fill_column | ( | boost::shared_ptr< ColumnBaseTyped< T > > | col, |
std::vector< T > & | reference_data | ||
) |
const T get_rand_value | ( | ) |
const std::string get_rand_value | ( | ) |
bool test_column | ( | boost::shared_ptr< ColumnBaseTyped< T > > | col, |
std::vector< T > & | reference_data | ||
) |
References equals().
Referenced by unittest().
bool unittest | ( | boost::shared_ptr< ColumnBaseTyped< int > > | col | ) |
bool unittest | ( | boost::shared_ptr< ColumnBaseTyped< float > > | col | ) |
bool unittest | ( | boost::shared_ptr< ColumnBaseTyped< std::string > > | col | ) |