NCBI C++ ToolKit
Classes | Functions
bdb_query.cpp File Reference
#include <ncbi_pch.hpp>
#include <db/bdb/bdb_query.hpp>
#include <db/bdb/bdb_cursor.hpp>
#include <db/bdb/bdb_util.hpp>
#include <util/resource_pool.hpp>
#include <util/strsearch.hpp>
+ Include dependency graph for bdb_query.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CQueryTreeFieldResolveFunc
 Field resolution functor. More...
 
class  CQueryExecEnv
 Query execition environment. More...
 
class  CScannerFunctor
 Base class for functions of the evaluation engine. More...
 
class  CScannerFunctorArgN
 Base class for N argument functions. More...
 
class  CScannerFunctorEQ
 EQ function. More...
 
class  CScannerFunctorComp
 Basic class for all comparison (GT, LT, etc) functors. More...
 
class  CScannerFunctorGT
 GT function. More...
 
class  CScannerFunctorGE
 GE function. More...
 
class  CScannerFunctorLT
 LT function. More...
 
class  CScannerFunctorLE
 LE function. More...
 
class  CScannerFunctorAND
 AND function. More...
 
class  CScannerFunctorOR
 OR function. More...
 
class  CScannerFunctorNOT
 NOT function. More...
 
class  CScannerEvaluateFunc
 The main tree evaluation functor. More...
 
class  CQueryTreePrintFunc
 The main tree printing functor class. More...
 

Functions

static ETreeTraverseCode s_ResetQueryNode (CTreeNode< CBDB_QueryNode > &tr, int delta)
 Reset all intermidiate results of tree evaluation (values) value constants will not be destroyed. More...
 
static CBoyerMooreMatchers_MakeNewMatcher (const string &search_value)
 Create new matcher. More...
 
void BDB_PrintQueryTree (CNcbiOstream &os, const CBDB_Query &query)
 Function prints the query tree on the specified ostream (Intended more for debugging purposes) More...
 

Function Documentation

◆ s_MakeNewMatcher()

static CBoyerMooreMatcher* s_MakeNewMatcher ( const string search_value)
static

◆ s_ResetQueryNode()

static ETreeTraverseCode s_ResetQueryNode ( CTreeNode< CBDB_QueryNode > &  tr,
int  delta 
)
static

Reset all intermidiate results of tree evaluation (values) value constants will not be destroyed.

Definition at line 138 of file bdb_query.cpp.

References delta(), eTreeTraverse, CBDB_QueryNode::eValue, CBDB_QueryNode::GetType(), CTreeNode< TValue, TKeyGetterP >::GetValue(), kEmptyStr, CBDB_QueryNode::SetAltValue(), and CBDB_QueryNode::SetValue().

Referenced by CBDB_Query::ResetQueryClause().

Modified on Sun Jun 23 05:19:56 2024 by modify_doxy.py rev. 669887