Hybrid Query Processing Engine for Coprocessing in Database Systems
HyPE
|
#include <operator.hpp>
Public Member Functions | |
bool | operator() () |
const hype::core::SchedulingDecision & | getSchedulingDecision () const throw () |
virtual | ~Operator () |
const core::EstimatedTime | getEstimatedExecutionTime () const throw () |
virtual double | getRecursiveExecutionTimeInNanoseconds ()=0 |
const std::string | getAlgorithmName () const throw () |
const core::Tuple | getFeatureValues () const throw () |
const core::DeviceSpecification | getDeviceSpecification () const throw () |
Protected Member Functions | |
Operator (const hype::core::SchedulingDecision &sched_dec) | |
Private Member Functions | |
virtual bool | execute ()=0 |
Private Attributes | |
hype::core::SchedulingDecision | sched_dec_ |
Definition at line 13 of file operator.hpp.
hype::queryprocessing::Operator::~Operator | ( | ) | [virtual] |
Definition at line 32 of file operator.cpp.
hype::queryprocessing::Operator::Operator | ( | const hype::core::SchedulingDecision & | sched_dec | ) | [protected] |
Definition at line 34 of file operator.cpp.
virtual bool hype::queryprocessing::Operator::execute | ( | ) | [private, pure virtual] |
Implemented in GPU_Sort_Operator, CPU_Parallel_Sort_Operator, and CPU_Serial_Sort_Operator.
const std::string hype::queryprocessing::Operator::getAlgorithmName | ( | ) | const throw () |
Definition at line 41 of file operator.cpp.
References hype::core::SchedulingDecision::getNameofChoosenAlgorithm(), and sched_dec_.
Referenced by hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::print(), hype::queryprocessing::N_AryOperator< OperatorInputType, OperatorOutputType >::print(), hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::print(), hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::printResult(), hype::queryprocessing::N_AryOperator< OperatorInputType, OperatorOutputType >::printResult(), and hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::printResult().
const core::DeviceSpecification hype::queryprocessing::Operator::getDeviceSpecification | ( | ) | const throw () |
Definition at line 54 of file operator.cpp.
References hype::core::SchedulingDecision::getDeviceSpecification(), and sched_dec_.
const core::EstimatedTime hype::queryprocessing::Operator::getEstimatedExecutionTime | ( | ) | const throw () |
Definition at line 37 of file operator.cpp.
References hype::core::SchedulingDecision::getEstimatedExecutionTimeforAlgorithm(), and sched_dec_.
Referenced by hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::getRecursiveExecutionTimeInNanoseconds(), hype::queryprocessing::N_AryOperator< OperatorInputType, OperatorOutputType >::getRecursiveExecutionTimeInNanoseconds(), hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::getRecursiveExecutionTimeInNanoseconds(), hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::print(), hype::queryprocessing::N_AryOperator< OperatorInputType, OperatorOutputType >::print(), hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::print(), hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::run(), hype::queryprocessing::N_AryOperator< OperatorInputType, OperatorOutputType >::run(), and hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::run().
const core::Tuple hype::queryprocessing::Operator::getFeatureValues | ( | ) | const throw () |
Definition at line 46 of file operator.cpp.
References hype::core::SchedulingDecision::getFeatureValues(), and sched_dec_.
Referenced by hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::print(), hype::queryprocessing::N_AryOperator< OperatorInputType, OperatorOutputType >::print(), hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::print(), hype::queryprocessing::UnaryOperator< OperatorInputType, OperatorOutputType >::printResult(), hype::queryprocessing::N_AryOperator< OperatorInputType, OperatorOutputType >::printResult(), and hype::queryprocessing::BinaryOperator< OperatorInputTypeLeftChild, OperatorInputTypeRightChild, OperatorOutputType >::printResult().
virtual double hype::queryprocessing::Operator::getRecursiveExecutionTimeInNanoseconds | ( | ) | [pure virtual] |
const hype::core::SchedulingDecision & hype::queryprocessing::Operator::getSchedulingDecision | ( | ) | const throw () |
Definition at line 28 of file operator.cpp.
bool hype::queryprocessing::Operator::operator() | ( | ) |
Definition at line 13 of file operator.cpp.
References hype::core::AlgorithmMeasurement::afterAlgorithmExecution(), debug, quiet, and verbose.
Definition at line 32 of file operator.hpp.
Referenced by getAlgorithmName(), getDeviceSpecification(), getEstimatedExecutionTime(), and getFeatureValues().