6 #ifndef __SHOW_BACKUP_H__ 7 #define __SHOW_BACKUP_H__ 29 options(std::map<std::string, std::string>())
92 ShowBackupRequest(
const std::string& backupName_,
const std::string& datasourceName_,
const std::map<std::string, std::string>& options_):
154 template<>
struct codec_traits<
gpudb::ShowBackupRequest>
165 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
167 const std::vector<size_t> fo = rd->fieldOrder();
169 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
214 backupIds(std::vector<std::map<std::string, std::string> >()),
215 backupContents(std::vector<std::map<std::string, std::string> >()),
217 info(std::map<std::string, std::string>())
235 std::vector<std::map<std::string, std::string> >
backupIds;
256 std::map<std::string, std::string>
info;
262 template<>
struct codec_traits<
gpudb::ShowBackupResponse>
271 ::avro::encode(e, v.
info);
276 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
278 const std::vector<size_t> fo = rd->fieldOrder();
280 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
305 ::avro::decode(d, v.
info);
320 ::avro::decode(d, v.
info);
326 #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).