protected StmtTableScan addTableToStmtCache ( Table table , String tableAlias ) { // Create an index into the query Catalog cache StmtTableScan tableScan = m_tableAliasMap . get ( tableAlias ) ; if ( tableScan == null ) { tableScan = new StmtTargetTableScan ( table , tableAlias , m_stmtId ) ; m_tableAliasMap . put ( tableAlias , tableScan ) ; } return tableScan ; }
Add a table to the statement cache .