// 1: columnname
// 2: uniqueconstraintname
final Object[] values = (Object[]) row;
Check.isTrue(values.length == 3,
"Unexpected value length for constraint query, should be 3, but is " + values.length);
final UniqueConstraintColumn uniqueConstraintColumn = new UniqueConstraintColumn();
uniqueConstraintColumn.setTableName((String) values[0]);
uniqueConstraintColumn.setColumnName((String) values[1]);
uniqueConstraintColumn.setUniqueConstraintName((String) values[2]);
result.add(uniqueConstraintColumn);
}
return result;
}