org.objectweb.medor.optim.jorm
Class JormLeafRewriteRule
- LeafRewriteRule, RewriteRule
public class JormLeafRewriteRule
This class represents the rule to transform QueryLeaves
into the corresponding QueryLeaf on the data store (for example into an
RdbQueryLeaf).
JormLeafRewriteRule
public JormLeafRewriteRule()
JormLeafRewriteRule
public JormLeafRewriteRule(LeafRewriter lr)
getLeafUsers
protected void getLeafUsers(QueryTree qt,
Map m,
ArrayList al)
throws MedorException
It fetches the QueryTree nodes which are 'parents' of QueryLeaf nodes.
qt
- is the queryTree to analyze.m
- is the current result of the recusrive evaluation.
key = a queryTree
Value = the users of the querytree key :
ArrayList( FieldOperand | PropagatedField | NestedField )al
- is the list of the visited queryTree. (It does not contain the
'qt' parameter)
getLogger
public Logger getLogger()
getLoggerFactory
public LoggerFactory getLoggerFactory()
setLogger
public void setLogger(Logger logger)
setLoggerFactory
public void setLoggerFactory(LoggerFactory loggerFactory)