xapian-core  1.4.21
Public Member Functions | Private Attributes | List of all members
Xapian::Internal::QueryValueRange Class Reference

#include <queryinternal.h>

+ Inheritance diagram for Xapian::Internal::QueryValueRange:
+ Collaboration diagram for Xapian::Internal::QueryValueRange:

Public Member Functions

 QueryValueRange (Xapian::valueno slot_, const std::string &begin_, const std::string &end_)
 
PostingIterator::Internalpostlist (QueryOptimiser *qopt, double factor) const
 
void serialise (std::string &result) const
 
Xapian::Query::op get_type () const
 
std::string get_description () const
 
- Public Member Functions inherited from Xapian::Internal::QueryValueBase
 QueryValueBase (Xapian::valueno slot_)
 
Xapian::valueno get_slot () const
 
- Public Member Functions inherited from Xapian::Query::Internal
 Internal ()
 
virtual ~Internal ()
 
virtual void postlist_sub_and_like (Xapian::Internal::AndContext &ctx, QueryOptimiser *qopt, double factor) const
 
virtual void postlist_sub_or_like (Xapian::Internal::OrContext &ctx, QueryOptimiser *qopt, double factor) const
 
virtual void postlist_sub_xor (Xapian::Internal::XorContext &ctx, QueryOptimiser *qopt, double factor) const
 
virtual termcount get_length () const
 
virtual size_t get_num_subqueries () const
 
virtual const Query get_subquery (size_t n) const
 
virtual void gather_terms (void *void_terms) const
 
- Public Member Functions inherited from Xapian::Internal::intrusive_base
 intrusive_base ()
 Construct with no references. More...
 

Private Attributes

std::string begin
 
std::string end
 

Additional Inherited Members

- Static Public Member Functions inherited from Xapian::Query::Internal
static Query::Internalunserialise (const char **p, const char *end, const Registry &reg)
 
- Public Attributes inherited from Xapian::Internal::intrusive_base
unsigned _refs
 Reference count. More...
 
- Protected Attributes inherited from Xapian::Internal::QueryValueBase
Xapian::valueno slot
 

Detailed Description

Definition at line 121 of file queryinternal.h.

Constructor & Destructor Documentation

◆ QueryValueRange()

Xapian::Internal::QueryValueRange::QueryValueRange ( Xapian::valueno  slot_,
const std::string &  begin_,
const std::string &  end_ 
)
inline

Member Function Documentation

◆ get_description()

string Xapian::Internal::QueryValueRange::get_description ( ) const
virtual

Implements Xapian::Query::Internal.

Definition at line 876 of file queryinternal.cc.

References description_append(), and Xapian::Internal::str().

◆ get_type()

Query::op Xapian::Internal::QueryValueRange::get_type ( ) const
virtual

Implements Xapian::Query::Internal.

Definition at line 870 of file queryinternal.cc.

References Xapian::Query::OP_VALUE_RANGE.

◆ postlist()

PostingIterator::Internal * Xapian::Internal::QueryValueRange::postlist ( QueryOptimiser qopt,
double  factor 
) const
virtual

◆ serialise()

void Xapian::Internal::QueryValueRange::serialise ( std::string &  result) const
virtual

Implements Xapian::Query::Internal.

Definition at line 855 of file queryinternal.cc.

References encode_length().

Member Data Documentation

◆ begin

std::string Xapian::Internal::QueryValueRange::begin
private

Definition at line 122 of file queryinternal.h.

◆ end

std::string Xapian::Internal::QueryValueRange::end
private

Definition at line 122 of file queryinternal.h.


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