public List<SQLPrimaryKey> build(Configuration conf) throws MetaException {
    checkBuildable("primary_key", conf);
    List<SQLPrimaryKey> pk = new ArrayList<>(columns.size());
    for (String colName : columns) {
      SQLPrimaryKey keyCol = new SQLPrimaryKey(dbName, tableName, colName, getNextSeq(),
          constraintName, enable, validate, rely);
      keyCol.setCatName(catName);
      pk.add(keyCol);
    }
    return pk;
  }
Builder for {@link SQLPrimaryKey}.  Only requires what {@link ConstraintBuilder} requires.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/client/builder/SQLPrimaryKeyBuilder.java