Column-oriented GPU-accelerated Database Management System
CoGaDB
|
#include <column_computation_constant_operator.hpp>
Public Member Functions | |
Logical_ColumnConstantOperator (std::string column_name, const boost::any &value, const std::string &result_col_name, ColumnAlgebraOperation operation, hype::DeviceConstraint dev_constr=CoGaDB::RuntimeConfiguration::instance().getGlobalDeviceConstraint()) | |
virtual unsigned int | getOutputResultSize () const |
virtual double | getCalculatedSelectivity () const |
virtual std::string | getOperationName () const |
std::string | toString (bool verbose) const |
const std::string & | getColumnName () |
const boost::any & | getValue () |
const std::string & | getResultColumnName () |
CoGaDB::ColumnAlgebraOperation | getColumnAlgebraOperation () |
Private Attributes | |
std::string | column_name_ |
boost::any | value_ |
std::string | result_column_name_ |
CoGaDB::ColumnAlgebraOperation | operation_ |
CoGaDB::query_processing::logical_operator::Logical_ColumnConstantOperator::Logical_ColumnConstantOperator | ( | std::string | column_name, |
const boost::any & | value, | ||
const std::string & | result_col_name, | ||
ColumnAlgebraOperation | operation, | ||
hype::DeviceConstraint | dev_constr = CoGaDB::RuntimeConfiguration::instance().getGlobalDeviceConstraint() |
||
) | [inline] |
virtual double CoGaDB::query_processing::logical_operator::Logical_ColumnConstantOperator::getCalculatedSelectivity | ( | ) | const [inline, virtual] |
CoGaDB::ColumnAlgebraOperation CoGaDB::query_processing::logical_operator::Logical_ColumnConstantOperator::getColumnAlgebraOperation | ( | ) | [inline] |
References operation_.
Referenced by CoGaDB::query_processing::physical_operator::create_CPU_ColumnConstant_Operator(), and CoGaDB::query_processing::physical_operator::create_GPU_ColumnConstant_Operator().
const std::string& CoGaDB::query_processing::logical_operator::Logical_ColumnConstantOperator::getColumnName | ( | ) | [inline] |
References column_name_.
Referenced by CoGaDB::query_processing::physical_operator::create_CPU_ColumnConstant_Operator(), and CoGaDB::query_processing::physical_operator::create_GPU_ColumnConstant_Operator().
virtual std::string CoGaDB::query_processing::logical_operator::Logical_ColumnConstantOperator::getOperationName | ( | ) | const [inline, virtual] |
Implements hype::queryprocessing::Node.
virtual unsigned int CoGaDB::query_processing::logical_operator::Logical_ColumnConstantOperator::getOutputResultSize | ( | ) | const [inline, virtual] |
Implements hype::queryprocessing::Node.
const std::string& CoGaDB::query_processing::logical_operator::Logical_ColumnConstantOperator::getResultColumnName | ( | ) | [inline] |
References result_column_name_.
Referenced by CoGaDB::query_processing::physical_operator::create_CPU_ColumnConstant_Operator(), and CoGaDB::query_processing::physical_operator::create_GPU_ColumnConstant_Operator().
const boost::any& CoGaDB::query_processing::logical_operator::Logical_ColumnConstantOperator::getValue | ( | ) | [inline] |
References value_.
Referenced by CoGaDB::query_processing::physical_operator::create_CPU_ColumnConstant_Operator(), and CoGaDB::query_processing::physical_operator::create_GPU_ColumnConstant_Operator().
std::string CoGaDB::query_processing::logical_operator::Logical_ColumnConstantOperator::toString | ( | bool | verbose | ) | const [inline, virtual] |
Reimplemented from hype::queryprocessing::Node.
References column_name_, CoGaDB::util::getName(), operation_, result_column_name_, and value_.
std::string CoGaDB::query_processing::logical_operator::Logical_ColumnConstantOperator::column_name_ [private] |
Referenced by getColumnName(), and toString().
CoGaDB::ColumnAlgebraOperation CoGaDB::query_processing::logical_operator::Logical_ColumnConstantOperator::operation_ [private] |
Referenced by getColumnAlgebraOperation(), and toString().
std::string CoGaDB::query_processing::logical_operator::Logical_ColumnConstantOperator::result_column_name_ [private] |
Referenced by getResultColumnName(), and toString().
boost::any CoGaDB::query_processing::logical_operator::Logical_ColumnConstantOperator::value_ [private] |
Referenced by getValue(), and toString().