Hybrid Query Processing Engine for Coprocessing in Database Systems
HyPE
hype::queryprocessing::Node Class Reference

#include <node.hpp>

Inheritance diagram for hype::queryprocessing::Node:
Collaboration diagram for hype::queryprocessing::Node:

List of all members.

Public Types

typedef boost::shared_ptr< NodeNodePtr

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 DeviceConstraintgetDeviceConstraint () const

Protected Attributes

NodePtr parent_
NodePtr left_
NodePtr right_
unsigned int level_
DeviceConstraint dev_constr_

Detailed Description

Definition at line 111 of file node.hpp.


Member Typedef Documentation

typedef boost::shared_ptr<Node> hype::queryprocessing::Node::NodePtr

Definition at line 113 of file node.hpp.


Constructor & Destructor Documentation

Definition at line 115 of file node.hpp.

virtual hype::queryprocessing::Node::~Node ( ) [inline, virtual]

Definition at line 128 of file node.hpp.


Member Function Documentation

Definition at line 192 of file node.hpp.

References dev_constr_.

Definition at line 141 of file node.hpp.

References left_.

unsigned int hype::queryprocessing::Node::getLevel ( ) [inline]

Definition at line 153 of file node.hpp.

References level_.

virtual std::string hype::queryprocessing::Node::getOperationName ( ) const [pure virtual]

Referenced by hype::queryprocessing::OperatorMapper< Type, function >::getPhysicalOperator(), and toString().

Here is the caller graph for this function:

virtual unsigned int hype::queryprocessing::Node::getOutputResultSize ( ) const [pure virtual]

Definition at line 149 of file node.hpp.

References parent_.

Definition at line 145 of file node.hpp.

References right_.

bool hype::queryprocessing::Node::isLeaf ( ) const [inline]

Definition at line 136 of file node.hpp.

References left_, and right_.

bool hype::queryprocessing::Node::isRoot ( ) const [inline]

Definition at line 131 of file node.hpp.

References parent_.

Definition at line 178 of file node.hpp.

References left_.

void hype::queryprocessing::Node::setLevel ( unsigned int  level) [inline]

Definition at line 157 of file node.hpp.

References level_.

Definition at line 188 of file node.hpp.

References parent_.

Definition at line 183 of file node.hpp.

References right_.

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.

Here is the call graph for this function:


Member Data Documentation

Definition at line 201 of file node.hpp.

Referenced by getDeviceConstraint().

unsigned int hype::queryprocessing::Node::level_ [protected]

Definition at line 200 of file node.hpp.

Referenced by getLevel(), and setLevel().

Definition at line 197 of file node.hpp.

Referenced by getParent(), isRoot(), and setParent().


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