Hybrid Query Processing Engine for Coprocessing in Database Systems
HyPE
hype::core::OperatorSpecification Struct Reference

A OperatorSpecification defines the operator that the user wants to execute. More...

#include <specification.hpp>

Collaboration diagram for hype::core::OperatorSpecification:

List of all members.

Public Member Functions

 OperatorSpecification (const std::string &operator_name, const Tuple &feature_vector, ProcessingDeviceMemoryID location_of_input_data, ProcessingDeviceMemoryID location_for_output_data)
 constructs an OperatorSpecification object by assigning necessary informations to all fields of the object
const std::string & getOperatorName () const throw ()
 returns the operations's name
const TuplegetFeatureVector () const throw ()
 returns the feature vector of this operator
ProcessingDeviceMemoryID getMemoryLocation () const throw ()
 returns the memory id where the input data is stored

Private Attributes

std::string operator_name_
 the operations's name
Tuple feature_vector_
 the feature vector of this operator
ProcessingDeviceMemoryID location_of_input_data_
 the memory id where the input data is stored
ProcessingDeviceMemoryID location_for_output_data_
 the memory id where the output data is stored

Detailed Description

Hence, it contains the name of the operation and the features of the input data set as well as the two memory ids, where the first identifies where the input data is stored, and the second specifies where the input data is stored. Note that HyPE needs this information to estimate the overhead of data transfers in case the data needs to be copied to use a certain processing device.

Author:
Sebastian Breß
Version:
0.2
Date:
2013
Examples:
online_learning.cpp, and online_learning_manual_time_measurement.cpp.

Definition at line 85 of file specification.hpp.


Constructor & Destructor Documentation

hype::core::OperatorSpecification::OperatorSpecification ( const std::string &  operator_name,
const Tuple feature_vector,
ProcessingDeviceMemoryID  location_of_input_data,
ProcessingDeviceMemoryID  location_for_output_data 
)
Parameters:
operator_namethe operations's name
feature_vectorthe feature vector of this operator
location_of_input_datathe memory id where the input data is stored
location_for_output_datathe memory id where the output data is stored

Definition at line 65 of file specification.cpp.


Member Function Documentation

Definition at line 77 of file specification.cpp.

References feature_vector_.

Referenced by hype::core::Scheduler::getEstimatedExecutionTime(), and hype::core::Scheduler::getOptimalAlgorithm().

Here is the caller graph for this function:

const std::string & hype::core::OperatorSpecification::getOperatorName ( ) const throw ()

Definition at line 87 of file specification.cpp.

References operator_name_.

Referenced by hype::core::Scheduler::getEstimatedExecutionTime(), and hype::core::Scheduler::getOptimalAlgorithm().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 111 of file specification.hpp.

Referenced by getOperatorName().


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