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

#include <queryinternal.h>

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

Public Member Functions

size_t get_window () const
 
Query::Internaldone ()
 
- Public Member Functions inherited from Xapian::Internal::QueryAndLike
void add_subquery (const Xapian::Query &subquery)
 
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

 QueryWindowed (size_t n_subqueries, Xapian::termcount window_)
 
void postlist_windowed (Xapian::Query::op op, AndContext &ctx, QueryOptimiser *qopt, double factor) const
 
- 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

Xapian::termcount window
 
- Protected Attributes inherited from Xapian::Internal::QueryBranch
QueryVector subqueries
 

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 319 of file queryinternal.h.

Constructor & Destructor Documentation

◆ QueryWindowed()

Xapian::Internal::QueryWindowed::QueryWindowed ( size_t  n_subqueries,
Xapian::termcount  window_ 
)
inlineprotected

Definition at line 323 of file queryinternal.h.

Member Function Documentation

◆ done()

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

Reimplemented from Xapian::Internal::QueryAndLike.

Definition at line 1423 of file queryinternal.cc.

References Xapian::Internal::QueryAndLike::done().

◆ get_window()

size_t Xapian::Internal::QueryWindowed::get_window ( ) const
inline

Definition at line 330 of file queryinternal.h.

Referenced by Xapian::check_query().

◆ postlist_windowed()

void Xapian::Internal::QueryWindowed::postlist_windowed ( Xapian::Query::op  op,
AndContext ctx,
QueryOptimiser qopt,
double  factor 
) const
protected

Member Data Documentation

◆ window

Xapian::termcount Xapian::Internal::QueryWindowed::window
protected

Definition at line 321 of file queryinternal.h.


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