resolvedPks.getOrCreate(translation.getRelationTable()).addAll(fromAndToValues);
//now read out the to pks from fromAndToCols are return them as the "from" table primary keys
Set<ColumnValues> fromPks = new HashSet<ColumnValues>();
for (ColumnValues cols : fromAndToValues) {
ColumnValues fromPk = new ColumnValues();
for (int i = 0; i < translation.getRelationTableFromColumns().length; ++i) {
String colName = translation.getRelationTableFromColumns()[i];
String pkName = edge.getFrom().getTranslation().getPkColumns()[i];
fromPk.add(pkName, cols.getColumnByName(colName).getValue());
}
fromPks.add(fromPk);
}
return removeValuesWithNullColumn(fromPks);