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


Public Member Functions | |
| AndCondition (SearchConditionPtr _lvalue, SearchConditionPtr _rvalue) | |
| KNF_Selection_Expression | getCNF (TypedNodePtr &io_node) |
| Convert a parse tree AND condition into Conjunctive Normal Form. | |
Public Attributes | |
| SearchConditionPtr | lvalue |
| SearchConditionPtr | rvalue |
| CoGaDB::SQL::ParseTree::AndCondition::AndCondition | ( | SearchConditionPtr | _lvalue, |
| SearchConditionPtr | _rvalue | ||
| ) | [inline] |
| KNF_Selection_Expression CoGaDB::SQL::ParseTree::AndCondition::getCNF | ( | TypedNodePtr & | io_node | ) | [virtual] |
Convert a parse tree AND condition into Conjunctive Normal Form.
To convert the AND condition of two search conditions, conjunctions of their CNF simply have to be concatenated.
| io_node | Reference to node pointer that holds the current chain of algebraic logical operators that is updated during CNF construction. |
Implements CoGaDB::SQL::ParseTree::SearchCondition.
References CoGaDB::KNF_Selection_Expression::disjunctions.