MCPcopy Create free account
hub / github.com/cmu-db/benchbase / getColumnByName

Method getColumnByName

src/main/java/com/oltpbenchmark/catalog/Table.java:66–69  ·  view source on GitHub ↗
(String colname)

Source from the content-addressed store, hash-verified

64 }
65
66 public Column getColumnByName(String colname) {
67 int idx = getColumnIndex(colname);
68 return (idx >= 0 ? this.columns.get(idx) : null);
69 }
70
71 public int getColumnIndex(Column catalog_col) {
72 return (this.getColumnIndex(catalog_col.getName()));

Callers 4

loadRevisionMethod · 0.95
getCatalogDirectMethod · 0.95
initMethod · 0.95
loadTableMethod · 0.80

Calls 2

getColumnIndexMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected