Column from_column = columns.get(col_code_idx);
assert(from_column != null);
Column to_column = columns.get(code_2_id.get(col_code_idx));
assert(to_column != null) : String.format("Invalid column %s.%s", catalog_tbl.getName(), code_2_id.get(col_code_idx));
long id = (Long)tuple[code_2_id.get(col_code_idx)];
if (LOG.isTraceEnabled()) LOG.trace(String.format("Mapping %s '%s' -> %s '%d'", from_column.fullName(), code, to_column.fullName(), id));
this.profile.code_id_xref.get(to_column.getName()).put(code, id);
}
} // FOR
// Foreign Key Code -> Foreign Key Id