use of alluxio.grpc.table.Database in project alluxio by Alluxio.
the class TableMasterJournalIntegrationTest method checkDb.
private void checkDb(TableMaster tableMaster, String dbName, DatabaseInfo dbInfo) throws IOException {
Database db = tableMaster.getDatabase(dbName);
assertEquals(db.getDbName(), dbName);
assertEquals(db.getOwnerName(), dbInfo.getOwnerName());
assertEquals(db.getOwnerType(), dbInfo.getOwnerType());
assertEquals(db.getComment(), dbInfo.getComment());
assertEquals(db.getLocation(), dbInfo.getLocation());
assertEquals(db.getParameterMap(), dbInfo.getParameters());
}
Aggregations