Column-oriented GPU-accelerated Database Management System
CoGaDB
/home/sebastian/gpudbms/trunk/cogadb/include/core/global_definitions.hpp File Reference
#include <vector>
#include <list>
#include <map>
#include <string>
#include <boost/any.hpp>
#include <boost/shared_ptr.hpp>
Include dependency graph for global_definitions.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  CoGaDB
 

The global namespace of the programming tasks, to avoid name claches with other libraries.


Defines

#define ENABLE_GPU_ACCELERATION
#define ENABLE_TWO_PHASE_PHYSICAL_OPTIMIZATION
#define HYPE_ENABLE_PARALLEL_QUERY_PLAN_EVALUATION
#define COGADB_WARNING(X, Y)
#define COGADB_ERROR(X, Y)
#define COGADB_FATAL_ERROR(X, Y)

Typedefs

typedef std::pair< std::string,
AggregationMethod > 
CoGaDB::ColumnAggregation

Enumerations

enum  CoGaDB::AttributeType {
  CoGaDB::INT, CoGaDB::FLOAT, CoGaDB::VARCHAR, CoGaDB::BOOLEAN,
  CoGaDB::INT, CoGaDB::FLOAT, CoGaDB::VARCHAR, CoGaDB::BOOLEAN
}
enum  CoGaDB::ComputeDevice { CoGaDB::CPU, CoGaDB::GPU, CoGaDB::CPU, CoGaDB::GPU }
enum  CoGaDB::AggregationMethod {
  CoGaDB::SUM, CoGaDB::MIN, CoGaDB::MAX, CoGaDB::SUM,
  CoGaDB::MIN, CoGaDB::MAX
}
enum  CoGaDB::ValueComparator {
  CoGaDB::LESSER, CoGaDB::GREATER, CoGaDB::EQUAL, CoGaDB::LESSER,
  CoGaDB::GREATER, CoGaDB::EQUAL, CoGaDB::LESSER_EQUAL, CoGaDB::GREATER_EQUAL
}
enum  CoGaDB::PredicateType { CoGaDB::ValueValuePredicate, CoGaDB::ValueConstantPredicate }
enum  CoGaDB::SortOrder { CoGaDB::ASCENDING, CoGaDB::DESCENDING, CoGaDB::ASCENDING, CoGaDB::DESCENDING }
enum  CoGaDB::Operation {
  CoGaDB::SELECTION, CoGaDB::PROJECTION, CoGaDB::JOIN, CoGaDB::GROUPBY,
  CoGaDB::SORT, CoGaDB::COPY, CoGaDB::AGGREGATION, CoGaDB::FULL_SCAN,
  CoGaDB::INDEX_SCAN, CoGaDB::SELECTION, CoGaDB::PROJECTION, CoGaDB::JOIN,
  CoGaDB::GROUPBY, CoGaDB::SORT, CoGaDB::COPY, CoGaDB::AGGREGATION,
  CoGaDB::FULL_SCAN, CoGaDB::INDEX_SCAN
}
enum  CoGaDB::JoinAlgorithm {
  CoGaDB::SORT_MERGE_JOIN, CoGaDB::NESTED_LOOP_JOIN, CoGaDB::HASH_JOIN, CoGaDB::SORT_MERGE_JOIN,
  CoGaDB::SORT_MERGE_JOIN_2, CoGaDB::NESTED_LOOP_JOIN, CoGaDB::HASH_JOIN
}
enum  CoGaDB::MaterializationStatus { CoGaDB::MATERIALIZE, CoGaDB::LOOKUP, CoGaDB::MATERIALIZE, CoGaDB::LOOKUP }
enum  CoGaDB::ParallelizationMode { CoGaDB::SERIAL, CoGaDB::PARALLEL, CoGaDB::SERIAL, CoGaDB::PARALLEL }
enum  CoGaDB::ColumnAlgebraOperation { CoGaDB::ADD, CoGaDB::SUB, CoGaDB::MUL, CoGaDB::DIV }
enum  CoGaDB::PositionListOperation { CoGaDB::POSITIONLIST_INTERSECTION, CoGaDB::POSITIONLIST_UNION }
enum  CoGaDB::DebugMode {
  CoGaDB::quiet = 1, CoGaDB::verbose = 0, CoGaDB::debug = 0, CoGaDB::print_time_measurement = 0,
  CoGaDB::quiet = 1, CoGaDB::verbose = 0, CoGaDB::debug = 0, CoGaDB::print_time_measurement = 0
}

Define Documentation

#define COGADB_ERROR (   X,
 
)
Value:
std::cout << "ERROR: " << X << ": In " << __PRETTY_FUNCTION__ << std::endl;\
std::cout << "In File: " << __FILE__ << " Line: " << __LINE__ << std::endl;

Referenced by CoGaDB::LookupTable::getColumnbyName().

#define COGADB_WARNING (   X,
 
)
Value:
std::cout << "WARNING: " << X << ": In " <<  __PRETTY_FUNCTION__ << std::endl;\
std::cout << "In File: " << __FILE__ << " Line: " << __LINE__ << std::endl;
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines