![]() |
Hybrid Query Processing Engine for Coprocessing in Database Systems
HyPE
|
#include <node.hpp>


Public Types | |
| typedef boost::shared_ptr< Node > | NodePtr |
Public Member Functions | |
| Node (DeviceConstraint dev_constr=DeviceConstraint()) | |
| virtual | ~Node () |
| bool | isRoot () const |
| bool | isLeaf () const |
| const NodePtr | getLeft () const |
| const NodePtr | getRight () const |
| const NodePtr | getParent () const |
| unsigned int | getLevel () |
| void | setLevel (unsigned int level) |
| virtual unsigned int | getOutputResultSize () const =0 |
| virtual double | getSelectivity () const =0 |
| virtual std::string | getOperationName () const =0 |
| virtual std::string | toString (bool verbose=false) const |
| void | setLeft (NodePtr left) |
| void | setRight (NodePtr right) |
| void | setParent (NodePtr parent) |
| const DeviceConstraint & | getDeviceConstraint () const |
Protected Attributes | |
| NodePtr | parent_ |
| NodePtr | left_ |
| NodePtr | right_ |
| unsigned int | level_ |
| DeviceConstraint | dev_constr_ |
| typedef boost::shared_ptr<Node> hype::queryprocessing::Node::NodePtr |
| hype::queryprocessing::Node::Node | ( | DeviceConstraint | dev_constr = DeviceConstraint() | ) | [inline] |
| virtual hype::queryprocessing::Node::~Node | ( | ) | [inline, virtual] |
| const DeviceConstraint& hype::queryprocessing::Node::getDeviceConstraint | ( | ) | const [inline] |
Definition at line 192 of file node.hpp.
References dev_constr_.
| const NodePtr hype::queryprocessing::Node::getLeft | ( | ) | const [inline] |
| unsigned int hype::queryprocessing::Node::getLevel | ( | ) | [inline] |
| virtual std::string hype::queryprocessing::Node::getOperationName | ( | ) | const [pure virtual] |
Referenced by hype::queryprocessing::OperatorMapper< Type, function >::getPhysicalOperator(), and toString().

| virtual unsigned int hype::queryprocessing::Node::getOutputResultSize | ( | ) | const [pure virtual] |
| const NodePtr hype::queryprocessing::Node::getParent | ( | ) | const [inline] |
| const NodePtr hype::queryprocessing::Node::getRight | ( | ) | const [inline] |
| virtual double hype::queryprocessing::Node::getSelectivity | ( | ) | const [pure virtual] |
Implemented in hype::queryprocessing::TypedNode_Impl< Type, function >.
| bool hype::queryprocessing::Node::isLeaf | ( | ) | const [inline] |
| bool hype::queryprocessing::Node::isRoot | ( | ) | const [inline] |
| void hype::queryprocessing::Node::setLeft | ( | NodePtr | left | ) | [inline] |
| void hype::queryprocessing::Node::setLevel | ( | unsigned int | level | ) | [inline] |
| void hype::queryprocessing::Node::setParent | ( | NodePtr | parent | ) | [inline] |
| void hype::queryprocessing::Node::setRight | ( | NodePtr | right | ) | [inline] |
| virtual std::string hype::queryprocessing::Node::toString | ( | bool | verbose = false | ) | const [inline, virtual] |
Definition at line 167 of file node.hpp.
References getOperationName(), and verbose.

Definition at line 201 of file node.hpp.
Referenced by getDeviceConstraint().
NodePtr hype::queryprocessing::Node::left_ [protected] |
unsigned int hype::queryprocessing::Node::level_ [protected] |
Definition at line 200 of file node.hpp.
Referenced by getLevel(), and setLevel().
NodePtr hype::queryprocessing::Node::parent_ [protected] |
Definition at line 197 of file node.hpp.
Referenced by getParent(), isRoot(), and setParent().
NodePtr hype::queryprocessing::Node::right_ [protected] |
Definition at line 199 of file node.hpp.
Referenced by hype::queryprocessing::TypedNode_Impl< Type, function >::getOptimalOperator(), getRight(), isLeaf(), and setRight().