strusPython  0.14
Public Member Functions | List of all members
strus::GlobalStatistics Struct Reference

Global document statistics, if passed down with the query. More...

#include <bindingObjects.hpp>

Public Member Functions

 GlobalStatistics ()
 Default constructor. More...
 
 GlobalStatistics (GlobalCounter nofDocumentsInserted_)
 Constructor. More...
 
 GlobalStatistics (const GlobalStatistics &o)
 Copy constructor. More...
 
GlobalCounter nofdocs () const
 Get the global total number of documents in the collection. More...
 
void set_nofdocs (GlobalCounter nofdocs_)
 Set the global total number of documents in the collection for a query evaluation. More...
 

Detailed Description

Global document statistics, if passed down with the query.

Note
If values of this structure are undefined, then the storage values are used

Constructor & Destructor Documentation

strus::GlobalStatistics::GlobalStatistics ( )
inline

Default constructor.

strus::GlobalStatistics::GlobalStatistics ( GlobalCounter  nofDocumentsInserted_)
inlineexplicit

Constructor.

strus::GlobalStatistics::GlobalStatistics ( const GlobalStatistics o)
inline

Copy constructor.

Member Function Documentation

GlobalCounter strus::GlobalStatistics::nofdocs ( ) const
inline

Get the global total number of documents in the collection.

void strus::GlobalStatistics::set_nofdocs ( GlobalCounter  nofdocs_)
inline

Set the global total number of documents in the collection for a query evaluation.

Parameters
[in]nofdocs_the total number of documents value to use

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