A set of parameters for GPUdb::adminRepairTable. More…
#include <gpudb/protocol/admin_repair_table.h>
Public Member Functions | |
| AdminRepairTableRequest () | |
| Constructs an AdminRepairTableRequest object with default parameters. | |
| AdminRepairTableRequest (const std::vector< std::string > &tableNames_, const std::map< std::string, std::string > &tableTypes_, const std::map< std::string, std::string > &options_) | |
| Constructs an AdminRepairTableRequest object with the specified parameters. | |
Public Attributes | |
| std::vector< std::string > | tableNames |
| List of tables to query. | |
| std::map< std::string, std::string > | tableTypes |
| ID of the type per table. | |
| std::map< std::string, std::string > | options |
| Optional parameters. | |
Detailed Description
A set of parameters for GPUdb::adminRepairTable.
Manually repair a corrupted table. Returns information about affected tables.
Definition at line 19 of file admin_repair_table.h.
Constructor & Destructor Documentation
◆ AdminRepairTableRequest() [1/2]
| inline |
Constructs an AdminRepairTableRequest object with default parameters.
Definition at line 25 of file admin_repair_table.h.
◆ AdminRepairTableRequest() [2/2]
| inline |
Constructs an AdminRepairTableRequest object with the specified parameters.
| [in] | tableNames_ | List of tables to query. An asterisk returns all tables. |
| [in] | tableTypes_ | ID of the type per table. |
| [in] | options_ | Optional parameters.
|
Definition at line 91 of file admin_repair_table.h.
Member Data Documentation
◆ options
| std::map<std::string, std::string> gpudb::AdminRepairTableRequest::options |
Optional parameters.
- admin_repair_table_repair_policy: Corrective action to take. Supported values:
- admin_repair_table_delete_chunks: Deletes any corrupted chunks.
- admin_repair_table_shrink_columns: Shrinks corrupted chunks to the shortest column.
- admin_repair_table_replay_wal: Manually invokes write-ahead log (WAL) replay on the table.
- admin_repair_table_alter_table: Reset columns modification after incomplete alter column.
- admin_repair_table_verify_all: If false only table chunk data already known to be corrupted will be repaired. Otherwise the database will perform a full table scan to check for correctness. Supported values:The default value is admin_repair_table_false.
The default value is an empty map.
Definition at line 147 of file admin_repair_table.h.
◆ tableNames
| std::vector<std::string> gpudb::AdminRepairTableRequest::tableNames |
List of tables to query.
An asterisk returns all tables.
Definition at line 101 of file admin_repair_table.h.
◆ tableTypes
| std::map<std::string, std::string> gpudb::AdminRepairTableRequest::tableTypes |
ID of the type per table.
Definition at line 106 of file admin_repair_table.h.
The documentation for this struct was generated from the following file:
- gpudb/protocol/admin_repair_table.h