24672468246924702471247224732474247524762477
if (matchCount == 0) { continue; } if (matchCount == set.size()) { return currentIndex.asArray(); } if (matchCount == currentIndex.getColumnCount()) { if (currentIndex.isUnique()) { return currentIndex.asArray();
24722473247424752476247724782479248024812482
return currentIndex.asArray(); } if (matchCount == currentIndex.getColumnCount()) { if (currentIndex.isUnique()) { return currentIndex.asArray(); } } if (indexUse.length == 0 && matchCount == currentIndex.getColumnCount()) {
24782479248024812482248324842485248624872488
} } if (indexUse.length == 0 && matchCount == currentIndex.getColumnCount()) { indexUse = currentIndex.asArray(); } else { IndexUse[] newList = new IndexUse[indexUse.length + 1]; ArrayUtil.copyArray(indexUse, newList, indexUse.length);
25012502250325042505250625072508250925102511
case TableBase.VIEW_TABLE : case TableBase.TEMP_TABLE : { Index selected = createIndexForColumns(session, set.toArray()); if (selected != null) { indexUse = selected.asArray(); } } } return indexUse;