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

Method getIndex

src/main/java/com/oltpbenchmark/catalog/Table.java:88–95  ·  view source on GitHub ↗
(String indexName)

Source from the content-addressed store, hash-verified

86 }
87
88 public Index getIndex(String indexName) {
89 for (Index catalog_idx : this.indexes) {
90 if (catalog_idx.getName().equalsIgnoreCase(indexName)) {
91 return (catalog_idx);
92 }
93 }
94 return (null);
95 }
96
97 public List<Index> getIndexes() {
98 return this.indexes;

Callers 8

getCatalogDirectMethod · 0.95
initMethod · 0.95
populateRandomColumnsMethod · 0.45
loadTableMethod · 0.45
FixedDataIterableMethod · 0.45
ScalingDataIterableMethod · 0.45
getInsertSQLMethod · 0.45
getColumnTypesMethod · 0.45

Calls 1

getNameMethod · 0.65

Tested by

no test coverage detected