Returns the DbFile that can be used to read the contents of the specified table. @param tableid The id of the table, as specified by the DbFile.getId() function passed to addTable
(int tableid)
| 177 | * function passed to addTable |
| 178 | */ |
| 179 | public DbFile getDatabaseFile(int tableid) throws NoSuchElementException { |
| 180 | // some code goes here |
| 181 | Table table = this.getTableById(tableid); |
| 182 | if(table!=null){ |
| 183 | return table.getFile(); |
| 184 | } |
| 185 | return null; |
| 186 | } |
| 187 | |
| 188 | public String getPrimaryKey(int tableid) { |
| 189 | // some code goes here |
no test coverage detected