1 #ifndef GUI_OBJUTILS___QUERY_FUNC_PROMOTE_HPP
2 #define GUI_OBJUTILS___QUERY_FUNC_PROMOTE_HPP
60 : m_CaseSensitive(
NStr::eCase)
87 ResolveAndPromote(
size_t comparison_idx,
101 bool ResolveFieldValue(TEvalResult& tree_val);
106 bool SetCompareType(TEvalResult& tree_value);
424 "Query pre-processing faild. Unknown function:" + qnode.
GetOrig());
class CQueryExecPreProcessFunc
objects::CScope * m_Scope
ETreeTraverseCode operator()(CTreeNode< CQueryParseNode > &tr, int delta)
CQueryExecPreProcessFunc(objects::CScope *scope, CQueryExec &exec)
Query execution environment holds the function registry and the execution context.
Query execution function for assignment operator.
class CQueryFuncEqualityCompares
CQueryFuncEqualityCompares(CQueryParseNode::EType op_type, NStr::ECase c=NStr::eCase, CStringMatching::EStringMatching matching=CStringMatching::ePlainSearch)
Ctor.
class CQueryFuncGtLtCompares
CQueryFuncGtLtCompares(CQueryParseNode::EType op_type, NStr::ECase c=NStr::eCase)
Ctor.
Query execution function for run-time variables.
Base class for evaluation functions.
EStringMatching
String matching algorithms.
@ ePlainSearch
Plain search.
definition of a Culling tree
#define NCBI_THROW(exception_class, err_code, message)
Generic macro to throw an exception, given the exception class, error code and message string.
const string & GetOrig() const
CQueryFunctionBase * GetFunc(CQueryParseNode::EType func_type)
Return query function pointer (if registered).
virtual void Evaluate(CQueryParseTree::TNode &qnode)=0
Query node evaluation function (performs actual programmed by the node action)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
ECase
Which type of string comparison.
@ eCase
Case sensitive compare.
ETreeTraverseCode
Tree traverse code returned by the traverse predicate function.
bool IsLeaf() const
Report whether this is a leaf node.
const TValue & GetValue(void) const
Return node's value.
@ eTreeTraverse
Keep traversal.
#define NCBI_GUIOBJUTILS_EXPORT
Defines to provide correct exporting from DLLs in Windows.
EBaseType
Set of all possible types for nodes.
The NCBI C++/STL use hints.
Int4 delta(size_t dimension_, const Int4 *score_)
Query parser execution implementations.