xapian-core  1.4.25
Public Member Functions | Public Attributes | List of all members
ValueStats Struct Reference

Class to hold statistics for a given slot. More...

#include <valuestats.h>

+ Inheritance diagram for ValueStats:
+ Collaboration diagram for ValueStats:

Public Member Functions

 ValueStats ()
 Construct an empty ValueStats object. More...
 
void clear ()
 Clear the statistics. More...
 

Public Attributes

Xapian::doccount freq
 The number of documents which have a (non-empty) value stored in the slot. More...
 
std::string lower_bound
 A lower bound on the values stored in the given value slot. More...
 
std::string upper_bound
 An upper bound on the values stored in the given value slot. More...
 

Detailed Description

Class to hold statistics for a given slot.

Definition at line 29 of file valuestats.h.

Constructor & Destructor Documentation

◆ ValueStats()

ValueStats::ValueStats ( )
inline

Construct an empty ValueStats object.

Definition at line 44 of file valuestats.h.

Member Function Documentation

◆ clear()

void ValueStats::clear ( )
inline

Clear the statistics.

Definition at line 48 of file valuestats.h.

Referenced by ChertValueManager::get_value_stats(), and GlassValueManager::get_value_stats().

Member Data Documentation

◆ freq

Xapian::doccount ValueStats::freq

◆ lower_bound

std::string ValueStats::lower_bound

◆ upper_bound

std::string ValueStats::upper_bound

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