通过tableId获取table @param tableId @return
(int tableId)
| 144 | * @return |
| 145 | */ |
| 146 | public Table getTableById(int tableId){ |
| 147 | for(int i=0;i<this.tables.size();i++) { |
| 148 | Table table = this.tables.get(i); |
| 149 | if(table.getFile().getId()==tableId){ |
| 150 | return table; |
| 151 | } |
| 152 | |
| 153 | } |
| 154 | return null; |
| 155 | } |
| 156 | |
| 157 | /** |
| 158 | * Returns the tuple descriptor (schema) of the specified table |
no test coverage detected