Hybrid Query Processing Engine for Coprocessing in Database Systems
HyPE
|
#include <node.hpp>
Public Types | |
typedef TypedNode< Type > ::Physical_Operator_Map | Physical_Operator_Map |
typedef TypedNode< Type > ::Physical_Operator_Map_Ptr | Physical_Operator_Map_Ptr |
typedef TypedNode< Type > ::TypedOperatorPtr | TypedOperatorPtr |
Public Member Functions | |
TypedNode_Impl (bool use_selectivity_estimation=false, DeviceConstraint dev_constr=DeviceConstraint()) | |
virtual | ~TypedNode_Impl () |
virtual TypedOperatorPtr | getOptimalOperator (TypedOperatorPtr left_child, TypedOperatorPtr right_child, DeviceTypeConstraint dev_constr) |
virtual Physical_Operator_Map_Ptr | getPhysical_Operator_Map () |
double | getSelectivity () const |
void | setSelectivity (double selectivity) |
Protected Member Functions | |
virtual double | getCalculatedSelectivity () const |
Protected Attributes | |
OperatorMapper< Type, function > | operator_mapper_ |
bool | use_selectivity_estimation_ |
double | customSelectivity |
typedef TypedNode<Type>::Physical_Operator_Map hype::queryprocessing::TypedNode_Impl< Type, function >::Physical_Operator_Map |
Reimplemented from hype::queryprocessing::TypedNode< Type >.
typedef TypedNode<Type>::Physical_Operator_Map_Ptr hype::queryprocessing::TypedNode_Impl< Type, function >::Physical_Operator_Map_Ptr |
Reimplemented from hype::queryprocessing::TypedNode< Type >.
typedef TypedNode<Type>::TypedOperatorPtr hype::queryprocessing::TypedNode_Impl< Type, function >::TypedOperatorPtr |
Reimplemented from hype::queryprocessing::TypedNode< Type >.
hype::queryprocessing::TypedNode_Impl< Type, function >::TypedNode_Impl | ( | bool | use_selectivity_estimation = false , |
DeviceConstraint | dev_constr = DeviceConstraint() |
||
) | [inline] |
Definition at line 247 of file node.hpp.
References hype::queryprocessing::TypedNode_Impl< Type, function >::customSelectivity.
virtual hype::queryprocessing::TypedNode_Impl< Type, function >::~TypedNode_Impl | ( | ) | [inline, virtual] |
virtual double hype::queryprocessing::TypedNode_Impl< Type, function >::getCalculatedSelectivity | ( | ) | const [inline, protected, virtual] |
Definition at line 290 of file node.hpp.
Referenced by hype::queryprocessing::TypedNode_Impl< Type, function >::getSelectivity().
virtual TypedOperatorPtr hype::queryprocessing::TypedNode_Impl< Type, function >::getOptimalOperator | ( | TypedOperatorPtr | left_child, |
TypedOperatorPtr | right_child, | ||
DeviceTypeConstraint | dev_constr | ||
) | [inline, virtual] |
Implements hype::queryprocessing::TypedNode< Type >.
Definition at line 254 of file node.hpp.
References hype::queryprocessing::TypedNode_Impl< Type, function >::getSelectivity(), hype::queryprocessing::Node::left_, hype::queryprocessing::Node::right_, and hype::queryprocessing::TypedNode_Impl< Type, function >::use_selectivity_estimation_.
virtual Physical_Operator_Map_Ptr hype::queryprocessing::TypedNode_Impl< Type, function >::getPhysical_Operator_Map | ( | ) | [inline, virtual] |
Implements hype::queryprocessing::TypedNode< Type >.
double hype::queryprocessing::TypedNode_Impl< Type, function >::getSelectivity | ( | ) | const [inline, virtual] |
Implements hype::queryprocessing::Node.
Definition at line 272 of file node.hpp.
References hype::queryprocessing::TypedNode_Impl< Type, function >::customSelectivity, and hype::queryprocessing::TypedNode_Impl< Type, function >::getCalculatedSelectivity().
Referenced by hype::queryprocessing::TypedNode_Impl< Type, function >::getOptimalOperator().
void hype::queryprocessing::TypedNode_Impl< Type, function >::setSelectivity | ( | double | selectivity | ) | [inline] |
Definition at line 280 of file node.hpp.
References hype::queryprocessing::TypedNode_Impl< Type, function >::customSelectivity.
double hype::queryprocessing::TypedNode_Impl< Type, function >::customSelectivity [protected] |
OperatorMapper<Type, function> hype::queryprocessing::TypedNode_Impl< Type, function >::operator_mapper_ [protected] |
bool hype::queryprocessing::TypedNode_Impl< Type, function >::use_selectivity_estimation_ [protected] |
Definition at line 287 of file node.hpp.
Referenced by hype::queryprocessing::TypedNode_Impl< Type, function >::getOptimalOperator().