xapian-core  2.0.0
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 = 0
 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 28 of file valuestats.h.

Constructor & Destructor Documentation

◆ ValueStats()

ValueStats::ValueStats ( )
inline

Construct an empty ValueStats object.

Definition at line 43 of file valuestats.h.

Member Function Documentation

◆ clear()

void ValueStats::clear ( )
inline

Member Data Documentation

◆ freq

Xapian::doccount ValueStats::freq = 0

◆ 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: