1 #ifndef _QmfEngineQuery_
2 #define _QmfEngineQuery_
30 struct QueryElementImpl;
32 struct QueryExpressionImpl;
80 Query(
const char* className,
const char* packageName);
88 void setOrderBy(
const char* attrName,
bool decreasing);
Query(const char *className, const char *packageName)
bool evaluate(const Object *object) const
const char * getOrderBy() const
const QueryOperand * getSelect() const
void setSelect(const QueryOperand *criterion)
const ObjectId * getObjectId() const
QueryElement(const char *attrName, const Value *value, ValueOper oper)
friend class BrokerProxyImpl
bool getDecreasing() const
void setOrderBy(const char *attrName, bool decreasing)
virtual ~QueryExpression()
virtual bool evaluate(const Object *object) const =0
QueryExpressionImpl * impl
uint32_t getLimit() const
const char * getClass() const
const char * getPackage() const
bool evaluate(const Object *object) const
void setLimit(uint32_t maxResults)
QueryExpression(ExprOper oper, const QueryOperand *operand1, const QueryOperand *operand2)