Column-oriented GPU-accelerated Database Management System
CoGaDB
CoGaDB::gpu::GPU_Base_Column Class Reference

#include <gpu_base_column.hpp>

Inheritance diagram for CoGaDB::gpu::GPU_Base_Column:
Collaboration diagram for CoGaDB::gpu::GPU_Base_Column:

List of all members.

Public Member Functions

 GPU_Base_Column (const std::string &name, AttributeType db_type)
virtual ~GPU_Base_Column ()
virtual bool insert (const boost::any &new_Value)=0
virtual bool update (TID tid, const boost::any &new_Value)=0
virtual bool remove (TID tid)=0
virtual const boost::any get (TID tid)=0
virtual bool add (const boost::any &new_Value)=0
 adds constant to column
virtual bool add (shared_pointer_namespace::shared_ptr< GPU_Base_Column > column)=0
 vector addition of two columns
virtual bool minus (const boost::any &new_Value)=0
 substracts constant from column
virtual bool minus (shared_pointer_namespace::shared_ptr< GPU_Base_Column > column)=0
 vector substraction of two columns
virtual bool multiply (const boost::any &new_Value)=0
 multiply constant with column
virtual bool multiply (shared_pointer_namespace::shared_ptr< GPU_Base_Column > column)=0
 multiply two columns A and B
virtual bool division (const boost::any &new_Value)=0
 devide values in column by a constant
virtual bool division (shared_pointer_namespace::shared_ptr< GPU_Base_Column > column)=0
 devide column A with column B
virtual void print () const =0 throw ()
virtual size_t size () const =0 throw ()
virtual const std::type_info & type () const =0 throw ()
virtual const
shared_pointer_namespace::shared_ptr
< GPU_Base_Column
copy () const =0
virtual const
shared_pointer_namespace::shared_ptr
< GPU_Base_Column
materialize (shared_pointer_namespace::shared_ptr< GPU_Positionlist > pos_list) const =0
AttributeType getType () const throw ()
 returns database type of column (as defined in "SQL" statement)
const std::string getName () const throw ()

Protected Attributes

std::string name_
AttributeType db_type_

Constructor & Destructor Documentation

CoGaDB::gpu::GPU_Base_Column::GPU_Base_Column ( const std::string &  name,
AttributeType  db_type 
)

Member Function Documentation

virtual bool CoGaDB::gpu::GPU_Base_Column::add ( const boost::any &  new_Value) [pure virtual]

adds constant to column

for all indeces i holds the following property: B[i]=A[i]+new_Value

Implemented in CoGaDB::gpu::GPU_Typed_Base_Column< T >, and CoGaDB::gpu::GPU_Typed_Base_Column< T >.

virtual bool CoGaDB::gpu::GPU_Base_Column::add ( shared_pointer_namespace::shared_ptr< GPU_Base_Column column) [pure virtual]

vector addition of two columns

for all indeces i holds the following property: C[i]=A[i]+B[i]

Implemented in CoGaDB::gpu::GPU_Typed_Base_Column< T >.

virtual const shared_pointer_namespace::shared_ptr<GPU_Base_Column> CoGaDB::gpu::GPU_Base_Column::copy ( ) const [pure virtual]
virtual bool CoGaDB::gpu::GPU_Base_Column::division ( const boost::any &  new_Value) [pure virtual]

devide values in column by a constant

for all indeces i holds the following property: B[i]=A[i]/new_Value

Implemented in CoGaDB::gpu::GPU_Typed_Base_Column< T >, and CoGaDB::gpu::GPU_Typed_Base_Column< T >.

virtual bool CoGaDB::gpu::GPU_Base_Column::division ( shared_pointer_namespace::shared_ptr< GPU_Base_Column column) [pure virtual]

devide column A with column B

for all indeces i holds the following property: C[i]=A[i]/B[i]

Implemented in CoGaDB::gpu::GPU_Typed_Base_Column< T >.

virtual const boost::any CoGaDB::gpu::GPU_Base_Column::get ( TID  tid) [pure virtual]
const std::string CoGaDB::gpu::GPU_Base_Column::getName ( ) const throw ()

returns database type of column (as defined in "SQL" statement)

virtual bool CoGaDB::gpu::GPU_Base_Column::insert ( const boost::any &  new_Value) [pure virtual]
virtual const shared_pointer_namespace::shared_ptr<GPU_Base_Column> CoGaDB::gpu::GPU_Base_Column::materialize ( shared_pointer_namespace::shared_ptr< GPU_Positionlist pos_list) const [pure virtual]
virtual bool CoGaDB::gpu::GPU_Base_Column::minus ( const boost::any &  new_Value) [pure virtual]

substracts constant from column

for all indeces i holds the following property: B[i]=A[i]-new_Value

Implemented in CoGaDB::gpu::GPU_Typed_Base_Column< T >, and CoGaDB::gpu::GPU_Typed_Base_Column< T >.

virtual bool CoGaDB::gpu::GPU_Base_Column::minus ( shared_pointer_namespace::shared_ptr< GPU_Base_Column column) [pure virtual]

vector substraction of two columns

for all indeces i holds the following property: C[i]=A[i]-B[i]

Implemented in CoGaDB::gpu::GPU_Typed_Base_Column< T >.

virtual bool CoGaDB::gpu::GPU_Base_Column::multiply ( const boost::any &  new_Value) [pure virtual]

multiply constant with column

for all indeces i holds the following property: B[i]=A[i]*new_Value

Implemented in CoGaDB::gpu::GPU_Typed_Base_Column< T >, and CoGaDB::gpu::GPU_Typed_Base_Column< T >.

virtual bool CoGaDB::gpu::GPU_Base_Column::multiply ( shared_pointer_namespace::shared_ptr< GPU_Base_Column column) [pure virtual]

multiply two columns A and B

for all indeces i holds the following property: C[i]=A[i]*B[i]

Implemented in CoGaDB::gpu::GPU_Typed_Base_Column< T >.

virtual void CoGaDB::gpu::GPU_Base_Column::print ( ) const throw () [pure virtual]
virtual bool CoGaDB::gpu::GPU_Base_Column::remove ( TID  tid) [pure virtual]
virtual size_t CoGaDB::gpu::GPU_Base_Column::size ( ) const throw () [pure virtual]
virtual const std::type_info& CoGaDB::gpu::GPU_Base_Column::type ( ) const throw () [pure virtual]
virtual bool CoGaDB::gpu::GPU_Base_Column::update ( TID  tid,
const boost::any &  new_Value 
) [pure virtual]

Member Data Documentation

std::string CoGaDB::gpu::GPU_Base_Column::name_ [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines