xapian-core  1.4.27
Classes | Public Member Functions | Private Attributes | List of all members
Xapian::Internal::AndContext Class Reference
+ Inheritance diagram for Xapian::Internal::AndContext:
+ Collaboration diagram for Xapian::Internal::AndContext:

Classes

class  PosFilter
 

Public Member Functions

 AndContext (QueryOptimiser *qopt_, size_t reserve)
 
void add_pos_filter (Query::op op_, size_t n_subqs, Xapian::termcount window)
 
OrContextget_not_ctx (size_t reserve)
 
OrContextget_maybe_ctx (size_t reserve)
 
PostListpostlist ()
 
- Public Member Functions inherited from Xapian::Internal::Context
 Context (QueryOptimiser *qopt_, size_t reserve)
 
 ~Context ()
 
void add_postlist (PostList *pl)
 
bool empty () const
 
size_t size () const
 
void shrink (size_t new_size)
 

Private Attributes

list< PosFilterpos_filters
 
AutoPtr< OrContextnot_ctx
 
AutoPtr< OrContextmaybe_ctx
 

Additional Inherited Members

- Protected Attributes inherited from Xapian::Internal::Context
QueryOptimiserqopt
 
vector< PostList * > pls
 

Detailed Description

Definition at line 296 of file queryinternal.cc.

Constructor & Destructor Documentation

◆ AndContext()

Xapian::Internal::AndContext::AndContext ( QueryOptimiser qopt_,
size_t  reserve 
)
inline

Definition at line 320 of file queryinternal.cc.

Member Function Documentation

◆ add_pos_filter()

void Xapian::Internal::AndContext::add_pos_filter ( Query::op  op_,
size_t  n_subqs,
Xapian::termcount  window 
)

◆ get_maybe_ctx()

OrContext& Xapian::Internal::AndContext::get_maybe_ctx ( size_t  reserve)
inline

◆ get_not_ctx()

OrContext& Xapian::Internal::AndContext::get_not_ctx ( size_t  reserve)
inline

◆ postlist()

PostList * Xapian::Internal::AndContext::postlist ( )

Member Data Documentation

◆ maybe_ctx

AutoPtr<OrContext> Xapian::Internal::AndContext::maybe_ctx
private

Definition at line 317 of file queryinternal.cc.

◆ not_ctx

AutoPtr<OrContext> Xapian::Internal::AndContext::not_ctx
private

Definition at line 315 of file queryinternal.cc.

◆ pos_filters

list<PosFilter> Xapian::Internal::AndContext::pos_filters
private

Definition at line 313 of file queryinternal.cc.


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