Column-oriented GPU-accelerated Database Management System
CoGaDB
CoGaDB::SQL::ParseTree::AndCondition Struct Reference

#include <sql_parsetree.hpp>

Inheritance diagram for CoGaDB::SQL::ParseTree::AndCondition:
Collaboration diagram for CoGaDB::SQL::ParseTree::AndCondition:

List of all members.

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

Constructor & Destructor Documentation


Member Function Documentation

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.

Parameters:
io_nodeReference to node pointer that holds the current chain of algebraic logical operators that is updated during CNF construction.
Returns:
The CNF of the conjunction of the two search conditions

Implements CoGaDB::SQL::ParseTree::SearchCondition.

References CoGaDB::KNF_Selection_Expression::disjunctions.


Member Data Documentation


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines