6 #ifndef __ADMIN_VERIFY_DB_H__ 7 #define __ADMIN_VERIFY_DB_H__ 26 options(std::map<std::string, std::string>())
307 template<>
struct codec_traits<
gpudb::AdminVerifyDbRequest>
316 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
318 const std::vector<size_t> fo = rd->fieldOrder();
320 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
357 info(std::map<std::string, std::string>())
388 std::map<std::string, std::string>
info;
394 template<>
struct codec_traits<
gpudb::AdminVerifyDbResponse>
401 ::avro::encode(e, v.
info);
406 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
408 const std::vector<size_t> fo = rd->fieldOrder();
410 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
427 ::avro::decode(d, v.
info);
440 ::avro::decode(d, v.
info);
446 #endif // __ADMIN_VERIFY_DB_H__
A set of results returned by GPUdb::adminVerifyDb.
bool verifiedOk
True if no errors were found, false otherwise.
AdminVerifyDbResponse()
Constructs an AdminVerifyDbResponse object with default parameters.
AdminVerifyDbRequest(const std::map< std::string, std::string > &options_)
Constructs an AdminVerifyDbRequest object with the specified parameters.
A set of parameters for GPUdb::adminVerifyDb.
std::vector< std::string > errorList
List of errors found while validating the database internal state.
std::map< std::string, std::string > options
Optional parameters.
std::map< std::string, std::string > info
Additional information.
AdminVerifyDbRequest()
Constructs an AdminVerifyDbRequest object with default parameters.
int64_t orphanedTablesTotalSize
If verify_persist is true, verify_orphaned_tables_only is true or delete_orphaned_tables is true,...