|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ROOTCOLLECTION_COLLECTIONDATAEDITOR_H
6 #define ROOTCOLLECTION_COLLECTIONDATAEDITOR_H
14 #include "CoralBase/MessageStream.h"
22 namespace RootCollection {
35 coral::MessageStream &
log );
88 const std::string& whereClause =
"",
106 bool updateRecordsCounter =
true );
CollectionRowBuffer m_collectionRowBuffer
Collection row buffer containing all Tokens and Attributes defined by collection.
virtual int deleteRows(const std::string &whereClause, coral::AttributeList *attributeBindData=0, pool::TokenList *tokenBindData=0, bool updateRecordsCounter=true)
Deletes the rows of the collection that satisfy a query.
virtual int updateRows(coral::AttributeList *attributeSetList=0, TokenList *tokenSetList=0, const std::string &whereClause="", coral::AttributeList *attributeBindData=0, pool::TokenList *tokenBindData=0)
Updates the rows of the collection that satisfy a query.
virtual void insertRow(const pool::CollectionRowBuffer &inputRowBuffer, bool updateRecordsCounter=false)
Adds a new row of data to the collection.
virtual ~RootCollectionDataEditor()
const ICollectionDescription & m_description
Specification of collection properties.
virtual CollectionRowBuffer & emptyRowBuffer()
Returns a reference to an empty collection row buffer for adding rows of data to the collection.
RootCollectionDataEditor(const pool::ICollectionDescription &description, TTree *tree, coral::MessageStream &log)
virtual CollectionRowBuffer & rowBuffer()
Returns a reference to a collection row buffer for adding rows of data to the collection.
coral::MessageStream * m_poolOut
virtual void clearRowBuffers()
Clears all row buffers.
virtual void setRowCacheSize(int)
Sets the number of rows to cache before insertion into the collection.
std::string description
glabal timer - how long have I taken so far?