public Database create(IMetaStoreClient client, Configuration conf) throws TException {
    Database db = build(conf);
    client.createDatabase(db);
    return db;
  }
Build the database, create it in the metastore, and then return the db object.
@param client metastore client
@param conf configuration file
@return new database object
@throws TException comes from {@link #build(Configuration)} or
{@link IMetaStoreClient#createDatabase(Database)}.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/client/builder/DatabaseBuilder.java