|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--openjava.ptree.util.ParseTreeVisitor | +--openjava.ptree.util.GenericVisitor | +--saffron.rel.SubqueryFinder
Field Summary | |
(package private) QueryInfo |
queryInfo
|
Constructor Summary | |
(package private) |
SubqueryFinder(QueryInfo queryInfo)
|
Method Summary | |
void |
visit(BinaryExpression p)
|
void |
visit(UnaryExpression p)
Replaces an exists expression. |
Methods inherited from class openjava.ptree.util.GenericVisitor |
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitGeneric |
Methods inherited from class openjava.ptree.util.ParseTreeVisitor |
visit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
QueryInfo queryInfo
Constructor Detail |
SubqueryFinder(QueryInfo queryInfo)
Method Detail |
public void visit(BinaryExpression p) throws ParseTreeException
visit
in class GenericVisitor
ParseTreeException
public void visit(UnaryExpression p) throws ParseTreeException
exists
expression. For example,becomesselect from dept where dept.state.equals("CA") && exists ( select from emp where emp.deptno == dept.deptno)
select from dept left join ( select distinct true from ( select from emp where emp.deptno == dept.deptno)) as test where dept.state.equals("CA") && test
visit
in class GenericVisitor
ParseTreeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |