List of usage examples for com.amazonaws.services.glue.model DatabaseInput setParameters
public void setParameters(java.util.Map<String, String> parameters)
These key-value pairs define parameters and properties of the database.
From source file:com.facebook.presto.hive.metastore.glue.converter.GlueInputConverter.java
License:Apache License
public static DatabaseInput convertDatabase(Database database) { DatabaseInput input = new DatabaseInput(); input.setName(database.getDatabaseName()); input.setParameters(database.getParameters()); database.getComment().ifPresent(input::setDescription); database.getLocation().ifPresent(input::setLocationUri); return input; }