⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classxapian_1_1query_1_1internal.tex

📁 xapian 是一个“Xapian 是一个开源概率论信息检索库
💻 TEX
字号:
\hypertarget{classXapian_1_1Query_1_1Internal}{\section{Xapian::Query::Internal Class Reference}\label{classXapian_1_1Query_1_1Internal}\index{Xapian::Query::Internal@{Xapian::Query::Internal}}}\hyperlink{classXapian_1_1Query_1_1Internal}{Internal} class, implementing most of \hyperlink{classXapian_1_1Query}{Xapian::Query}.  {\tt \#include $<$query.h$>$}Inheritance diagram for Xapian::Query::Internal:\begin{figure}[H]\begin{center}\leavevmode\includegraphics[width=93pt]{classXapian_1_1Query_1_1Internal__inherit__graph}\end{center}\end{figure}Collaboration diagram for Xapian::Query::Internal:\begin{figure}[H]\begin{center}\leavevmode\includegraphics[width=93pt]{classXapian_1_1Query_1_1Internal__coll__graph}\end{center}\end{figure}\subsection*{Public Types}\begin{CompactItemize}\item typedef std::vector$<$ \hyperlink{classXapian_1_1Query_1_1Internal}{Internal} $\ast$ $>$ \hyperlink{classXapian_1_1Query_1_1Internal_f7e4d5308cb364ef7086b08b55ae6a80}{subquery\_\-list}\begin{CompactList}\small\item\em The container type for storing pointers to subqueries. \item\end{CompactList}\item typedef int \hyperlink{classXapian_1_1Query_1_1Internal_be7aaa167e80b8a67d46b217111aa00c}{op\_\-t}\begin{CompactList}\small\item\em Type storing the operation. \item\end{CompactList}\end{CompactItemize}\subsection*{Public Member Functions}\begin{CompactItemize}\item \hyperlink{classXapian_1_1Query_1_1Internal_69ca3b1a7e907efb7b2bb58a41ab705c}{Internal} (const \hyperlink{classXapian_1_1Query_1_1Internal}{Query::Internal} \&copyme)\begin{CompactList}\small\item\em Copy constructor. \item\end{CompactList}\item void \hyperlink{classXapian_1_1Query_1_1Internal_1b405afffb95f52318f6851dd735b568}{operator=} (const \hyperlink{classXapian_1_1Query_1_1Internal}{Query::Internal} \&copyme)\begin{CompactList}\small\item\em Assignment. \item\end{CompactList}\item \hyperlink{classXapian_1_1Query_1_1Internal_b800d03b72f5afcf0af3c68f1358a317}{Internal} (const std::string \&tname\_\-, \hyperlink{types_8h_6979d98ebbe67186bd31e5ee2a7585cb}{Xapian::termcount} wqf\_\-=1, \hyperlink{types_8h_5cdae0172ef811a7c08017eb4429c311}{Xapian::termpos} term\_\-pos\_\-=0)\begin{CompactList}\small\item\em A query consisting of a single term. \item\end{CompactList}\item \hyperlink{classXapian_1_1Query_1_1Internal_917488751d31a94c15e94a32e357feff}{Internal} (\hyperlink{classXapian_1_1Query_1_1Internal_be7aaa167e80b8a67d46b217111aa00c}{op\_\-t} op\_\-, \hyperlink{types_8h_6979d98ebbe67186bd31e5ee2a7585cb}{Xapian::termcount} parameter)\begin{CompactList}\small\item\em Create internals given only the operator and a parameter. \item\end{CompactList}\item \hyperlink{classXapian_1_1Query_1_1Internal_41296408302c5092dc7d51f1308c8cd2}{$\sim$Internal} ()\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item void \hyperlink{classXapian_1_1Query_1_1Internal_2eaf7b377b89ac5077848171c186871b}{add\_\-subquery} (const \hyperlink{classXapian_1_1Query_1_1Internal}{Query::Internal} \&subq)\begin{CompactList}\small\item\em Add a subquery. \item\end{CompactList}\item \hyperlink{classXapian_1_1Query_1_1Internal}{Query::Internal} $\ast$ \hyperlink{classXapian_1_1Query_1_1Internal_60de9d108d3849d7040446beac4be61c}{end\_\-construction} ()\begin{CompactList}\small\item\em Finish off the construction. \item\end{CompactList}\item std::string \hyperlink{classXapian_1_1Query_1_1Internal_d83a99a9fe162e045c4b71f915b60acb}{serialise} () const \begin{CompactList}\small\item\em Return a string in an easily parsed form which contains all the information in a query. \item\end{CompactList}\item std::string \hyperlink{classXapian_1_1Query_1_1Internal_f534381e6fe27dd3027cb0a5057cf7fc}{get\_\-description} () const \begin{CompactList}\small\item\em Returns a string representing the query. \item\end{CompactList}\item \hyperlink{types_8h_6979d98ebbe67186bd31e5ee2a7585cb}{Xapian::termcount} \hyperlink{classXapian_1_1Query_1_1Internal_eb335239123c1de8be23e828dccfe699}{get\_\-length} () const \begin{CompactList}\small\item\em Get the length of the query, used by some ranking formulae. \item\end{CompactList}\item \hyperlink{classXapian_1_1TermIterator}{Term\-Iterator} \hyperlink{classXapian_1_1Query_1_1Internal_6ea4240bf167d9abf20754aeed184994}{get\_\-terms} () const \begin{CompactList}\small\item\em Return an iterator over all the terms in the query, in order of termpos. \item\end{CompactList}\end{CompactItemize}\subsection*{Static Public Member Functions}\begin{CompactItemize}\item \hypertarget{classXapian_1_1Query_1_1Internal_65728991a3a8f30310f423b78feba9e6}{static \hyperlink{classXapian_1_1Query_1_1Internal}{Xapian::Query::Internal} $\ast$ {\bf unserialise} (const std::string \&s)}\label{classXapian_1_1Query_1_1Internal_65728991a3a8f30310f423b78feba9e6}\end{CompactItemize}\subsection*{Static Public Attributes}\begin{CompactItemize}\item \hypertarget{classXapian_1_1Query_1_1Internal_11bde67da53d81bc140d5d7d098badab}{static const int {\bf OP\_\-LEAF} = -1}\label{classXapian_1_1Query_1_1Internal_11bde67da53d81bc140d5d7d098badab}\end{CompactItemize}\subsection*{Friends}\begin{CompactItemize}\item \hypertarget{classXapian_1_1Query_1_1Internal_80f6aa41afbddd72641267163501959d}{class {\bf ::Multi\-Match}}\label{classXapian_1_1Query_1_1Internal_80f6aa41afbddd72641267163501959d}\item \hypertarget{classXapian_1_1Query_1_1Internal_2d9713d751597c0911b20d45da4c567d}{class {\bf ::Local\-Sub\-Match}}\label{classXapian_1_1Query_1_1Internal_2d9713d751597c0911b20d45da4c567d}\item \hypertarget{classXapian_1_1Query_1_1Internal_67d1a22cd8a0455b97142cf58de038c9}{class {\bf ::Sort\-Pos\-Name}}\label{classXapian_1_1Query_1_1Internal_67d1a22cd8a0455b97142cf58de038c9}\end{CompactItemize}\subsection{Detailed Description}\hyperlink{classXapian_1_1Query_1_1Internal}{Internal} class, implementing most of \hyperlink{classXapian_1_1Query}{Xapian::Query}. \subsection{Member Typedef Documentation}\hypertarget{classXapian_1_1Query_1_1Internal_be7aaa167e80b8a67d46b217111aa00c}{\index{Xapian::Query::Internal@{Xapian::Query::Internal}!op_t@{op\_\-t}}\index{op_t@{op\_\-t}!Xapian::Query::Internal@{Xapian::Query::Internal}}\subsubsection[op\_\-t]{\setlength{\rightskip}{0pt plus 5cm}typedef int \hyperlink{classXapian_1_1Query_1_1Internal_be7aaa167e80b8a67d46b217111aa00c}{Xapian::Query::Internal::op\_\-t}}}\label{classXapian_1_1Query_1_1Internal_be7aaa167e80b8a67d46b217111aa00c}Type storing the operation. \hypertarget{classXapian_1_1Query_1_1Internal_f7e4d5308cb364ef7086b08b55ae6a80}{\index{Xapian::Query::Internal@{Xapian::Query::Internal}!subquery_list@{subquery\_\-list}}\index{subquery_list@{subquery\_\-list}!Xapian::Query::Internal@{Xapian::Query::Internal}}\subsubsection[subquery\_\-list]{\setlength{\rightskip}{0pt plus 5cm}typedef std::vector$<$\hyperlink{classXapian_1_1Query_1_1Internal}{Internal} $\ast$$>$ \hyperlink{classXapian_1_1Query_1_1Internal_f7e4d5308cb364ef7086b08b55ae6a80}{Xapian::Query::Internal::subquery\_\-list}}}\label{classXapian_1_1Query_1_1Internal_f7e4d5308cb364ef7086b08b55ae6a80}The container type for storing pointers to subqueries. \subsection{Constructor \& Destructor Documentation}\hypertarget{classXapian_1_1Query_1_1Internal_69ca3b1a7e907efb7b2bb58a41ab705c}{\index{Xapian::Query::Internal@{Xapian::Query::Internal}!Internal@{Internal}}\index{Internal@{Internal}!Xapian::Query::Internal@{Xapian::Query::Internal}}\subsubsection[Internal]{\setlength{\rightskip}{0pt plus 5cm}Xapian::Query::Internal::Internal (const \hyperlink{classXapian_1_1Query_1_1Internal}{Query::Internal} \& {\em copyme})}}\label{classXapian_1_1Query_1_1Internal_69ca3b1a7e907efb7b2bb58a41ab705c}Copy constructor. \hypertarget{classXapian_1_1Query_1_1Internal_b800d03b72f5afcf0af3c68f1358a317}{\index{Xapian::Query::Internal@{Xapian::Query::Internal}!Internal@{Internal}}\index{Internal@{Internal}!Xapian::Query::Internal@{Xapian::Query::Internal}}\subsubsection[Internal]{\setlength{\rightskip}{0pt plus 5cm}Xapian::Query::Internal::Internal (const std::string \& {\em tname\_\-}, \hyperlink{types_8h_6979d98ebbe67186bd31e5ee2a7585cb}{Xapian::termcount} {\em wqf\_\-} = {\tt 1}, \hyperlink{types_8h_5cdae0172ef811a7c08017eb4429c311}{Xapian::termpos} {\em term\_\-pos\_\-} = {\tt 0})}}\label{classXapian_1_1Query_1_1Internal_b800d03b72f5afcf0af3c68f1358a317}A query consisting of a single term. \hypertarget{classXapian_1_1Query_1_1Internal_917488751d31a94c15e94a32e357feff}{\index{Xapian::Query::Internal@{Xapian::Query::Internal}!Internal@{Internal}}\index{Internal@{Internal}!Xapian::Query::Internal@{Xapian::Query::Internal}}\subsubsection[Internal]{\setlength{\rightskip}{0pt plus 5cm}Xapian::Query::Internal::Internal (\hyperlink{classXapian_1_1Query_1_1Internal_be7aaa167e80b8a67d46b217111aa00c}{op\_\-t} {\em op\_\-}, \hyperlink{types_8h_6979d98ebbe67186bd31e5ee2a7585cb}{Xapian::termcount} {\em parameter})}}\label{classXapian_1_1Query_1_1Internal_917488751d31a94c15e94a32e357feff}Create internals given only the operator and a parameter. \hypertarget{classXapian_1_1Query_1_1Internal_41296408302c5092dc7d51f1308c8cd2}{\index{Xapian::Query::Internal@{Xapian::Query::Internal}!~Internal@{$\sim$Internal}}\index{~Internal@{$\sim$Internal}!Xapian::Query::Internal@{Xapian::Query::Internal}}\subsubsection[$\sim$Internal]{\setlength{\rightskip}{0pt plus 5cm}Xapian::Query::Internal::$\sim$Internal ()}}\label{classXapian_1_1Query_1_1Internal_41296408302c5092dc7d51f1308c8cd2}Destructor. \subsection{Member Function Documentation}\hypertarget{classXapian_1_1Query_1_1Internal_2eaf7b377b89ac5077848171c186871b}{\index{Xapian::Query::Internal@{Xapian::Query::Internal}!add_subquery@{add\_\-subquery}}\index{add_subquery@{add\_\-subquery}!Xapian::Query::Internal@{Xapian::Query::Internal}}\subsubsection[add\_\-subquery]{\setlength{\rightskip}{0pt plus 5cm}void Xapian::Query::Internal::add\_\-subquery (const \hyperlink{classXapian_1_1Query_1_1Internal}{Query::Internal} \& {\em subq})}}\label{classXapian_1_1Query_1_1Internal_2eaf7b377b89ac5077848171c186871b}Add a subquery. \hypertarget{classXapian_1_1Query_1_1Internal_60de9d108d3849d7040446beac4be61c}{\index{Xapian::Query::Internal@{Xapian::Query::Internal}!end_construction@{end\_\-construction}}\index{end_construction@{end\_\-construction}!Xapian::Query::Internal@{Xapian::Query::Internal}}\subsubsection[end\_\-construction]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{classXapian_1_1Query_1_1Internal}{Query::Internal}$\ast$ Xapian::Query::Internal::end\_\-construction ()}}\label{classXapian_1_1Query_1_1Internal_60de9d108d3849d7040446beac4be61c}Finish off the construction. \hypertarget{classXapian_1_1Query_1_1Internal_f534381e6fe27dd3027cb0a5057cf7fc}{\index{Xapian::Query::Internal@{Xapian::Query::Internal}!get_description@{get\_\-description}}\index{get_description@{get\_\-description}!Xapian::Query::Internal@{Xapian::Query::Internal}}\subsubsection[get\_\-description]{\setlength{\rightskip}{0pt plus 5cm}std::string Xapian::Query::Internal::get\_\-description () const}}\label{classXapian_1_1Query_1_1Internal_f534381e6fe27dd3027cb0a5057cf7fc}Returns a string representing the query. Introspection method. \hypertarget{classXapian_1_1Query_1_1Internal_eb335239123c1de8be23e828dccfe699}{\index{Xapian::Query::Internal@{Xapian::Query::Internal}!get_length@{get\_\-length}}\index{get_length@{get\_\-length}!Xapian::Query::Internal@{Xapian::Query::Internal}}\subsubsection[get\_\-length]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{types_8h_6979d98ebbe67186bd31e5ee2a7585cb}{Xapian::termcount} Xapian::Query::Internal::get\_\-length () const}}\label{classXapian_1_1Query_1_1Internal_eb335239123c1de8be23e828dccfe699}Get the length of the query, used by some ranking formulae. This value is calculated automatically - if you want to override it you can pass a different value to \hyperlink{classXapian_1_1Enquire_1148d960120662e5543e2a2b12620318}{Enquire::set\_\-query()}. \hypertarget{classXapian_1_1Query_1_1Internal_6ea4240bf167d9abf20754aeed184994}{\index{Xapian::Query::Internal@{Xapian::Query::Internal}!get_terms@{get\_\-terms}}\index{get_terms@{get\_\-terms}!Xapian::Query::Internal@{Xapian::Query::Internal}}\subsubsection[get\_\-terms]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{classXapian_1_1TermIterator}{Term\-Iterator} Xapian::Query::Internal::get\_\-terms () const}}\label{classXapian_1_1Query_1_1Internal_6ea4240bf167d9abf20754aeed184994}Return an iterator over all the terms in the query, in order of termpos. If multiple terms have the same term position, their order is unspecified. Duplicates (same term and termpos) will be removed. \hypertarget{classXapian_1_1Query_1_1Internal_1b405afffb95f52318f6851dd735b568}{\index{Xapian::Query::Internal@{Xapian::Query::Internal}!operator=@{operator=}}\index{operator=@{operator=}!Xapian::Query::Internal@{Xapian::Query::Internal}}\subsubsection[operator=]{\setlength{\rightskip}{0pt plus 5cm}void Xapian::Query::Internal::operator= (const \hyperlink{classXapian_1_1Query_1_1Internal}{Query::Internal} \& {\em copyme})}}\label{classXapian_1_1Query_1_1Internal_1b405afffb95f52318f6851dd735b568}Assignment. \hypertarget{classXapian_1_1Query_1_1Internal_d83a99a9fe162e045c4b71f915b60acb}{\index{Xapian::Query::Internal@{Xapian::Query::Internal}!serialise@{serialise}}\index{serialise@{serialise}!Xapian::Query::Internal@{Xapian::Query::Internal}}\subsubsection[serialise]{\setlength{\rightskip}{0pt plus 5cm}std::string Xapian::Query::Internal::serialise () const}}\label{classXapian_1_1Query_1_1Internal_d83a99a9fe162e045c4b71f915b60acb}Return a string in an easily parsed form which contains all the information in a query. The documentation for this class was generated from the following file:\begin{CompactItemize}\item include/xapian/\hyperlink{query_8h}{query.h}\end{CompactItemize}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -