|
GPUdb C++ API
Version 7.2.3.0
|
A set of parameters for GPUdb::checkTable. More...
#include <gpudb/protocol/check_table.h>
Public Member Functions | |
| CheckTableRequest () | |
| Constructs a CheckTableRequest object with default parameters. More... | |
| CheckTableRequest (const std::vector< std::string > &tableNames_, const std::map< std::string, std::string > &options_) | |
| Constructs a CheckTableRequest object with the specified parameters. More... | |
Public Attributes | |
| std::vector< std::string > | tableNames |
| List of tables to query. More... | |
| std::map< std::string, std::string > | options |
| Optional parameters. More... | |
A set of parameters for GPUdb::checkTable.
Scans the requested tables as specified in tableNames for integrity. Any table chunks which fail the check will be marked as corrupt. By default the database will automatically repair corrupt tables (via truncating). Note that since this reads every table column from disk it may be a potentially long-running operation. The option local_only can be used to skip any table files already written to a remote storage. Returns table corruption results.
Definition at line 24 of file check_table.h.
|
inline |
Constructs a CheckTableRequest object with default parameters.
Definition at line 29 of file check_table.h.
|
inline |
Constructs a CheckTableRequest object with the specified parameters.
| [in] | tableNames_ | List of tables to query. An asterisk returns all tables. |
| [in] | options_ | Optional parameters.
|
Definition at line 74 of file check_table.h.
| std::map<std::string, std::string> gpudb::CheckTableRequest::options |
Optional parameters.
The default value is an empty map.
Definition at line 111 of file check_table.h.
| std::vector<std::string> gpudb::CheckTableRequest::tableNames |
List of tables to query.
An asterisk returns all tables.
Definition at line 83 of file check_table.h.