|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface describes a rule used by the QueryTransformer.
It typically pushes selections, replaces a JORM scan with the corresp. RdbQueryLeaf, groups operations on the same data source if possible (depending on the evaluation capacity of the data source) into a single QueryLeaf, etc.
Method Summary | |
QueryTree |
rewrite(QueryTree qt)
This method applies a single rule. |
QueryTree |
rewrite(QueryTree qt,
QueryNode parent)
This method applies a single rule. |
Method Detail |
public QueryTree rewrite(QueryTree qt, QueryNode parent) throws MedorException
It is typically called by the QueryRewriter for applying the entire rewriting process.
qt
- the QueryTree to be rewrittenparent
- the parent QueryNode for which modification of propagated
field, if they are replaced in the qt, should be done.
MedorException
public QueryTree rewrite(QueryTree qt) throws MedorException
It is the same method, but the QueryTree to be rewritten is the top QueryTree (no parent).
qt
- the QueryTree to be rewritten
MedorException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |