strus  0.17
Public Member Functions | List of all members
strus::StatisticsViewerInterface Class Referenceabstract

Interface for a viewer of a statistics message (distributed index) More...

#include <statisticsViewerInterface.hpp>

Public Member Functions

virtual ~StatisticsViewerInterface ()
 Destructor. More...
 
virtual int nofDocumentsInsertedChange ()=0
 Fetch the change of the number of document inserted. More...
 
virtual bool nextDfChange (TermStatisticsChange &rec)=0
 Fetch the next message propagating a change in the df (document frequency) More...
 

Detailed Description

Interface for a viewer of a statistics message (distributed index)

Constructor & Destructor Documentation

virtual strus::StatisticsViewerInterface::~StatisticsViewerInterface ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual bool strus::StatisticsViewerInterface::nextDfChange ( TermStatisticsChange rec)
pure virtual

Fetch the next message propagating a change in the df (document frequency)

Parameters
[out]therecord describing the document frequency change
Returns
false, if there is no record left and wqe are at the end of the message
virtual int strus::StatisticsViewerInterface::nofDocumentsInsertedChange ( )
pure virtual

Fetch the change of the number of document inserted.

Returns
the increment positive or negative (decrement) value of the local change of the collection size

The documentation for this class was generated from the following file: