version 1.9, 2006/06/19 19:37:28
|
version 1.10, 2007/04/18 20:14:35
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Authors: David Rosckes (rosckes@us.ibm.com) |
|
// Bert Rivero (hurivero@us.ibm.com) |
|
// Chuck Carmack (carmack@us.ibm.com) |
|
// Brian Lucier (lucier@us.ibm.com) |
|
// |
|
// Modified By: David Dillard, VERITAS Software Corp. |
|
// (david.dillard@veritas.com) |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#ifndef Pegasus_CQLSelectStatement_h | #ifndef Pegasus_CQLSelectStatement_h |
|
|
@return None | @return None |
@throw CQLRuntimeException if the QueryContext had not been set. | @throw CQLRuntimeException if the QueryContext had not been set. |
@throw CQLValidationException if a chained identifier is not well formed. | @throw CQLValidationException if a chained identifier is not well formed. |
@throw CQLSyntaxErrorException if a chained identifier is not well formed. |
@throw CQLSyntaxErrorException if a chained identifier is not well |
|
formed. |
| |
<I><B>Experimental Interface</B></I><BR> | <I><B>Experimental Interface</B></I><BR> |
*/ | */ |
|
|
Post-condition: Chained identifiers have been normalized | Post-condition: Chained identifiers have been normalized |
ie.applyContext has been called. See the applyContext function. | ie.applyContext has been called. See the applyContext function. |
| |
@param inClassName - class to determine the required properties. Defaults |
@param inClassName - class to determine the required properties. |
to the FROM class. |
Defaults to the FROM class. |
@return CIMPropertyList containing the required properties for the class. | @return CIMPropertyList containing the required properties for the class. |
If all the properties are required, a null CIMPropertyList is returned. | If all the properties are required, a null CIMPropertyList is returned. |
If no properties are required, an empty CIMPropertyList is returned. | If no properties are required, an empty CIMPropertyList is returned. |
|
|
| |
<I><B>Experimental Interface</B></I><BR> | <I><B>Experimental Interface</B></I><BR> |
*/ | */ |
CIMPropertyList getPropertyList(const CIMObjectPath& inClassName = CIMObjectPath()); |
CIMPropertyList getPropertyList( |
|
const CIMObjectPath& inClassName = CIMObjectPath()); |
| |
/** | /** |
Returns the required properties from the SELECT clause for the | Returns the required properties from the SELECT clause for the |
classname passed in. The classname parameter is needed in case | classname passed in. The classname parameter is needed in case |
scoping operators are used in the select statement. This function | scoping operators are used in the select statement. This function |
does not return properties for the classname if they are required | does not return properties for the classname if they are required |
on embedded objects. This function does not return required array indices. |
on embedded objects. This function does not return required |
|
array indices. |
| |
Pre-condition: QueryContext has been set into this object. | Pre-condition: QueryContext has been set into this object. |
Post-condition: Chained identifiers have been normalized | Post-condition: Chained identifiers have been normalized |
ie.applyContext has been called. See the applyContext function. | ie.applyContext has been called. See the applyContext function. |
| |
@param inClassName - class to determine the required properties. Defaults |
@param inClassName - class to determine the required properties. |
to the FROM class. |
Defaults to the FROM class. |
@return CIMPropertyList containing the required properties for the class. | @return CIMPropertyList containing the required properties for the class. |
If all the properties are required, a null CIMPropertyList is returned. | If all the properties are required, a null CIMPropertyList is returned. |
If no properties are required, an empty CIMPropertyList is returned. | If no properties are required, an empty CIMPropertyList is returned. |
|
|
| |
<I><B>Experimental Interface</B></I><BR> | <I><B>Experimental Interface</B></I><BR> |
*/ | */ |
CIMPropertyList getSelectPropertyList(const CIMObjectPath& inClassName = CIMObjectPath()); |
CIMPropertyList getSelectPropertyList( |
|
const CIMObjectPath& inClassName = CIMObjectPath()); |
| |
/** | /** |
Returns the required properties from the WHERE clause for the | Returns the required properties from the WHERE clause for the |
classname passed in. The classname parameter is needed in case | classname passed in. The classname parameter is needed in case |
scoping operators are used in the select statement. This function | scoping operators are used in the select statement. This function |
does not return properties for the classname if they are required | does not return properties for the classname if they are required |
on embedded objects. This function does not return required array indices. |
on embedded objects. This function does not return required array |
|
indices. |
| |
Pre-condition: QueryContext has been set into this object. | Pre-condition: QueryContext has been set into this object. |
Post-condition: Chained identifiers have been normalized | Post-condition: Chained identifiers have been normalized |
ie.applyContext has been called. See the applyContext function. | ie.applyContext has been called. See the applyContext function. |
| |
@param inClassName - class to determine the required properties. Defaults |
@param inClassName - class to determine the required properties. |
to the FROM class. |
Defaults to the FROM class. |
@return CIMPropertyList containing the required properties for the class. | @return CIMPropertyList containing the required properties for the class. |
If all the properties are required, a null CIMPropertyList is returned. | If all the properties are required, a null CIMPropertyList is returned. |
If no properties are required, an empty CIMPropertyList is returned. | If no properties are required, an empty CIMPropertyList is returned. |
|
|
| |
<I><B>Experimental Interface</B></I><BR> | <I><B>Experimental Interface</B></I><BR> |
*/ | */ |
CIMPropertyList getWherePropertyList(const CIMObjectPath& inClassName = CIMObjectPath()); |
CIMPropertyList getWherePropertyList( |
|
const CIMObjectPath& inClassName = CIMObjectPath()); |
| |
/** | /** |
Returns the chained identifiers from the SELECT clause. These chained | Returns the chained identifiers from the SELECT clause. These chained |
identifiers contain the fully qualified property names, including embedded |
identifiers contain the fully qualified property names, including |
objects, array indices, scoping operators, and symbolic constants. |
embedded objects, array indices, scoping operators, |
|
and symbolic constants. |
| |
Post-condition: Chained identifiers have been normalized | Post-condition: Chained identifiers have been normalized |
ie.applyContext has been called. See the applyContext function. | ie.applyContext has been called. See the applyContext function. |
|
|
| |
/** | /** |
Returns the chained identifiers from the WHERE clause. These chained | Returns the chained identifiers from the WHERE clause. These chained |
identifiers contain the fully qualified property names, including embedded |
identifiers contain the fully qualified property names, including |
objects, array indices, scoping operators, and symbolic constants. |
embedded objects, array indices, scoping operators, |
|
and symbolic constants. |
| |
Pre-condition: QueryContext has been set into this object. | Pre-condition: QueryContext has been set into this object. |
Post-condition: Chained identifiers have been normalized | Post-condition: Chained identifiers have been normalized |