docs: public static String getTableNameFromId(Database catalog, int tableId) {
          String tableName = null;
          for (Table table: catalog.getTables()) {
              if (table.getRelativeIndex() == tableId) {
                  tableName = table.getTypeName();
              }
          }
          return tableName;
      }