IirefConstraints.REF_CONSTRAINT_NAME.asc(),
IiindexColumns.KEY_SEQUENCE.asc())
.fetch();
for (Record record : result) {
SchemaDefinition foreignKeySchema = getSchema(record.getValue(trim(IirefConstraints.REF_SCHEMA_NAME)));
SchemaDefinition uniqueKeySchema = getSchema(record.getValue(trim(IirefConstraints.UNIQUE_SCHEMA_NAME)));
String foreignKey = record.getValue(trim(IirefConstraints.REF_CONSTRAINT_NAME));
String foreignKeyTable = record.getValue(trim(IirefConstraints.REF_TABLE_NAME));
String foreignKeyColumn = record.getValue(trim(IiindexColumns.COLUMN_NAME));
String uniqueKey = record.getValue(trim(IirefConstraints.UNIQUE_CONSTRAINT_NAME));