Evaluate this SQL-Esce expression within the supplied index and place the result in the supplied bitmap.

Return TypeFunction nameArguments
hzEcode_hz_sqle_expr::Evaluate(hzIntset&,)

Declared and defined in file: hdbIndex.cpp

Function Logic:

0:START 1:unknown 2:items 3:unknown 4:items 5:Return E_OK 6:items 7:Return m_pRoot->Evaluate(result,m_pIndex)

Function body:

hzEcode _hz_sqle_expr::Evaluate (hzIntset& result)
{
   //  Evaluate this SQL-Esce expression within the supplied index and place the result in the supplied bitmap.
   //  
   //  Arguments: 1) The bitmap (of document ids) to be populated by the search operation.
   //  
   //  Returns: E_NODATA No search term available
   //     E_ARGUMENT No index pointer supplied
   //     E_CORRUPT An error occurred during searching
   //     E_OK  The operation was successfule (even if nothing was found)
   _hzfunc("_hz_sqle_expr::Evaluate") ;
   //  Result.Clear() ;
   if (!m_pIndex)
       hzexit(E_CORRUPT, "No index supplied") ;
   if (!m_pRoot)
   {
       threadLog("No root!\n") ;
       return E_OK ;
   }
   threadLog("Calling Eval\n") ;
   return m_pRoot->Evaluate(result, m_pIndex) ;
}