public boolean rebuild(TaskMonitor monitor) throws CancelledException {
		for (Table table : getTables()) {
			try {
				table.rebuild(monitor);
			}
			catch (IOException e) {
				Msg.error(this, "Rebuild failed while processing table: " + table.getName(), e);
				return false;
			}
		}
		return true;
	}
Rebuild database tables to resolve certain consistency problems.  Use of this
method does not recover lost data which may have occurred during original 
database corruption.
@param monitor task monitor
@return true if rebuild succeeded, else false
@throws CancelledException if rebuild is cancelled
Ghidra/Framework/DB/src/main/java/db/DBHandle.java