Column-oriented GPU-accelerated Database Management System
CoGaDB
|
A OperatorSpecification defines the operator that the user wants to execute. More...
#include <specification.hpp>
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 Tuple & | getFeatureVector () 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 |
A OperatorSpecification defines the operator that the user wants to execute.
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.
hype::core::OperatorSpecification::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
operator_name | the operations's name |
feature_vector | the feature vector of this operator |
location_of_input_data | the memory id where the input data is stored |
location_for_output_data | the memory id where the output data is stored |
const Tuple& hype::core::OperatorSpecification::getFeatureVector | ( | ) | const throw () |
returns the feature vector of this operator
ProcessingDeviceMemoryID hype::core::OperatorSpecification::getMemoryLocation | ( | ) | const throw () |
returns the memory id where the input data is stored
const std::string& hype::core::OperatorSpecification::getOperatorName | ( | ) | const throw () |
returns the operations's name
the feature vector of this operator
the memory id where the output data is stored
the memory id where the input data is stored
std::string hype::core::OperatorSpecification::operator_name_ [private] |
the operations's name