![]() |
Column-oriented GPU-accelerated Database Management System
CoGaDB
|
#include <selection_expression.hpp>

Public Member Functions | |
| Predicate (const std::string &column1_name, const std::string &column2_name, PredicateType pred_t, ValueComparator comp) | |
| Predicate (const std::string &column1_name, const boost::any &constant, PredicateType pred_t, ValueComparator comp) | |
| PredicateType | getPredicateType () const |
| const std::string & | getColumn1Name () const |
| const std::string & | getColumn2Name () const |
| const boost::any & | getConstant () const |
| ValueComparator | getValueComparator () const |
| void | print () const |
| std::string | toString () const |
Private Attributes | |
| PredicateType | pred_t_ |
| std::string | column1_name_ |
| std::string | column2_name_ |
| boost::any | constant_ |
| ValueComparator | comp_ |
| CoGaDB::Predicate::Predicate | ( | const std::string & | column1_name, |
| const std::string & | column2_name, | ||
| PredicateType | pred_t, | ||
| ValueComparator | comp | ||
| ) |
References CoGaDB::ValueValuePredicate.
| CoGaDB::Predicate::Predicate | ( | const std::string & | column1_name, |
| const boost::any & | constant, | ||
| PredicateType | pred_t, | ||
| ValueComparator | comp | ||
| ) |
References CoGaDB::ValueConstantPredicate.
| const std::string & CoGaDB::Predicate::getColumn1Name | ( | ) | const |
References column1_name_.
Referenced by CoGaDB::query_processing::physical_operator::CPU_Selection_Operator::execute(), CoGaDB::query_processing::physical_operator::CPU_ParallelSelection_Operator::execute(), and CoGaDB::query_processing::physical_operator::GPU_Selection_Operator::execute().

| const std::string & CoGaDB::Predicate::getColumn2Name | ( | ) | const |
References column2_name_.
| const boost::any & CoGaDB::Predicate::getConstant | ( | ) | const |
References constant_.
Referenced by CoGaDB::query_processing::physical_operator::CPU_column_constant_filter_operator::execute(), CoGaDB::query_processing::physical_operator::GPU_column_constant_filter_operator::execute(), CoGaDB::query_processing::physical_operator::CPU_Selection_Operator::execute(), CoGaDB::query_processing::physical_operator::CPU_ParallelSelection_Operator::execute(), and CoGaDB::query_processing::physical_operator::GPU_Selection_Operator::execute().

References pred_t_.
Referenced by CoGaDB::query_processing::physical_operator::CPU_column_constant_filter_operator::execute(), CoGaDB::query_processing::physical_operator::GPU_column_constant_filter_operator::execute(), CoGaDB::query_processing::physical_operator::CPU_Selection_Operator::execute(), CoGaDB::query_processing::physical_operator::ColumnComparatorOperation::execute(), CoGaDB::query_processing::physical_operator::CPU_ParallelSelection_Operator::execute(), and CoGaDB::query_processing::physical_operator::GPU_Selection_Operator::execute().

References comp_.
Referenced by CoGaDB::query_processing::physical_operator::CPU_column_constant_filter_operator::execute(), CoGaDB::query_processing::physical_operator::GPU_column_constant_filter_operator::execute(), CoGaDB::query_processing::physical_operator::CPU_Selection_Operator::execute(), CoGaDB::query_processing::physical_operator::ColumnComparatorOperation::execute(), CoGaDB::query_processing::physical_operator::CPU_ParallelSelection_Operator::execute(), and CoGaDB::query_processing::physical_operator::GPU_Selection_Operator::execute().

| void CoGaDB::Predicate::print | ( | ) | const |
| std::string CoGaDB::Predicate::toString | ( | ) | const |
References column1_name_, column2_name_, comp_, constant_, CoGaDB::util::getName(), pred_t_, CoGaDB::ValueConstantPredicate, and CoGaDB::ValueValuePredicate.
Referenced by CoGaDB::query_processing::physical_operator::create_CPU_ColumnComparatorOperator(), print(), CoGaDB::query_processing::logical_operator::Logical_Column_Constant_Filter::toString(), CoGaDB::query_processing::logical_operator::Logical_ColumnComparatorOperation::toString(), and CoGaDB::query_processing::logical_operator::Logical_Selection::toString().


std::string CoGaDB::Predicate::column1_name_ [private] |
Referenced by getColumn1Name(), and toString().
std::string CoGaDB::Predicate::column2_name_ [private] |
Referenced by getColumn2Name(), and toString().
ValueComparator CoGaDB::Predicate::comp_ [private] |
Referenced by getValueComparator(), and toString().
boost::any CoGaDB::Predicate::constant_ [private] |
Referenced by getConstant(), and toString().
PredicateType CoGaDB::Predicate::pred_t_ [private] |
Referenced by getPredicateType(), and toString().