|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef COLLECTIONBASE_ICOLLECTIONDATAEDITOR_H
6 #define COLLECTIONBASE_ICOLLECTIONDATAEDITOR_H
17 class CollectionRowBuffer;
76 const std::string& whereClause =
"",
94 bool updateRecordsCounter =
true ) = 0;
virtual void clearRowBuffers()=0
Clears all row buffers.
virtual CollectionRowBuffer & emptyRowBuffer()=0
Returns a reference to an empty collection row buffer for adding rows of data to the collection.
virtual CollectionRowBuffer & rowBuffer()=0
Returns a reference to a collection row buffer for adding rows of data to the collection.
virtual void setRowCacheSize(int rowCacheSize=0)=0
Sets the number of rows to cache before insertion into the collection.
virtual void insertRow(const pool::CollectionRowBuffer &inputRowBuffer, bool updateRecordsCounter=true)=0
Adds a new row of data to the collection.
virtual ~ICollectionDataEditor()
Empty destructor.
virtual int deleteRows(const std::string &whereClause, coral::AttributeList *attributeBindData=0, pool::TokenList *tokenBindData=0, bool updateRecordsCounter=true)=0
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)=0
Updates the rows of the collection that satisfy a query.