for (SecondaryIndex secondaryIndex : secondaryIndexKeyMap.keySet()) {
for (Object secondaryIndexKeyNum : secondaryIndexKeyMap.get(secondaryIndex)) {
hive.directory().insertSecondaryIndexKey(secondaryIndex.getResource().getName(), secondaryIndex.getName(), secondaryIndexKeyNum, primaryIndexKey);
}
}
hive.directory().insertSecondaryIndexKey(numIndex.getResource().getName(), numIndex.getName(), secondaryKeyNum, primaryIndexKey);
assertEquals(1, d.getSecondaryIndexKeysOfResourceId(nameIndex, primaryIndexKey).size());
assertEquals(secondaryKeyString, Atom.getFirst(d.getSecondaryIndexKeysOfResourceId(nameIndex, primaryIndexKey)));
assertEquals(1,
d.getSecondaryIndexKeysOfResourceId(numIndex, primaryIndexKey).size());
assertEquals(secondaryKeyNum,