version 1.1.2.18, 2004/11/10 13:57:53
|
version 1.2, 2004/11/21 12:13:07
|
|
|
SelectStatement::_rep = _rep; | SelectStatement::_rep = _rep; |
} | } |
| |
|
CQLSelectStatement::CQLSelectStatement(String& inQlang, String& inQuery) |
|
:SelectStatement() |
|
{ |
|
_rep = new CQLSelectStatementRep(inQlang,inQuery); |
|
|
|
// Set the _rep into the base class also |
|
SelectStatement::_rep = _rep; |
|
} |
|
|
CQLSelectStatement::CQLSelectStatement(const CQLSelectStatement& statement) | CQLSelectStatement::CQLSelectStatement(const CQLSelectStatement& statement) |
:SelectStatement() | :SelectStatement() |
{ | { |
|
|
return *this; | return *this; |
} | } |
| |
Boolean CQLSelectStatement::evaluate(const CIMInstance& inCI) |
void CQLSelectStatement::setQueryContext(QueryContext& inCtx) |
{ | { |
PEGASUS_ASSERT(_rep != NULL); | PEGASUS_ASSERT(_rep != NULL); |
| |
return _rep->evaluate(inCI); |
_rep->setQueryContext(inCtx); |
} | } |
| |
void CQLSelectStatement::applyProjection(CIMInstance& inCI) throw(Exception) |
Boolean CQLSelectStatement::evaluate(const CIMInstance& inCI) |
{ | { |
PEGASUS_ASSERT(_rep != NULL); | PEGASUS_ASSERT(_rep != NULL); |
| |
_rep->applyProjection(inCI); |
return _rep->evaluate(inCI); |
} | } |
| |
void CQLSelectStatement::validateClass(const CIMObjectPath& inClassName) throw(Exception) |
void CQLSelectStatement::applyProjection(CIMInstance& inCI) throw(Exception) |
{ | { |
|
|
PEGASUS_ASSERT(_rep != NULL); | PEGASUS_ASSERT(_rep != NULL); |
| |
_rep->validateClass(inClassName); |
_rep->applyProjection(inCI); |
} | } |
| |
void CQLSelectStatement::validateProperties() throw(Exception) |
void CQLSelectStatement::validate() throw(Exception) |
{ | { |
PEGASUS_ASSERT(_rep != NULL); | PEGASUS_ASSERT(_rep != NULL); |
| |
_rep->validateProperties(); |
_rep->validate(); |
} | } |
| |
Array<CIMObjectPath> CQLSelectStatement::getClassPathList() | Array<CIMObjectPath> CQLSelectStatement::getClassPathList() |