|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.medor.optim.lib.BasicRule
Nested Class Summary | |
---|---|
class |
BasicRule.ModifiedExpression
A ModifiedExpression is a structure containing an Expression and a boolean indicating whether the Expression has been modified or not. |
Field Summary | |
---|---|
protected boolean |
debug
|
protected Logger |
log
|
Constructor Summary | |
---|---|
BasicRule()
|
|
BasicRule(java.lang.String suffix)
|
Method Summary | |
---|---|
protected void |
replaceUsage(QueryNode qn,
java.util.Map old2neo)
|
QueryTree |
rewrite(QueryTree qt)
This method applies a single rule. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.medor.optim.api.RewriteRule |
---|
rewrite |
Field Detail |
protected Logger log
protected boolean debug
Constructor Detail |
public BasicRule()
public BasicRule(java.lang.String suffix)
Method Detail |
public QueryTree rewrite(QueryTree qt) throws MedorException
RewriteRule
It is the same method, but the QueryTree to be rewritten is the top QueryTree (no parent).
rewrite
in interface RewriteRule
qt
- the QueryTree to be rewritten
MedorException
protected void replaceUsage(QueryNode qn, java.util.Map old2neo) throws MedorException
MedorException
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |