#include <RelationalBuffer.h>
Definition at line 25 of file RelationalBuffer.h.
ora::RelationalBuffer::RelationalBuffer |
( |
coral::ISchema & |
schema | ) |
|
|
explicit |
Definition at line 5 of file RelationalBuffer.cc.
std::vector< boost::shared_ptr< coral::Blob > > m_blobBuffer
coral::ISchema & m_schema
std::vector< RelationalBuffer * > m_volatileBuffers
std::vector< std::pair< IRelationalOperation *, bool > > m_operations
ora::RelationalBuffer::~RelationalBuffer |
( |
| ) |
|
|
virtual |
Definition at line 49 of file RelationalBuffer.cc.
coral::ISchema & m_schema
RelationalBuffer(coral::ISchema &schema)
std::vector< RelationalBuffer * > m_volatileBuffers
void ora::RelationalBuffer::clear |
( |
void |
| ) |
|
bool ora::RelationalBuffer::flush |
( |
| ) |
|
Definition at line 73 of file RelationalBuffer.cc.
References cmsIgProf_Analysis::execute(), convertSQLiteXML::ok, reset(), and runTheMatrix::ret.
76 std::vector< std::pair<IRelationalOperation*,bool> >::const_iterator iOp =
m_operations.begin();
79 go = ok || !(iOp->first)->isRequired();
80 ret = ret && (ok || !iOp->second);
85 bool ok = (iOp->first)->
execute();
86 go = ok || !(iOp->first)->isRequired();
87 ret = ret && (ok || !iOp->second);
89 (iOp->first)->
reset();
tuple ret
prodAgent to be discontinued
std::vector< boost::shared_ptr< coral::Blob > > m_blobBuffer
std::vector< RelationalBuffer * > m_volatileBuffers
std::vector< std::pair< IRelationalOperation *, bool > > m_operations
void reset(double vett[256])
Definition at line 22 of file RelationalBuffer.cc.
23 BulkInsertOperation* newOperation =
new BulkInsertOperation(
tableName,
m_schema );
24 m_operations.push_back( std::make_pair(newOperation,
false) );
coral::ISchema & m_schema
std::vector< std::pair< IRelationalOperation *, bool > > m_operations
ora::DeleteOperation & ora::RelationalBuffer::newDelete |
( |
const std::string & |
tableName, |
|
|
bool |
addToResult = false |
|
) |
| |
Definition at line 16 of file RelationalBuffer.cc.
18 m_operations.push_back( std::make_pair(newOperation,
false) );
coral::ISchema & m_schema
std::vector< std::pair< IRelationalOperation *, bool > > m_operations
Definition at line 28 of file RelationalBuffer.cc.
29 MultiRecordInsertOperation* newOperation =
new MultiRecordInsertOperation(
tableName,
m_schema );
30 m_operations.push_back( std::make_pair(newOperation,
false) );
coral::ISchema & m_schema
std::vector< std::pair< IRelationalOperation *, bool > > m_operations
ora::UpdateOperation & ora::RelationalBuffer::newUpdate |
( |
const std::string & |
tableName, |
|
|
bool |
addToResult = false |
|
) |
| |
Definition at line 34 of file RelationalBuffer.cc.
37 m_operations.push_back( std::make_pair(newOperation,addToResult) );
coral::ISchema & m_schema
std::vector< std::pair< IRelationalOperation *, bool > > m_operations
void ora::RelationalBuffer::storeBlob |
( |
boost::shared_ptr< coral::Blob > |
blob | ) |
|
Definition at line 55 of file RelationalBuffer.cc.
std::vector< boost::shared_ptr< coral::Blob > > m_blobBuffer
std::vector< boost::shared_ptr<coral::Blob> > ora::RelationalBuffer::m_blobBuffer |
|
private |
coral::ISchema& ora::RelationalBuffer::m_schema |
|
private |