xapian-core  1.4.27
Public Member Functions | Protected Member Functions | List of all members
Xapian::Internal::QueryAndLike Class Reference

#include <queryinternal.h>

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

Public Member Functions

void add_subquery (const Xapian::Query &subquery)
 
Query::Internaldone ()
 
PostingIterator::Internalpostlist (QueryOptimiser *qopt, double factor) const
 
void postlist_sub_and_like (AndContext &ctx, QueryOptimiser *qopt, double factor) const
 
- Public Member Functions inherited from Xapian::Internal::QueryBranch
termcount get_length () const
 
void serialise (std::string &result) const
 
void gather_terms (void *void_terms) const
 
Xapian::Query::op get_type () const
 
size_t get_num_subqueries () const
 
const Query get_subquery (size_t n) const
 
- Public Member Functions inherited from Xapian::Query::Internal
 Internal ()
 
virtual ~Internal ()
 
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 std::string get_description () const =0
 
- Public Member Functions inherited from Xapian::Internal::intrusive_base
 intrusive_base ()
 Construct with no references. More...
 

Protected Member Functions

 QueryAndLike (size_t num_subqueries_)
 
- Protected Member Functions inherited from Xapian::Internal::QueryBranch
 QueryBranch (size_t n_subqueries)
 
void serialise_ (std::string &result, Xapian::termcount parameter=0) const
 
void do_or_like (OrContext &ctx, QueryOptimiser *qopt, double factor, Xapian::termcount elite_set_size=0, size_t first=0) const
 
PostListdo_synonym (QueryOptimiser *qopt, double factor) const
 
PostListdo_max (QueryOptimiser *qopt, double factor) const
 
const std::string get_description_helper (const char *op, Xapian::termcount window=0) const
 

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::QueryBranch
QueryVector subqueries
 

Detailed Description

Definition at line 207 of file queryinternal.h.

Constructor & Destructor Documentation

◆ QueryAndLike()

Xapian::Internal::QueryAndLike::QueryAndLike ( size_t  num_subqueries_)
inlineexplicitprotected

Member Function Documentation

◆ add_subquery()

void Xapian::Internal::QueryAndLike::add_subquery ( const Xapian::Query subquery)
virtual

Implements Xapian::Internal::QueryBranch.

Definition at line 1518 of file queryinternal.cc.

References Xapian::Query::internal.

◆ done()

Query::Internal * Xapian::Internal::QueryAndLike::done ( )
virtual

◆ postlist()

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

◆ postlist_sub_and_like()

void Xapian::Internal::QueryAndLike::postlist_sub_and_like ( AndContext ctx,
QueryOptimiser qopt,
double  factor 
) const
virtual

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