5#ifndef COLLECTIONSVC_ICOLLECTION_H
6#define COLLECTIONSVC_ICOLLECTION_H
44 virtual void commit(
bool restartTransaction =
true ) = 0;
A class that acts as a buffer to be filled with the event reference and associated metadata values of...
An interface used to navigate the result of a query on a collection.
An interface used to define the properties of a collection to be constructed and to retrieve these pr...
An interface to a storage technology specific collection of event references and attributes.
virtual bool isOpen() const =0
Checks if the collection is open.
virtual ICollection::OpenMode openMode() const =0
Returns the open mode of the collection for the present transaction.
virtual const ICollectionDescription & description() const =0
Returns an object used to describe the collection properties.
virtual void commit(bool restartTransaction=true)=0
Commits the latest changes made to the collection.
virtual void insertRow(const pool::CollectionRowBuffer &inputRowBuffer)=0
Adds a new row of data to the collection.
virtual void open()=0
Opens the collection and initializes it if necessary.
virtual ICollectionCursor & cursor()=0
Returns an cursor for the collection.
OpenMode
Enumeration of the possible open modes of the collection.
virtual void close()=0
Closes the collection and terminates any database connections.
virtual ~ICollection()=default
Empty destructor.
virtual void initNewRow(pool::CollectionRowBuffer &row) const
Initialize a new RowBuffer by adding all Attributes adn Tokens of this collection to it.