Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCTableQueryExec.html below:
NCBI C++ ToolKit: CTableQueryExec Class Reference
CTableQueryExec (ITableData &td) virtual ~CTableQueryExec () void SetRow (unsigned int idx) Set current node for query execution. More...
virtual TFieldID GetIdentifier (const std::string &identifier) Get column number for identifier or return TFieldID(-1) More...
virtual bool HasIdentifier (const std::string &identifier) Search for 'identifier' in dictionary and return true if it exists. More...
virtual CQueryParseNode::EType IdentifierType (const std::string &identifier) Return one of eIntConst, eBoolConst, eFloatConst, eString, or eNotSet. More...
virtual void EvalStart () Move to the first row for eval, return false if table empty. More...
virtual bool EvalNext (CQueryParseTree &qtree) Move to the next row for eval, return false if table size < m_EvalRow+1. More...
virtual bool EvalComplete () std::vector< size_t > GetTableSelected () const
Search for bool 'identifier' in feature list and return if found
virtual bool ResolveIdentifier (const std::string &identifier, bool &value) If query has an identifier, this will resolve it in an application-specific way. More...
virtual bool ResolveIdentifier (const std::string &identifier, Int8 &value) Search for integer 'identifier' in feature list and return if found. More...
virtual bool ResolveIdentifier (const std::string &identifier, double &value) Search for float 'identifier' in feature list and return if found. More...
virtual bool ResolveIdentifier (const std::string &identifier, std::string &value) Search for string 'identifier' in feature list and return if found. More...
virtual bool ResolveIdentifier (const TFieldID &id, bool &value) Following functions look up field using column number. More...
virtual bool ResolveIdentifier (const TFieldID &id, Int8 &value) virtual bool ResolveIdentifier (const TFieldID &id, double &value) virtual bool ResolveIdentifier (const TFieldID &id, std::string &value) CMacroQueryExec () virtual ~CMacroQueryExec () virtual bool EvalNext (macro::CMacroRep &) virtual void GetFunctionNames (macro::CMacroParser &parser) const void SetMacroRep (macro::CMacroRep *mr) macro::CMacroRep * GetMacroRep () CRef< CQueryNodeValue > GetOrCreateRTVar (const string &name) Gets or creates run-time vars (used in assignment in Do clause) More...
bool ResolveRTVar (const string &identifier, CQueryNodeValue &v) Return the value of RT variable in node "v". More...
CQueryExec () virtual ~CQueryExec () void AddFunc (CQueryParseNode::EType func_type, CQueryFunctionBase *func) Register function implementation. More...
void AddImplicitSearchFunc (CQueryFunctionBase *func) This is a callback for implicit search nodes Our syntax allows queries like (a=1) AND "search_term" Execution recognises "search_term" connected with logical operation represents a special case. More...
CQueryFunctionBase * GetImplicitSearchFunc () CQueryFunctionBase * GetFunc (CQueryParseNode::EType func_type) Return query function pointer (if registered). More...
virtual void CallFunction (const string &name, CQueryParseTree::TNode &node) Extend this function to look up and invoke functions that appear in the query. More...
virtual void Evaluate (CQueryParseTree &qtree) Run query tree evaluation. More...
virtual void Evaluate (CQueryParseTree &qtree, CQueryParseTree::TNode &node) int GetQueriedCount () const int GetExceptionCount () const CObject (void) Constructor. More...
CObject (const CObject &src) Copy constructor. More...
virtual ~CObject (void) Destructor. More...
CObject & operator= (const CObject &src) THROWS_NONE Assignment operator. More...
bool CanBeDeleted (void) const THROWS_NONE Check if object can be deleted. More...
bool IsAllocatedInPool (void) const THROWS_NONE Check if object is allocated in memory pool (not system heap) More...
bool Referenced (void) const THROWS_NONE Check if object is referenced. More...
bool ReferencedOnlyOnce (void) const THROWS_NONE Check if object is referenced only once. More...
void AddReference (void) const Add reference to object. More...
void RemoveReference (void) const Remove reference to object. More...
void ReleaseReference (void) const Remove reference without deleting object. More...
virtual void DoNotDeleteThisObject (void) Mark this object as not allocated in heap – do not delete this object. More...
virtual void DoDeleteThisObject (void) Mark this object as allocated in heap – object can be deleted. More...
void * operator new (size_t size) Define new operator for memory allocation. More...
void * operator new[] (size_t size) Define new[] operator for 'array' memory allocation. More...
void operator delete (void *ptr) Define delete operator for memory deallocation. More...
void operator delete[] (void *ptr) Define delete[] operator for memory deallocation. More...
void * operator new (size_t size, void *place) Define new operator. More...
void operator delete (void *ptr, void *place) Define delete operator. More...
void * operator new (size_t size, CObjectMemoryPool *place) Define new operator using memory pool. More...
void operator delete (void *ptr, CObjectMemoryPool *place) Define delete operator. More...
virtual void DebugDump (CDebugDumpContext ddc, unsigned int depth) const Define method for dumping debug information. More...
CDebugDumpable (void) virtual ~CDebugDumpable (void) void DebugDumpText (ostream &out, const string &bundle, unsigned int depth) const void DebugDumpFormat (CDebugDumpFormatter &ddf, const string &bundle, unsigned int depth) const void DumpToConsole (void) const
class CTableQueryExec
Subclass of CQueryExec that will execute a query against a data source derived from ITableData.
Definition at line 53 of file table_query_exec.hpp.
If query has an identifier, this will resolve it in an application-specific way.
Returns true if resolved, with the data item's value in 'value'. Using field identifiers, if available, such as column numbers or biotree feature IDs will be faster.
Reimplemented from CQueryExec.
Definition at line 56 of file table_query_exec.cpp.
References rapidjson::value, and x_GetColumnIdx().
Referenced by ResolveIdentifier().
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4