|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is implemented by all QueryTree which have a QueryFilter associated (QueryNode, RdbExpLeaf, ...).
Method Summary | |
---|---|
Expression |
getQueryFilter()
Retrieves the filter associated to the QueryTree. |
void |
setQueryFilter(Expression e)
Sets the filter associated to the FilteredQueryTree. |
Methods inherited from interface org.objectweb.medor.query.api.QueryTree |
---|
getDistinct, getName, getOrderBy, getTupleStructure, setDistinct, setOrderBy |
Methods inherited from interface org.objectweb.medor.query.api.AnnotationsHolder |
---|
getAnnotations |
Method Detail |
public Expression getQueryFilter()
Expression
public void setQueryFilter(Expression e)
For a QueryNode:
This method also updates the list of QueryTree children of the current QueryNode according to the FieldOperands present in the Expression.
Usage constraint: if the QueryNode already has an associated Expression, and if this Expression has been modified, the user is requested to call the setQueryFilter method after the modification.
For a RbdQueryLeaf:
It sets the filter associated to the RbdQueryLeaf. This filter is represented by an Expression. Unlike the filter of a QueryNode, is applies to its own Fields, instead of the Fields of its children.
e
- is the Expression representing the query filter of the current
QueryNode.
java.lang.UnsupportedOperationException
- when it is not supported
(for Union, Intersection, Cartesian, Projection).Expression
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |