6 #ifndef __SHOW_BACKUP_H__ 7 #define __SHOW_BACKUP_H__ 29 options(std::map<std::string, std::string>())
117 ShowBackupRequest(
const std::string& backupName_,
const std::string& datasourceName_,
const std::map<std::string, std::string>& options_):
198 template<>
struct codec_traits<
gpudb::ShowBackupRequest>
209 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
211 const std::vector<size_t> fo = rd->fieldOrder();
213 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
258 backupIds(std::vector<std::map<std::string, std::string> >()),
259 backupContents(std::vector<std::map<std::string, std::string> >()),
261 info(std::map<std::string, std::string>())
279 std::vector<std::map<std::string, std::string> >
backupIds;
300 std::map<std::string, std::string>
info;
306 template<>
struct codec_traits<
gpudb::ShowBackupResponse>
315 ::avro::encode(e, v.
info);
320 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
322 const std::vector<size_t> fo = rd->fieldOrder();
324 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
349 ::avro::decode(d, v.
info);
364 ::avro::decode(d, v.
info);
370 #endif // __SHOW_BACKUP_H__
std::vector< std::map< std::string, std::string > > backupDescription
Details about the overall backup(s).
std::vector< std::map< std::string, std::string > > deletedBackupIds
IDs of any snapshots that have been deleted from the containing backup(s).
std::vector< std::map< std::string, std::string > > backupContents
When show_contents is object_names, the names of the backed-up objects as well as sizing detail of an...
std::string backupName
Value of backupName.
std::map< std::string, std::string > options
Optional parameters.
std::string datasourceName
Data source through which the backup is accessible.
ShowBackupRequest()
Constructs a ShowBackupRequest object with default parameters.
std::string backupName
Name of the backup.
A set of results returned by GPUdb::showBackup.
A set of parameters for GPUdb::showBackup.
ShowBackupResponse()
Constructs a ShowBackupResponse object with default parameters.
ShowBackupRequest(const std::string &backupName_, const std::string &datasourceName_, const std::map< std::string, std::string > &options_)
Constructs a ShowBackupRequest object with the specified parameters.
std::map< std::string, std::string > info
Additional information.
std::vector< std::map< std::string, std::string > > backupIds
Details about the individual snapshots contained within the backup(s).