MCPcopy Create free account
hub / github.com/1345414527/MIT6.830 / getTableName

Method getTableName

src/java/simpledb/common/Catalog.java:206–213  ·  view source on GitHub ↗
(int id)

Source from the content-addressed store, hash-verified

204 }
205
206 public String getTableName(int id) {
207 // some code goes here
208 Table table = this.getTableById(id);
209 if(table!=null){
210 return table.getName();
211 }
212 throw new NoSuchElementException();
213 }
214
215 /** Delete all tables from the catalog */
216 public void clear() {

Callers 10

handleDuplicateIdsMethod · 0.45
updateJoinCardinalityMethod · 0.45
printJoinsMethod · 0.45
computeStatisticsMethod · 0.45
physicalPlanMethod · 0.45

Calls 2

getTableByIdMethod · 0.95
getNameMethod · 0.95

Tested by 1

handleDuplicateIdsMethod · 0.36