xapian-core
1.4.26
|
Public Member Functions | |
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 termcount | get_length () const |
virtual void | serialise (std::string &result) const =0 |
virtual Query::op | get_type () const =0 |
virtual size_t | get_num_subqueries () const |
virtual const Query | get_subquery (size_t n) const |
virtual std::string | get_description () const =0 |
virtual void | gather_terms (void *void_terms) const |
Public Member Functions inherited from Xapian::Internal::intrusive_base | |
intrusive_base () | |
Construct with no references. More... | |
Static Public Member Functions | |
static Query::Internal * | unserialise (const char **p, const char *end, const Registry ®) |
Additional Inherited Members | |
Public Attributes inherited from Xapian::Internal::intrusive_base | |
unsigned | _refs |
Reference count. More... | |
|
inline |
Definition at line 758 of file query.h.
References Xapian::Query::empty(), Xapian::Query::operator &=(), and XAPIAN_PURE_FUNCTION.
|
virtual |
Definition at line 421 of file queryinternal.cc.
|
virtual |
Reimplemented in Xapian::Internal::QueryBranch, Xapian::Internal::QueryScaleWeight, and Xapian::Internal::QueryTerm.
Definition at line 436 of file queryinternal.cc.
|
pure virtual |
Implemented in Xapian::Internal::QueryInvalid, Xapian::Internal::QueryWildcard, 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, Xapian::Internal::QueryAnd, Xapian::Internal::QueryValueGE, Xapian::Internal::QueryValueLE, Xapian::Internal::QueryValueRange, Xapian::Internal::QueryScaleWeight, Xapian::Internal::QueryPostingSource, and Xapian::Internal::QueryTerm.
|
virtual |
Reimplemented in Xapian::Internal::QueryWildcard, Xapian::Internal::QueryBranch, Xapian::Internal::QueryScaleWeight, and Xapian::Internal::QueryTerm.
Definition at line 441 of file queryinternal.cc.
|
virtual |
Reimplemented in Xapian::Internal::QueryBranch, and Xapian::Internal::QueryScaleWeight.
Definition at line 424 of file queryinternal.cc.
Referenced by Xapian::Internal::QueryScaleWeight::get_length(), and Xapian::Internal::QueryBranch::QueryBranch().
|
virtual |
Reimplemented in Xapian::Internal::QueryBranch, and Xapian::Internal::QueryScaleWeight.
Definition at line 430 of file queryinternal.cc.
Referenced by Xapian::Internal::QueryScaleWeight::get_length(), and Xapian::Internal::QueryBranch::QueryBranch().
|
pure virtual |
Implemented in Xapian::Internal::QueryInvalid, Xapian::Internal::QueryWildcard, Xapian::Internal::QueryBranch, Xapian::Internal::QueryValueGE, Xapian::Internal::QueryValueLE, Xapian::Internal::QueryValueRange, Xapian::Internal::QueryScaleWeight, Xapian::Internal::QueryPostingSource, and Xapian::Internal::QueryTerm.
Referenced by Xapian::Internal::QuerySynonym::done().
|
pure virtual |
Implemented in Xapian::Internal::QueryInvalid, Xapian::Internal::QueryWildcard, Xapian::Internal::QueryMax, Xapian::Internal::QuerySynonym, Xapian::Internal::QueryEliteSet, Xapian::Internal::QueryFilter, Xapian::Internal::QueryAndMaybe, Xapian::Internal::QueryXor, Xapian::Internal::QueryAndNot, Xapian::Internal::QueryOr, Xapian::Internal::QueryAndLike, Xapian::Internal::QueryValueGE, Xapian::Internal::QueryValueLE, Xapian::Internal::QueryValueRange, Xapian::Internal::QueryScaleWeight, Xapian::Internal::QueryPostingSource, and Xapian::Internal::QueryTerm.
|
virtual |
Reimplemented in Xapian::Internal::QueryPhrase, Xapian::Internal::QueryNear, Xapian::Internal::QueryFilter, Xapian::Internal::QueryAndMaybe, Xapian::Internal::QueryAndNot, and Xapian::Internal::QueryAndLike.
Definition at line 653 of file queryinternal.cc.
References Xapian::Internal::Context::add_postlist().
Referenced by Xapian::Internal::QueryAndLike::postlist(), Xapian::Internal::QueryAndLike::QueryAndLike(), Xapian::Internal::QueryAndMaybe::QueryAndMaybe(), Xapian::Internal::QueryAndNot::QueryAndNot(), Xapian::Internal::QueryFilter::QueryFilter(), Xapian::Internal::QueryNear::QueryNear(), and Xapian::Internal::QueryPhrase::QueryPhrase().
|
virtual |
Reimplemented in Xapian::Internal::QueryEliteSet, and Xapian::Internal::QueryOr.
Definition at line 661 of file queryinternal.cc.
References Xapian::Internal::Context::add_postlist().
Referenced by Xapian::Internal::QueryEliteSet::QueryEliteSet(), and Xapian::Internal::QueryOr::QueryOr().
|
virtual |
Reimplemented in Xapian::Internal::QueryXor.
Definition at line 669 of file queryinternal.cc.
References Xapian::Internal::Context::add_postlist().
Referenced by Xapian::Internal::QueryXor::postlist(), and Xapian::Internal::QueryXor::QueryXor().
|
pure virtual |
Implemented in Xapian::Internal::QueryInvalid, Xapian::Internal::QueryWildcard, Xapian::Internal::QueryEliteSet, Xapian::Internal::QueryPhrase, Xapian::Internal::QueryNear, Xapian::Internal::QueryBranch, Xapian::Internal::QueryValueGE, Xapian::Internal::QueryValueLE, Xapian::Internal::QueryValueRange, Xapian::Internal::QueryScaleWeight, Xapian::Internal::QueryPostingSource, and Xapian::Internal::QueryTerm.
|
static |
Definition at line 447 of file queryinternal.cc.
References Xapian::Internal::QueryBranch::add_subquery(), decode_length(), decode_length_and_check(), Xapian::Internal::QueryBranch::done(), Xapian::Registry::get_posting_source(), name, Xapian::PostingSource::release(), Xapian::Internal::str(), unserialise_double(), and Xapian::PostingSource::unserialise_with_registry().
Referenced by Xapian::Query::unserialise().