for (int j = 0; j < indexes.length; j++) {
index = indexes[j].index;
PersistentStore store = table.getRowStore(session);
double currentCost = store.searchCost(session, index,
indexes[j].columnCount,
OpTypes.EQUAL);
if (currentCost < cost) {
cost = currentCost;