xapian-core
1.4.27
|
#include <queryinternal.h>
Public Member Functions | |
termcount | get_length () const |
void | serialise (std::string &result) const |
void | gather_terms (void *void_terms) const |
virtual void | add_subquery (const Xapian::Query &subquery)=0 |
Xapian::Query::op | get_type () const |
size_t | get_num_subqueries () const |
const Query | get_subquery (size_t n) const |
virtual Query::Internal * | done ()=0 |
Public Member Functions inherited from Xapian::Query::Internal | |
Internal () | |
virtual | ~Internal () |
virtual PostingIterator::Internal * | postlist (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 | |
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 |
PostList * | do_synonym (QueryOptimiser *qopt, double factor) const |
PostList * | do_max (QueryOptimiser *qopt, double factor) const |
const std::string | get_description_helper (const char *op, Xapian::termcount window=0) const |
Protected Attributes | |
QueryVector | subqueries |
Private Member Functions | |
virtual Xapian::Query::op | get_op () const =0 |
Additional Inherited Members | |
Static Public Member Functions inherited from Xapian::Query::Internal | |
static Query::Internal * | unserialise (const char **p, const char *end, const Registry ®) |
Public Attributes inherited from Xapian::Internal::intrusive_base | |
unsigned | _refs |
Reference count. More... | |
Definition at line 171 of file queryinternal.h.
|
inlineexplicitprotected |
Definition at line 177 of file queryinternal.h.
References Xapian::Internal::QueryTerm::gather_terms(), Xapian::Internal::QueryTerm::get_length(), Xapian::Query::Internal::get_num_subqueries(), Xapian::Query::Internal::get_subquery(), Xapian::Internal::QueryTerm::get_type(), Xapian::Internal::QueryTerm::serialise(), XAPIAN_NOEXCEPT, and XAPIAN_PURE_FUNCTION.
|
pure virtual |
Implemented in Xapian::Internal::QueryAndMaybe, Xapian::Internal::QueryAndNot, Xapian::Internal::QueryOrLike, and Xapian::Internal::QueryAndLike.
Referenced by Xapian::Query::add_subquery(), and Xapian::Query::Internal::unserialise().
|
protected |
Definition at line 1362 of file queryinternal.cc.
|
protected |
Definition at line 1250 of file queryinternal.cc.
References Assert, LOGCALL_VOID, Xapian::Query::OP_SYNONYM, Xapian::Internal::OrContext::select_elite_set(), and Xapian::Internal::Context::size().
|
protected |
Definition at line 1286 of file queryinternal.cc.
References Assert, Xapian::Internal::QueryScaleWeight::get_type(), QueryOptimiser::in_synonym, Xapian::Query::LEAF_TERM, LOGCALL, QueryOptimiser::make_synonym_postlist(), Xapian::Query::OP_WILDCARD, RETURN, and startswith().
|
pure virtual |
|
virtual |
Reimplemented from Xapian::Query::Internal.
Definition at line 1238 of file queryinternal.cc.
References Assert.
|
protected |
Definition at line 1399 of file queryinternal.cc.
References Assert, and Xapian::Internal::str().
|
virtual |
Reimplemented from Xapian::Query::Internal.
Definition at line 1147 of file queryinternal.cc.
|
virtual |
Reimplemented from Xapian::Query::Internal.
Definition at line 1387 of file queryinternal.cc.
|
privatepure virtual |
Implemented in Xapian::Internal::QueryMax, Xapian::Internal::QuerySynonym, Xapian::Internal::QueryEliteSet, Xapian::Internal::QueryPhrase, Xapian::Internal::QueryNear, Xapian::Internal::QueryFilter, Xapian::Internal::QueryAndMaybe, Xapian::Internal::QueryXor, Xapian::Internal::QueryAndNot, Xapian::Internal::QueryOr, and Xapian::Internal::QueryAnd.
|
virtual |
Reimplemented from Xapian::Query::Internal.
Definition at line 1393 of file queryinternal.cc.
|
virtual |
Implements Xapian::Query::Internal.
Definition at line 1381 of file queryinternal.cc.
|
virtual |
Implements Xapian::Query::Internal.
Reimplemented in Xapian::Internal::QueryEliteSet, Xapian::Internal::QueryPhrase, and Xapian::Internal::QueryNear.
Definition at line 1211 of file queryinternal.cc.
References serialise_().
|
protected |
Definition at line 1164 of file queryinternal.cc.
References Assert, AssertRel, encode_length(), MISC, and MULTIWAY.
Referenced by serialise(), Xapian::Internal::QueryNear::serialise(), Xapian::Internal::QueryPhrase::serialise(), and Xapian::Internal::QueryEliteSet::serialise().
|
protected |
Definition at line 175 of file queryinternal.h.