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

Method getColumnIndex

src/main/java/com/oltpbenchmark/catalog/Table.java:71–73  ·  view source on GitHub ↗
(Column catalog_col)

Source from the content-addressed store, hash-verified

69 }
70
71 public int getColumnIndex(Column catalog_col) {
72 return (this.getColumnIndex(catalog_col.getName()));
73 }
74
75 public int getColumnIndex(String columnName) {
76 for (int i = 0, cnt = getColumnCount(); i < cnt; i++) {

Callers 3

getColumnByNameMethod · 0.95
loadTableMethod · 0.80
getIndexMethod · 0.80

Calls 3

getColumnCountMethod · 0.95
getNameMethod · 0.65
getMethod · 0.45

Tested by

no test coverage detected