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

#include <queryinternal.h>

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

Public Member Functions

 QueryPostingSource (PostingSource *source_)
 
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::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

Xapian::Internal::opt_intrusive_ptr< PostingSourcesource
 

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...
 

Detailed Description

Definition at line 70 of file queryinternal.h.

Constructor & Destructor Documentation

◆ QueryPostingSource()

Xapian::Internal::QueryPostingSource::QueryPostingSource ( PostingSource source_)
explicit

Definition at line 704 of file queryinternal.cc.

References Xapian::PostingSource::release(), and source.

Member Function Documentation

◆ get_description()

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

Implements Xapian::Query::Internal.

Definition at line 725 of file queryinternal.cc.

References source.

◆ get_type()

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

Implements Xapian::Query::Internal.

Definition at line 719 of file queryinternal.cc.

References Xapian::Query::LEAF_POSTING_SOURCE.

◆ postlist()

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

◆ serialise()

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

Implements Xapian::Query::Internal.

Definition at line 1496 of file queryinternal.cc.

References encode_length().

Member Data Documentation

◆ source

Xapian::Internal::opt_intrusive_ptr<PostingSource> Xapian::Internal::QueryPostingSource::source
private

Definition at line 71 of file queryinternal.h.

Referenced by get_description(), and QueryPostingSource().


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