Hybrid Query Processing Engine for Coprocessing in Database Systems
HyPE
|
#include <unary_operator.hpp>
Public Types | |
typedef OperatorMapper_Helper_Template < OperatorOutputType > ::TypedOperatorPtr | TypedOperatorPtr |
Public Member Functions | |
UnaryOperator (const hype::SchedulingDecision &sched_dec, TypedOperatorPtr child) | |
virtual | ~UnaryOperator () |
OperatorInputType | getInputData () |
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 < OperatorInputType > > | child_ |
Definition at line 14 of file unary_operator.hpp.
typedef OperatorMapper_Helper_Template<OperatorOutputType>::TypedOperatorPtr hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::TypedOperatorPtr |
Definition at line 18 of file unary_operator.hpp.
hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::UnaryOperator | ( | const hype::SchedulingDecision & | sched_dec, |
TypedOperatorPtr | child | ||
) | [inline] |
Definition at line 23 of file unary_operator.hpp.
virtual hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::~UnaryOperator | ( | ) | [inline, virtual] |
Definition at line 27 of file unary_operator.hpp.
OperatorInputType hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::getInputData | ( | ) | [inline] |
Definition at line 30 of file unary_operator.hpp.
References hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::child_.
virtual double hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::getRecursiveExecutionTimeInNanoseconds | ( | ) | [inline, virtual] |
Implements hype::queryprocessing::Operator.
Definition at line 77 of file unary_operator.hpp.
References hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::child_, hype::queryprocessing::Operator::getEstimatedExecutionTime(), and hype::core::EstimatedTime::getTimeinNanoseconds().
virtual void hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::print | ( | unsigned int | tree_level | ) | const [inline, virtual] |
Implements hype::queryprocessing::TypedOperator< OperatorOutputType >.
Definition at line 50 of file unary_operator.hpp.
References hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::child_, hype::queryprocessing::Operator::getAlgorithmName(), hype::queryprocessing::Operator::getEstimatedExecutionTime(), hype::queryprocessing::Operator::getFeatureValues(), and hype::core::EstimatedTime::getTimeinNanoseconds().
virtual void hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::printResult | ( | unsigned int | tree_level | ) | const [inline, virtual] |
Implements hype::queryprocessing::TypedOperator< OperatorOutputType >.
Definition at line 61 of file unary_operator.hpp.
References hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::child_, hype::queryprocessing::Operator::getAlgorithmName(), hype::queryprocessing::Operator::getFeatureValues(), hype::queryprocessing::TypedOperator< OperatorOutputType >::getResultSize(), hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::timeEstimated, and hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::timeNeeded.
virtual bool hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::run | ( | ) | [inline, virtual] |
Implements hype::queryprocessing::TypedOperator< OperatorOutputType >.
Definition at line 37 of file unary_operator.hpp.
References hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::child_, hype::queryprocessing::Operator::getEstimatedExecutionTime(), hype::core::getTimestamp(), hype::core::Runtime_Configuration::instance(), hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::timeEstimated, and hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::timeNeeded.
boost::shared_ptr<TypedOperator<OperatorInputType> > hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::child_ [private] |
Definition at line 98 of file unary_operator.hpp.
Referenced by hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::getInputData(), hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::getRecursiveExecutionTimeInNanoseconds(), hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::print(), hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::printResult(), and hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::run().
double hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::timeEstimated [private] |
Definition at line 96 of file unary_operator.hpp.
Referenced by hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::printResult(), and hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::run().
double hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::timeNeeded [private] |
Definition at line 95 of file unary_operator.hpp.
Referenced by hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::printResult(), and hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::run().