Column-oriented GPU-accelerated Database Management System
CoGaDB
|
#include <generate_constant_column_operator.hpp>
Public Member Functions | |
Logical_AddConstantValueColumn (const std::string &col_name, AttributeType type, const boost::any &value) | |
virtual unsigned int | getOutputResultSize () const |
virtual double | getSelectivity () const |
virtual std::string | getOperationName () const |
std::string | toString (bool verbose) const |
const std::string & | getColumnName () |
const AttributeType & | getAttributeType () const |
const boost::any & | getConstantValue () const |
Private Attributes | |
std::string | col_name_ |
AttributeType | type_ |
boost::any | value_ |
CoGaDB::query_processing::logical_operator::Logical_AddConstantValueColumn::Logical_AddConstantValueColumn | ( | const std::string & | col_name, |
AttributeType | type, | ||
const boost::any & | value | ||
) | [inline] |
const AttributeType& CoGaDB::query_processing::logical_operator::Logical_AddConstantValueColumn::getAttributeType | ( | ) | const [inline] |
References type_.
Referenced by CoGaDB::query_processing::physical_operator::create_CPU_AddConstantValueColumn_Operator(), and CoGaDB::query_processing::physical_operator::create_GPU_AddConstantValueColumn_Operator().
const std::string& CoGaDB::query_processing::logical_operator::Logical_AddConstantValueColumn::getColumnName | ( | ) | [inline] |
References col_name_.
Referenced by CoGaDB::query_processing::physical_operator::create_CPU_AddConstantValueColumn_Operator(), and CoGaDB::query_processing::physical_operator::create_GPU_AddConstantValueColumn_Operator().
const boost::any& CoGaDB::query_processing::logical_operator::Logical_AddConstantValueColumn::getConstantValue | ( | ) | const [inline] |
References value_.
Referenced by CoGaDB::query_processing::physical_operator::create_CPU_AddConstantValueColumn_Operator(), and CoGaDB::query_processing::physical_operator::create_GPU_AddConstantValueColumn_Operator().
virtual std::string CoGaDB::query_processing::logical_operator::Logical_AddConstantValueColumn::getOperationName | ( | ) | const [inline, virtual] |
Implements hype::queryprocessing::Node.
virtual unsigned int CoGaDB::query_processing::logical_operator::Logical_AddConstantValueColumn::getOutputResultSize | ( | ) | const [inline, virtual] |
Implements hype::queryprocessing::Node.
References hype::queryprocessing::Node::left_.
virtual double CoGaDB::query_processing::logical_operator::Logical_AddConstantValueColumn::getSelectivity | ( | ) | const [inline, virtual] |
std::string CoGaDB::query_processing::logical_operator::Logical_AddConstantValueColumn::toString | ( | bool | verbose | ) | const [inline, virtual] |
Reimplemented from hype::queryprocessing::Node.
References col_name_, CoGaDB::util::getName(), type_, and value_.
std::string CoGaDB::query_processing::logical_operator::Logical_AddConstantValueColumn::col_name_ [private] |
Referenced by getColumnName(), and toString().
AttributeType CoGaDB::query_processing::logical_operator::Logical_AddConstantValueColumn::type_ [private] |
Referenced by getAttributeType(), and toString().
boost::any CoGaDB::query_processing::logical_operator::Logical_AddConstantValueColumn::value_ [private] |
Referenced by getConstantValue(), and toString().