#include <RelationalOperation.h>
Public Member Functions | |
bool | execute () |
InsertOperation (const std::string &tableName, coral::ISchema &schema) | |
bool | isRequired () |
void | reset () |
~InsertOperation () | |
Private Attributes | |
coral::ISchema & | m_schema |
std::string | m_tableName |
Definition at line 95 of file RelationalOperation.h.
ora::InsertOperation::InsertOperation | ( | const std::string & | tableName, |
coral::ISchema & | schema | ||
) |
Definition at line 99 of file RelationalOperation.cc.
: InputRelationalData(), m_tableName( tableName ), m_schema( schema ){ }
ora::InsertOperation::~InsertOperation | ( | ) |
Definition at line 106 of file RelationalOperation.cc.
{ }
bool ora::InsertOperation::execute | ( | ) | [virtual] |
Implements ora::IRelationalOperation.
Definition at line 114 of file RelationalOperation.cc.
References runTheMatrix::data, and asciidump::table.
{ coral::ITable& table = m_schema.tableHandle( m_tableName ); table.dataEditor().insertRow( data() ); return true; }
bool ora::InsertOperation::isRequired | ( | ) | [virtual] |
Implements ora::IRelationalOperation.
Definition at line 110 of file RelationalOperation.cc.
{ return false; }
void ora::InsertOperation::reset | ( | void | ) | [virtual] |
coral::ISchema& ora::InsertOperation::m_schema [private] |
Definition at line 107 of file RelationalOperation.h.
std::string ora::InsertOperation::m_tableName [private] |
Definition at line 106 of file RelationalOperation.h.