Defined in file: hdbIndex.cpp
This is the class which holds and parses the expression part of the SQL-esce statement (see synopsis 'SQL-esce')
Constructors/Detructors
| _hz_sqle_expr* | _hz_sqle_expr | (void) | |
| void | ~_hz_sqle_expr | (void) |
Public Methods:
| hzEcode | Evaluate | (hzIntset& result) | Evaluate this SQL-Esce expression within the supplied index and place the result in the supplied bitmap. |
| hzEcode | Parse | (hzIntset& result)hzString& srchExp, | Parse the supplied expression. This is first a matter of tokenization, then a call to the root of the expression by the recursive _proctoks() (process tokens) function. After parsing the expression is ready for evaluation. |
| _hz_sqle_term* | _proctoks | (void) | Recursively convert text tokens into tree of _hz_sqle_term instances. This is a support function to Parse() Arguments: None Pointer to a valid SQL term if tokens remain in the expression NULL Otherwise |
Member Variables:
| hzVect<hzToken> | m_Tokens | Tokens of the SQL-esce expression | |
| uint32_t | m_nParLevel | Current tree level | |
| hdbIndexText* | m_pIndex | Freetext index | |
| _hz_sqle_term* | m_pRoot | Root term of the SQL-esce expression | |
| uint32_t | m_tokIter | Token iterator |