public void getTablesAndIndexes ( Map < String , StmtTargetTableScan > tablesRead , Collection < String > indexes ) { for ( AbstractPlanNode node : m_inlineNodes . values ( ) ) { node . getTablesAndIndexes ( tablesRead , indexes ) ; } for ( AbstractPlanNode node : m_children ) { node . getTablesAndIndexes ( tablesRead , indexes ) ; } getTablesAndIndexesFromSubqueries ( tablesRead , indexes ) ; }
Recursively build sets of tables read and index names used .