Column-oriented GPU-accelerated Database Management System
CoGaDB
|
#include <column_computation_constant_operator.hpp>
Public Types | |
typedef hype::queryprocessing::OperatorMapper_Helper_Template < TablePtr >::TypedOperatorPtr | TypedOperatorPtr |
Public Member Functions | |
CPU_ColumnConstantOperator (const hype::SchedulingDecision &sched_dec, TypedOperatorPtr child, std::string column_name, const boost::any &value, const std::string &result_col_name, ColumnAlgebraOperation operation) | |
virtual bool | execute () |
virtual | ~CPU_ColumnConstantOperator () |
Private Attributes | |
std::string | column_name_ |
boost::any | value_ |
std::string | result_column_name_ |
CoGaDB::ColumnAlgebraOperation | operation_ |
typedef hype::queryprocessing::OperatorMapper_Helper_Template<TablePtr>::TypedOperatorPtr CoGaDB::query_processing::physical_operator::CPU_ColumnConstantOperator::TypedOperatorPtr |
Reimplemented from hype::queryprocessing::UnaryOperator< TablePtr, TablePtr >.
CoGaDB::query_processing::physical_operator::CPU_ColumnConstantOperator::CPU_ColumnConstantOperator | ( | const hype::SchedulingDecision & | sched_dec, |
TypedOperatorPtr | child, | ||
std::string | column_name, | ||
const boost::any & | value, | ||
const std::string & | result_col_name, | ||
ColumnAlgebraOperation | operation | ||
) | [inline] |
virtual CoGaDB::query_processing::physical_operator::CPU_ColumnConstantOperator::~CPU_ColumnConstantOperator | ( | ) | [inline, virtual] |
virtual bool CoGaDB::query_processing::physical_operator::CPU_ColumnConstantOperator::execute | ( | ) | [inline, virtual] |
Implements hype::queryprocessing::Operator.
References column_name_, CoGaDB::BaseTable::ColumnConstantOperation(), CoGaDB::CPU, hype::queryprocessing::UnaryOperator< TablePtr, TablePtr >::getInputData(), operation_, hype::queryprocessing::TypedOperator< TablePtr >::result_, result_column_name_, hype::queryprocessing::TypedOperator< TablePtr >::setResultSize(), and value_.
std::string CoGaDB::query_processing::physical_operator::CPU_ColumnConstantOperator::column_name_ [private] |
Referenced by execute().
CoGaDB::ColumnAlgebraOperation CoGaDB::query_processing::physical_operator::CPU_ColumnConstantOperator::operation_ [private] |
Referenced by execute().
std::string CoGaDB::query_processing::physical_operator::CPU_ColumnConstantOperator::result_column_name_ [private] |
Referenced by execute().
boost::any CoGaDB::query_processing::physical_operator::CPU_ColumnConstantOperator::value_ [private] |
Referenced by execute().