strus  0.17
statisticsViewerInterface.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014 Patrick P. Frey
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  */
10 #ifndef _STRUS_STATISTICS_VIEWER_INTERFACE_HPP_INCLUDED
11 #define _STRUS_STATISTICS_VIEWER_INTERFACE_HPP_INCLUDED
13 
14 namespace strus
15 {
16 
19 {
20 public:
23 
26  virtual int nofDocumentsInsertedChange()=0;
27 
31  virtual bool nextDfChange( TermStatisticsChange& rec)=0;
32 };
33 }//namespace
34 #endif
35 
Interface for a viewer of a statistics message (distributed index)
Definition: statisticsViewerInterface.hpp:18
virtual bool nextDfChange(TermStatisticsChange &rec)=0
Fetch the next message propagating a change in the df (document frequency)
Structure describing the change of statistics of one term in the collection.
Definition: termStatisticsChange.hpp:17
Term statistics change (for a distributed search index)
virtual int nofDocumentsInsertedChange()=0
Fetch the change of the number of document inserted.
virtual ~StatisticsViewerInterface()
Destructor.
Definition: statisticsViewerInterface.hpp:22