public SQLForeignKeyBuilder fromPrimaryKey(List<SQLPrimaryKey> pk) {
    pkDb = pk.get(0).getTable_db();
    pkTable = pk.get(0).getTable_name();
    for (SQLPrimaryKey pkcol : pk) pkColumns.add(pkcol.getColumn_name());
    pkName = pk.get(0).getPk_name();
    return this;
  }
Builder for {@link SQLForeignKey}.  Requires what {@link ConstraintBuilder} requires, plus
primary key
database, table, column and name.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/client/builder/SQLForeignKeyBuilder.java