Column-oriented GPU-accelerated Database Management System
CoGaDB
/home/sebastian/gpudbms/trunk/cogadb/include/util/reduce_by_keys.hpp File Reference
#include <core/column.hpp>
#include <iostream>
#include <utility>
#include <functional>
#include <algorithm>
Include dependency graph for reduce_by_keys.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CoGaDB::min_obj< T >
struct  CoGaDB::max_obj< T >

Namespaces

namespace  CoGaDB
 

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


Functions

template<typename T , typename U , typename BinaryOperator >
std::pair< ColumnPtr, ColumnPtr > CoGaDB::reduce_by_keys (shared_pointer_namespace::shared_ptr< ColumnBaseTyped< U > > keys, shared_pointer_namespace::shared_ptr< ColumnBaseTyped< T > > values, BinaryOperator binary_op)
template<typename T , typename U >
std::pair< ColumnPtr, ColumnPtr > CoGaDB::reduce_by_keys (shared_pointer_namespace::shared_ptr< ColumnBaseTyped< U > > keys, shared_pointer_namespace::shared_ptr< ColumnBaseTyped< T > > values, AggregationMethod agg_meth)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines