#include <OWBI1_WQLSelectStatement.hpp>
Collaboration diagram for OWBI1::WQLSelectStatement:
Public Member Functions | |
WQLSelectStatement () | |
~WQLSelectStatement () | |
void | clear () |
Clears all data members of this object. | |
const String & | getClassName () const |
void | setClassName (const String &className) |
Modifier. | |
UInt32 | getSelectPropertyNameCount () const |
Returns the number of property names which were indicated in the selection list. | |
const String & | getSelectPropertyName (UInt32 i) const |
Gets the i-th selected property name in the list. | |
const StringArray & | getSelectPropertyNames () const |
Gets the selected property names in the list. | |
void | appendSelectPropertyName (const String &x) |
Appends a property name to the property name list. | |
UInt32 | getWherePropertyNameCount () const |
Returns the number of unique property names from the where clause. | |
const String & | getWherePropertyName (UInt32 i) const |
Gets the i-th unique property appearing in the where clause. | |
bool | appendWherePropertyName (const String &x) |
Appends a property name to the where property name list. | |
void | appendOperation (WQLOperation x) |
Appends an operation to the operation array. | |
void | appendOperand (const WQLOperand &x) |
Appends an operand to the operation array. | |
bool | hasWhereClause () const |
Returns true if this class has a where clause. | |
bool | evaluateWhereClause (const WQLPropertySource *source) const |
Evalautes the where clause using the symbol table to resolve symbols. | |
void | print (std::ostream &ostr) const |
Prints out the members of this class. | |
String | toString () const |
void | compileWhereClause (const WQLPropertySource *source, WQLCompile &wcl) |
Private Attributes | |
String | _className |
Array< String > | _selectPropertyNames |
Array< String > | _wherePropertyNames |
Array< OperandOrOperation > | _operStack |
Friends | |
class | WQLCompile |
Classes | |
struct | OperandOrOperation |
Definition at line 54 of file OWBI1_WQLSelectStatement.hpp.
|
Definition at line 116 of file OWBI1_WQLSelectStatement.cpp. References _operStack, and OWBI1::Array< T >::reserve(). |
|
Definition at line 120 of file OWBI1_WQLSelectStatement.cpp. |
|
Appends an operand to the operation array. This method should only be called by the parser itself. Definition at line 127 of file OWBI1_WQLSelectStatement.hpp. |
|
Appends an operation to the operation array. This method should only be called by the parser itself. Definition at line 120 of file OWBI1_WQLSelectStatement.hpp. |
|
Appends a property name to the property name list. This user should not call this method; it should only be called by the parser. Definition at line 95 of file OWBI1_WQLSelectStatement.hpp. |
|
Appends a property name to the where property name list. This user should not call this method; it should only be called by the parser.
Definition at line 129 of file OWBI1_WQLSelectStatement.cpp. References _wherePropertyNames, i, and OWBI1::Array< T >::size(). |
|
Clears all data members of this object.
Definition at line 123 of file OWBI1_WQLSelectStatement.cpp. References _className, _operStack, _selectPropertyNames, OWBI1::Array< T >::clear(), and OWBI1::String::erase(). |
|
Definition at line 351 of file OWBI1_WQLSelectStatement.cpp. References OWBI1::WQLCompile::compile(). |
|
|
Definition at line 62 of file OWBI1_WQLSelectStatement.hpp. |
|
Gets the i-th selected property name in the list.
Definition at line 82 of file OWBI1_WQLSelectStatement.hpp. |
|
Returns the number of property names which were indicated in the selection list.
Definition at line 76 of file OWBI1_WQLSelectStatement.hpp. |
|
Gets the selected property names in the list.
Definition at line 88 of file OWBI1_WQLSelectStatement.hpp. |
|
Gets the i-th unique property appearing in the where clause.
Definition at line 107 of file OWBI1_WQLSelectStatement.hpp. |
|
Returns the number of unique property names from the where clause.
Definition at line 101 of file OWBI1_WQLSelectStatement.hpp. |
|
Returns true if this class has a where clause.
Definition at line 133 of file OWBI1_WQLSelectStatement.hpp. Referenced by OWBI1::WQLCompile::compile(), and evaluateWhereClause(). |
|
Prints out the members of this class.
Definition at line 291 of file OWBI1_WQLSelectStatement.cpp. References _className, _selectPropertyNames, i, and OWBI1::Array< T >::size(). |
|
Modifier. This method should not be called by the user (only by the parser). Definition at line 69 of file OWBI1_WQLSelectStatement.hpp. References className. |
|
Definition at line 317 of file OWBI1_WQLSelectStatement.cpp. References _selectPropertyNames, i, and OWBI1::Array< T >::size(). |
|
Definition at line 236 of file OWBI1_WQLSelectStatement.hpp. |
|
Definition at line 165 of file OWBI1_WQLSelectStatement.hpp. |
|
Definition at line 235 of file OWBI1_WQLSelectStatement.hpp. Referenced by OWBI1::WQLCompile::_buildEvalHeap(), clear(), evaluateWhereClause(), and WQLSelectStatement(). |
|
Definition at line 174 of file OWBI1_WQLSelectStatement.hpp. Referenced by clear(), print(), and toString(). |
|
Definition at line 180 of file OWBI1_WQLSelectStatement.hpp. Referenced by appendWherePropertyName(). |