Column-oriented GPU-accelerated Database Management System
CoGaDB
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

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.

Author:
Sebastian Breß
Version:
0.2
Date:
2013

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 
)

constructs an OperatorSpecification object by assigning necessary informations to all fields of the object

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

Member Function Documentation

returns the feature vector of this operator

returns the memory id where the input data is stored

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

returns the operations's name


Member Data Documentation

the feature vector of this operator

the memory id where the output data is stored

the memory id where the input data is stored

the operations's name


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