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

#include <queryinternal.h>

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

Public Member Functions

void add_subquery (const Xapian::Query &subquery)
 
Query::Internaldone ()
 
- 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 PostingIterator::Internalpostlist (QueryOptimiser *qopt, double factor) const =0
 
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 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

 QueryOrLike (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 222 of file queryinternal.h.

Constructor & Destructor Documentation

◆ QueryOrLike()

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

Definition at line 224 of file queryinternal.h.

Member Function Documentation

◆ add_subquery()

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

Implements Xapian::Internal::QueryBranch.

Definition at line 1564 of file queryinternal.cc.

References Xapian::Query::internal.

◆ done()

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

Implements Xapian::Internal::QueryBranch.

Reimplemented in Xapian::Internal::QuerySynonym.

Definition at line 1572 of file queryinternal.cc.


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