Class SubQueryCollector

java.lang.Object
com.orientechnologies.orient.core.sql.parser.SubQueryCollector

public class SubQueryCollector extends Object
This class is used by the query planner to extract subqueries and move them to LET clause
An example:

select from foo where name in (select name from bar)

will become

select from foo
let $$$SUBQUERY$$_0 = (select name from bar)
where name in $$$SUBQUERY$$_0

Author:
Luigi Dell'Aquila (l.dellaquila-(at)-orientdb.com)