version 1.1.2.3, 2001/12/03 02:23:25
|
version 1.1.2.4, 2001/12/09 02:57:09
|
|
|
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
/** This class represents a compiled WBEMSQl1 select statement. |
/** This class represents a compiled WQL1 select statement. |
| |
An instance of WQLSelectStatement is passed to WQLParser::parse() which | An instance of WQLSelectStatement is passed to WQLParser::parse() which |
parses and WBEMSQL1 SELECT statement and initializes the WQLSelectStatement |
parses the WQL1 SELECT statement and initializes the WQLSelectStatement |
instance. The WBEMSWL1 SELECT statement has the following form: |
instance. A WQL1 SELECT statement has the following form: |
| |
<pre> | <pre> |
SELECT <property>... |
SELECT <property>... |
FROM <class name> |
FROM <class name> |
WHERE <where clause> |
WHERE <where clause> |
</pre> | </pre> |
| |
The properties may be obtained with the getProperties() method. |
The properties are obtained with the getProperties() method. The class |
The class name may be obtained with getClassName(). The where clause |
name is obtained with getClassName(). The where clause is evaluated by |
may be evaluated by calling evaluateWhereClause() with the appropriate |
calling evaluateWhereClause() with the appropriate arguments. If |
arguments. If hasWhereClause() returns false, then there is no where |
hasWhereClause() returns false, then there is no where clause. |
clause. |
|
| |
The components of the where clause are stored in two arrays: one for | The components of the where clause are stored in two arrays: one for |
operands and one for operators (these are placed in proper order by the | operands and one for operators (these are placed in proper order by the |