presto-hive/src/main/java/io/prestosql/plugin/hive/metastore/file/DatabaseMetadata.java/DatabaseMetadata/toDatabase
class DatabaseMetadata:    public Database toDatabase(String databaseName, String location)
    {
        return Database.builder()
                .setDatabaseName(databaseName)
                .setLocation(Optional.of(location))
                .setOwnerName(ownerName)
                .setOwnerType(ownerType)
                .setParameters(parameters)
                .build();
    }