public void getOptimizingTypes(Context ctx) {
    String catalog = ctx.pathParam("catalog");
    String db = ctx.pathParam("db");
    String table = ctx.pathParam("table");
    TableIdentifier tableIdentifier = TableIdentifier.of(catalog, db, table);

    Map<String, String> values =
        tableDescriptor.getTableOptimizingTypes(tableIdentifier.buildTableIdentifier());
    ctx.json(OkResponse.of(values));
  }
get list of optimizing processes.

@param ctx - context for handling the request and response
amoro-ams/src/main/java/org/apache/amoro/server/dashboard/controller/TableController.java