5#ifndef COLLECTIONSVC_ICOLLECTIONCURSOR_H
6#define COLLECTIONSVC_ICOLLECTIONCURSOR_H
25 virtual std::size_t
size() = 0;
28 virtual bool seek(std::size_t position) = 0;
This class provides a token that identifies in a unique way objects on the persistent storage.
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.
virtual bool next()=0
Advances the cursor to the next row of the query result set.
virtual const Token & eventRef() const =0
Returns the event reference Token for the current row.
virtual std::size_t size()=0
Returns the size of the collection.
virtual const pool::CollectionRowBuffer & currentRow() const =0
Returns the selected Tokens and Attributes for the current row of the query result set.
virtual bool seek(std::size_t position)=0
Seek to a given position in the collection.
virtual void close()=0
Cleanup.
virtual ~ICollectionCursor()
Empty destructor.