Column-oriented GPU-accelerated Database Management System
CoGaDB
CoGaDB::unit_tests Namespace Reference

Typedefs

typedef bool(* UnittestFunctionPtr )()

Functions

bool joinTest ()
bool executeUnitTests ()
bool fillTableTest ()
bool updateTuplesTest ()
bool basicOperationTest ()
bool selectionTest ()
bool JoinPerformanceTest ()
bool crossjoinTest ()
bool complexSelectionTest ()
bool ColumnComputationTest ()
bool TableBasedColumnConstantOperatorTest ()
bool ComplexSortTest ()
bool basicQueryTest ()
bool addConstantColumnTest ()
bool GPUColumnComputationTest ()
bool basicGPUacceleratedQueryTest ()
bool ColumnorientedQueryPlanTest ()
bool memory_benchmark ()
bool compressioned_columns_tests ()
bool unittest (boost::shared_ptr< ColumnBaseTyped< int > > ptr)
bool unittest (boost::shared_ptr< ColumnBaseTyped< float > > ptr)
bool unittest (boost::shared_ptr< ColumnBaseTyped< std::string > > ptr)
bool delta ()
bool bit_vector ()
bool run_length ()
bool dictionary_compression ()
bool bulk_test_update (boost::shared_ptr< CompressedColumn< int > > compressed_col, boost::shared_ptr< Column< int > > uncompressed_col)
bool bulk_test_delete (boost::shared_ptr< CompressedColumn< int > > compressed_col, boost::shared_ptr< Column< int > > uncompressed_col)
bool unittests (boost::shared_ptr< CompressedColumn< int > > col, boost::shared_ptr< CompressedColumn< float > > col_float, boost::shared_ptr< CompressedColumn< std::string > > col_string)
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 joinTestOld ()
bool warmupGPU ()
bool validateJoinResult (TablePtr tab, int size, int type)
pair< pair< TablePtr, TablePtr >
, pair< TablePtr, TablePtr > > 
createJoinTestcase (int NUM_primary, int NUM_foreign)
bool executeJoinTest (int testcaseNum, int primaryCount, int foreignCount)
bool GPU_ExperimentjoinTest ()
bool test ()
bool SIMD_selection ()

Variables

const bool unittest_debug = false

Typedef Documentation


Function Documentation

References bulk_test_delete(), bulk_test_update(), CoGaDB::FLOAT, CoGaDB::INT, unittests(), and CoGaDB::VARCHAR.

Referenced by compressioned_columns_tests().

Here is the call graph for this function:

Here is the caller graph for this function:

bool CoGaDB::unit_tests::bulk_test_delete ( boost::shared_ptr< CompressedColumn< int > >  compressed_col,
boost::shared_ptr< Column< int > >  uncompressed_col 
)

Referenced by bit_vector(), delta(), dictionary_compression(), and run_length().

Here is the caller graph for this function:

bool CoGaDB::unit_tests::bulk_test_update ( boost::shared_ptr< CompressedColumn< int > >  compressed_col,
boost::shared_ptr< Column< int > >  uncompressed_col 
)

Referenced by bit_vector(), delta(), dictionary_compression(), and run_length().

Here is the caller graph for this function:

References CoGaDB::INT, CoGaDB::Column< T >::print(), and quiet.

Here is the call graph for this function:

References bit_vector(), dictionary_compression(), and run_length().

Here is the call graph for this function:

pair<pair<TablePtr, TablePtr>, pair<TablePtr, TablePtr> > CoGaDB::unit_tests::createJoinTestcase ( int  NUM_primary,
int  NUM_foreign 
)

References CoGaDB::FLOAT, and CoGaDB::INT.

Referenced by executeJoinTest().

Here is the caller graph for this function:

References bulk_test_delete(), bulk_test_update(), CoGaDB::FLOAT, CoGaDB::INT, unittests(), and CoGaDB::VARCHAR.

Here is the call graph for this function:

References bulk_test_delete(), bulk_test_update(), CoGaDB::FLOAT, CoGaDB::INT, unittests(), and CoGaDB::VARCHAR.

Referenced by compressioned_columns_tests().

Here is the call graph for this function:

Here is the caller graph for this function:

template<class T >
bool CoGaDB::unit_tests::equals ( std::vector< T >  reference_data,
boost::shared_ptr< ColumnBaseTyped< T > >  col 
)

Referenced by test_column().

Here is the caller graph for this function:

bool CoGaDB::unit_tests::executeJoinTest ( int  testcaseNum,
int  primaryCount,
int  foreignCount 
)

References createJoinTestcase(), GPU, CoGaDB::LOOKUP, CoGaDB::SORT_MERGE_JOIN, validateJoinResult(), and warmupGPU().

Referenced by GPU_ExperimentjoinTest().

Here is the call graph for this function:

Here is the caller graph for this function:

References selectionTest(), and unittests().

Referenced by CoGaDB::CommandLineInterpreter::CommandLineInterpreter().

Here is the call graph for this function:

Here is the caller graph for this function:

template<class T >
void CoGaDB::unit_tests::fill_column ( boost::shared_ptr< ColumnBaseTyped< T > >  col,
std::vector< T > &  reference_data 
)

Referenced by unittest().

Here is the caller graph for this function:

template<typename T >
const T CoGaDB::unit_tests::get_rand_value ( )
template<>
const std::string CoGaDB::unit_tests::get_rand_value ( )

References executeJoinTest().

Here is the call graph for this function:

References COGADB_FATAL_ERROR, CoGaDB::getTimestamp(), and CoGaDB::INT.

Here is the call graph for this function:

References CoGaDB::getTimestamp().

Here is the call graph for this function:

References bulk_test_delete(), bulk_test_update(), CoGaDB::FLOAT, CoGaDB::INT, unittests(), and CoGaDB::VARCHAR.

Referenced by compressioned_columns_tests().

Here is the call graph for this function:

Here is the caller graph for this function:

References CoGaDB::getTimestamp(), and CoGaDB::INT.

Referenced by executeUnitTests().

Here is the call graph for this function:

Here is the caller graph for this function:

template<class T >
bool CoGaDB::unit_tests::test_column ( boost::shared_ptr< ColumnBaseTyped< T > >  col,
std::vector< T > &  reference_data 
)

References equals().

Referenced by unittest().

Here is the call graph for this function:

Here is the caller graph for this function:

bool CoGaDB::unit_tests::unittest ( boost::shared_ptr< ColumnBaseTyped< int > >  ptr)

References fill_column(), and test_column().

Referenced by unittests(), and unittests().

Here is the call graph for this function:

Here is the caller graph for this function:

bool CoGaDB::unit_tests::unittest ( boost::shared_ptr< ColumnBaseTyped< float > >  ptr)

References fill_column(), and test_column().

Here is the call graph for this function:

bool CoGaDB::unit_tests::unittest ( boost::shared_ptr< ColumnBaseTyped< std::string > >  ptr)

References fill_column(), and test_column().

Here is the call graph for this function:

bool CoGaDB::unit_tests::unittests ( boost::shared_ptr< CompressedColumn< int > >  col,
boost::shared_ptr< CompressedColumn< float > >  col_float,
boost::shared_ptr< CompressedColumn< std::string > >  col_string 
)

References unittest().

Referenced by bit_vector(), delta(), dictionary_compression(), and run_length().

Here is the call graph for this function:

Here is the caller graph for this function:

bool CoGaDB::unit_tests::validateJoinResult ( TablePtr  tab,
int  size,
int  type 
)

Referenced by executeJoinTest().

Here is the caller graph for this function:

References GPU, CoGaDB::INT, CoGaDB::LOOKUP, and CoGaDB::SORT_MERGE_JOIN_2.

Referenced by executeJoinTest().

Here is the caller graph for this function:


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines