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

#include <queryinternal.h>

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

Public Member Functions

 QueryAnd (size_t n_subqueries)
 
std::string get_description () const
 
- Public Member Functions inherited from Xapian::Internal::QueryAndLike
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
 
- Public Member Functions inherited from Xapian::Internal::intrusive_base
 intrusive_base ()
 Construct with no references. More...
 

Private Member Functions

Xapian::Query::op get_op () 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 Member Functions inherited from Xapian::Internal::QueryAndLike
 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
 
- Protected Attributes inherited from Xapian::Internal::QueryBranch
QueryVector subqueries
 

Detailed Description

Definition at line 233 of file queryinternal.h.

Constructor & Destructor Documentation

◆ QueryAnd()

Xapian::Internal::QueryAnd::QueryAnd ( size_t  n_subqueries)
inlineexplicit

Definition at line 237 of file queryinternal.h.

References Xapian::Internal::QueryTerm::get_description().

Member Function Documentation

◆ get_description()

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

Implements Xapian::Query::Internal.

Definition at line 1949 of file queryinternal.cc.

◆ get_op()

Xapian::Query::op Xapian::Internal::QueryAnd::get_op ( ) const
privatevirtual

Implements Xapian::Internal::QueryBranch.

Definition at line 1877 of file queryinternal.cc.

References Xapian::Query::OP_AND.


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