Hybrid Query Processing Engine for Coprocessing in Database Systems
HyPE
|
#include <binary_operator.hpp>
Public Types | |
typedef OperatorMapper_Helper_Template < OperatorOutputType > ::TypedOperatorPtr | TypedOperatorPtr |
typedef OperatorMapper_Helper_Template < OperatorOutputType > ::TypedNodePtr | TypedNodePtr |
Public Member Functions | |
BinaryOperator (const hype::SchedulingDecision &sched_dec, boost::shared_ptr< TypedOperator< OperatorInputTypeLeftChild > > left_child, boost::shared_ptr< TypedOperator< OperatorInputTypeRightChild > > right_child) | |
virtual | ~BinaryOperator () |
OperatorInputTypeLeftChild | getInputDataLeftChild () |
OperatorInputTypeRightChild | getInputDataRightChild () |
virtual bool | run () |
virtual void | print (unsigned int tree_level) const |
virtual void | printResult (unsigned int tree_level) const |
virtual double | getRecursiveExecutionTimeInNanoseconds () |
Private Attributes | |
double | timeNeeded |
double | timeEstimated |
boost::shared_ptr < TypedOperator < OperatorInputTypeLeftChild > > | left_child_ |
boost::shared_ptr < TypedOperator < OperatorInputTypeRightChild > > | right_child_ |
Definition at line 26 of file binary_operator.hpp.
typedef OperatorMapper_Helper_Template<OperatorOutputType>::TypedNodePtr hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::TypedNodePtr |
Definition at line 30 of file binary_operator.hpp.
typedef OperatorMapper_Helper_Template<OperatorOutputType>::TypedOperatorPtr hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::TypedOperatorPtr |
Definition at line 29 of file binary_operator.hpp.
hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::BinaryOperator | ( | const hype::SchedulingDecision & | sched_dec, |
boost::shared_ptr< TypedOperator< OperatorInputTypeLeftChild > > | left_child, | ||
boost::shared_ptr< TypedOperator< OperatorInputTypeRightChild > > | right_child | ||
) | [inline] |
Definition at line 32 of file binary_operator.hpp.
virtual hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::~BinaryOperator | ( | ) | [inline, virtual] |
Definition at line 38 of file binary_operator.hpp.
OperatorInputTypeLeftChild hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::getInputDataLeftChild | ( | ) | [inline] |
Definition at line 42 of file binary_operator.hpp.
OperatorInputTypeRightChild hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::getInputDataRightChild | ( | ) | [inline] |
Definition at line 46 of file binary_operator.hpp.
virtual double hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::getRecursiveExecutionTimeInNanoseconds | ( | ) | [inline, virtual] |
Implements hype::queryprocessing::Operator.
Definition at line 110 of file binary_operator.hpp.
References hype::queryprocessing::Operator::getEstimatedExecutionTime(), hype::core::EstimatedTime::getTimeinNanoseconds(), hype::core::Runtime_Configuration::instance(), hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::left_child_, and hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::right_child_.
virtual void hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::print | ( | unsigned int | tree_level | ) | const [inline, virtual] |
Implements hype::queryprocessing::TypedOperator< OperatorOutputType >.
Definition at line 81 of file binary_operator.hpp.
References hype::queryprocessing::Operator::getAlgorithmName(), hype::queryprocessing::Operator::getEstimatedExecutionTime(), hype::queryprocessing::Operator::getFeatureValues(), hype::core::EstimatedTime::getTimeinNanoseconds(), hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::left_child_, and hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::right_child_.
virtual void hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::printResult | ( | unsigned int | tree_level | ) | const [inline, virtual] |
Implements hype::queryprocessing::TypedOperator< OperatorOutputType >.
Definition at line 93 of file binary_operator.hpp.
References hype::queryprocessing::Operator::getAlgorithmName(), hype::queryprocessing::Operator::getFeatureValues(), hype::queryprocessing::TypedOperator< OperatorOutputType >::getResultSize(), hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::left_child_, hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::right_child_, hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::timeEstimated, and hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::timeNeeded.
virtual bool hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::run | ( | ) | [inline, virtual] |
Implements hype::queryprocessing::TypedOperator< OperatorOutputType >.
Definition at line 50 of file binary_operator.hpp.
References hype::queryprocessing::Operator::getEstimatedExecutionTime(), hype::core::getTimestamp(), hype::core::Runtime_Configuration::instance(), hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::left_child_, hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::right_child_, hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::timeEstimated, and hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::timeNeeded.
boost::shared_ptr<TypedOperator<OperatorInputTypeLeftChild> > hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::left_child_ [private] |
Definition at line 158 of file binary_operator.hpp.
Referenced by hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::getInputDataLeftChild(), hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::getRecursiveExecutionTimeInNanoseconds(), hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::print(), hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::printResult(), and hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::run().
boost::shared_ptr<TypedOperator<OperatorInputTypeRightChild> > hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::right_child_ [private] |
Definition at line 159 of file binary_operator.hpp.
Referenced by hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::getInputDataRightChild(), hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::getRecursiveExecutionTimeInNanoseconds(), hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::print(), hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::printResult(), and hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::run().
double hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::timeEstimated [private] |
Definition at line 156 of file binary_operator.hpp.
Referenced by hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::printResult(), and hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::run().
double hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::timeNeeded [private] |
Definition at line 155 of file binary_operator.hpp.
Referenced by hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::printResult(), and hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::run().