Lightweight 0.20251202.0
Loading...
Searching...
No Matches
Lightweight::SqlBackup::Progress Struct Reference

Progress information for backup/restore operations status updates. More...

#include <SqlBackup.hpp>

Public Types

enum class  State : std::uint8_t {
  Started , InProgress , Finished , Error ,
  Warning
}
 The state of an individual backup/restore operation. More...
 

Public Attributes

State state {}
 The state of an individual backup/restore operation.
 
std::string tableName
 The name of the table being backed up / restored.
 
size_t currentRows {}
 The current number of rows processed.
 
std::optional< size_t > totalRows
 The total number of rows to be processed, if known.
 
std::string message
 A message associated with the progress update.
 

Detailed Description

Progress information for backup/restore operations status updates.

Definition at line 143 of file SqlBackup.hpp.

Member Enumeration Documentation

◆ State

enum class Lightweight::SqlBackup::Progress::State : std::uint8_t
strong

The state of an individual backup/restore operation.

Definition at line 146 of file SqlBackup.hpp.

Member Data Documentation

◆ state

State Lightweight::SqlBackup::Progress::state {}

The state of an individual backup/restore operation.

Definition at line 156 of file SqlBackup.hpp.

Referenced by Lightweight::SqlBackup::ErrorTrackingProgressManager::Update().

◆ tableName

std::string Lightweight::SqlBackup::Progress::tableName

The name of the table being backed up / restored.

Definition at line 159 of file SqlBackup.hpp.

◆ currentRows

size_t Lightweight::SqlBackup::Progress::currentRows {}

The current number of rows processed.

Definition at line 162 of file SqlBackup.hpp.

◆ totalRows

std::optional<size_t> Lightweight::SqlBackup::Progress::totalRows

The total number of rows to be processed, if known.

Definition at line 165 of file SqlBackup.hpp.

◆ message

std::string Lightweight::SqlBackup::Progress::message

A message associated with the progress update.

Definition at line 168 of file SqlBackup.hpp.


The documentation for this struct was generated from the following file: