fb-cpp 0.0.2
A modern C++ wrapper for the Firebird database API
Loading...
Searching...
No Matches
fbcpp::DatabaseRepairOptions Class Referencefinal

Represents options used to run a database maintenance operation through the service manager. More...

#include <DatabaseManager.h>

Public Member Functions

const std::string & getDatabase () const
 Returns the database path to be maintained.
 
DatabaseRepairOptionssetDatabase (const std::string &value)
 Sets the database path to be maintained.
 
const ServiceManager::VerboseOutputgetVerboseOutput () const
 Returns the verbose output callback.
 
DatabaseRepairOptionssetVerboseOutput (ServiceManager::VerboseOutput value)
 Sets the verbose output callback.
 
const std::optional< std::uint32_t > & getParallelWorkers () const
 Returns the requested number of parallel workers.
 
DatabaseRepairOptionssetParallelWorkers (std::uint32_t value)
 Sets the requested number of parallel workers.
 
bool getSweep () const
 Returns whether database sweep is configured to be run.
 
DatabaseRepairOptionssetSweep (bool value)
 Sets whether database sweep should be run.
 
bool getValidate () const
 Returns whether database validation is configured to be run.
 
DatabaseRepairOptionssetValidate (bool value)
 Sets whether database validation should be run.
 
bool getMend () const
 Returns whether database mending is configured to be run.
 
DatabaseRepairOptionssetMend (bool value)
 Sets whether database mending should be run.
 
bool getIgnoreChecksum () const
 Returns whether checksum verification is configured to be ignored.
 
DatabaseRepairOptionssetIgnoreChecksum (bool value)
 Sets whether checksum verification should be ignored.
 
bool getKillShadows () const
 Returns whether killing database shadows is configured to be run.
 
DatabaseRepairOptionssetKillShadows (bool value)
 Sets whether killing database shadows should be run.
 
bool getFull () const
 Returns whether full validation is configured to be run.
 
DatabaseRepairOptionssetFull (bool value)
 Sets whether full validation should be run.
 
bool getCheckDb () const
 Returns whether checking only metadata/structure is configured to be run.
 
DatabaseRepairOptionssetCheckDb (bool value)
 Sets whether checking only metadata/structure should be run.
 
bool getIcu () const
 Returns whether recreating ICU indexes is configured to be run.
 
DatabaseRepairOptionssetIcu (bool value)
 Sets whether recreating ICU indexes should be run.
 
bool getUpgradeDb () const
 Returns whether database upgrade is configured to be run.
 
DatabaseRepairOptionssetUpgradeDb (bool value)
 Sets whether database upgrade should be run.
 

Detailed Description

Represents options used to run a database maintenance operation through the service manager.

Definition at line 87 of file DatabaseManager.h.

Member Function Documentation

◆ getCheckDb()

bool fbcpp::DatabaseRepairOptions::getCheckDb ( ) const
inline

Returns whether checking only metadata/structure is configured to be run.

Definition at line 246 of file DatabaseManager.h.

◆ getDatabase()

const std::string & fbcpp::DatabaseRepairOptions::getDatabase ( ) const
inline

Returns the database path to be maintained.

Definition at line 93 of file DatabaseManager.h.

◆ getFull()

bool fbcpp::DatabaseRepairOptions::getFull ( ) const
inline

Returns whether full validation is configured to be run.

Definition at line 229 of file DatabaseManager.h.

◆ getIcu()

bool fbcpp::DatabaseRepairOptions::getIcu ( ) const
inline

Returns whether recreating ICU indexes is configured to be run.

Definition at line 263 of file DatabaseManager.h.

◆ getIgnoreChecksum()

bool fbcpp::DatabaseRepairOptions::getIgnoreChecksum ( ) const
inline

Returns whether checksum verification is configured to be ignored.

Definition at line 195 of file DatabaseManager.h.

◆ getKillShadows()

bool fbcpp::DatabaseRepairOptions::getKillShadows ( ) const
inline

Returns whether killing database shadows is configured to be run.

Definition at line 212 of file DatabaseManager.h.

◆ getMend()

bool fbcpp::DatabaseRepairOptions::getMend ( ) const
inline

Returns whether database mending is configured to be run.

Definition at line 178 of file DatabaseManager.h.

◆ getParallelWorkers()

const std::optional< std::uint32_t > & fbcpp::DatabaseRepairOptions::getParallelWorkers ( ) const
inline

Returns the requested number of parallel workers.

Definition at line 127 of file DatabaseManager.h.

◆ getSweep()

bool fbcpp::DatabaseRepairOptions::getSweep ( ) const
inline

Returns whether database sweep is configured to be run.

Definition at line 144 of file DatabaseManager.h.

◆ getUpgradeDb()

bool fbcpp::DatabaseRepairOptions::getUpgradeDb ( ) const
inline

Returns whether database upgrade is configured to be run.

Definition at line 280 of file DatabaseManager.h.

◆ getValidate()

bool fbcpp::DatabaseRepairOptions::getValidate ( ) const
inline

Returns whether database validation is configured to be run.

Definition at line 161 of file DatabaseManager.h.

◆ getVerboseOutput()

const ServiceManager::VerboseOutput & fbcpp::DatabaseRepairOptions::getVerboseOutput ( ) const
inline

Returns the verbose output callback.

Definition at line 110 of file DatabaseManager.h.

◆ setCheckDb()

DatabaseRepairOptions & fbcpp::DatabaseRepairOptions::setCheckDb ( bool  value)
inline

Sets whether checking only metadata/structure should be run.

Definition at line 254 of file DatabaseManager.h.

◆ setDatabase()

DatabaseRepairOptions & fbcpp::DatabaseRepairOptions::setDatabase ( const std::string &  value)
inline

Sets the database path to be maintained.

Definition at line 101 of file DatabaseManager.h.

◆ setFull()

DatabaseRepairOptions & fbcpp::DatabaseRepairOptions::setFull ( bool  value)
inline

Sets whether full validation should be run.

Definition at line 237 of file DatabaseManager.h.

◆ setIcu()

DatabaseRepairOptions & fbcpp::DatabaseRepairOptions::setIcu ( bool  value)
inline

Sets whether recreating ICU indexes should be run.

Definition at line 271 of file DatabaseManager.h.

◆ setIgnoreChecksum()

DatabaseRepairOptions & fbcpp::DatabaseRepairOptions::setIgnoreChecksum ( bool  value)
inline

Sets whether checksum verification should be ignored.

Definition at line 203 of file DatabaseManager.h.

◆ setKillShadows()

DatabaseRepairOptions & fbcpp::DatabaseRepairOptions::setKillShadows ( bool  value)
inline

Sets whether killing database shadows should be run.

Definition at line 220 of file DatabaseManager.h.

◆ setMend()

DatabaseRepairOptions & fbcpp::DatabaseRepairOptions::setMend ( bool  value)
inline

Sets whether database mending should be run.

Definition at line 186 of file DatabaseManager.h.

◆ setParallelWorkers()

DatabaseRepairOptions & fbcpp::DatabaseRepairOptions::setParallelWorkers ( std::uint32_t  value)
inline

Sets the requested number of parallel workers.

Definition at line 135 of file DatabaseManager.h.

◆ setSweep()

DatabaseRepairOptions & fbcpp::DatabaseRepairOptions::setSweep ( bool  value)
inline

Sets whether database sweep should be run.

Definition at line 152 of file DatabaseManager.h.

◆ setUpgradeDb()

DatabaseRepairOptions & fbcpp::DatabaseRepairOptions::setUpgradeDb ( bool  value)
inline

Sets whether database upgrade should be run.

Definition at line 288 of file DatabaseManager.h.

◆ setValidate()

DatabaseRepairOptions & fbcpp::DatabaseRepairOptions::setValidate ( bool  value)
inline

Sets whether database validation should be run.

Definition at line 169 of file DatabaseManager.h.

◆ setVerboseOutput()

DatabaseRepairOptions & fbcpp::DatabaseRepairOptions::setVerboseOutput ( ServiceManager::VerboseOutput  value)
inline

Sets the verbose output callback.

Definition at line 118 of file DatabaseManager.h.


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