6 #ifndef __SHOW_BACKUP_H__ 7 #define __SHOW_BACKUP_H__ 26 options(std::map<std::string, std::string>())
86 ShowBackupRequest(
const std::string& backupName_,
const std::string& datasourceName_,
const std::map<std::string, std::string>& options_):
147 template<>
struct codec_traits<
gpudb::ShowBackupRequest>
158 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
160 const std::vector<size_t> fo = rd->fieldOrder();
162 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
207 backupIds(std::vector<std::map<std::string, std::string> >()),
208 backupContents(std::vector<std::map<std::string, std::string> >()),
210 info(std::map<std::string, std::string>())
227 std::vector<std::map<std::string, std::string> >
backupIds;
242 std::map<std::string, std::string>
info;
248 template<>
struct codec_traits<
gpudb::ShowBackupResponse>
257 ::avro::encode(e, v.
info);
262 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
264 const std::vector<size_t> fo = rd->fieldOrder();
266 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
291 ::avro::decode(d, v.
info);
306 ::avro::decode(d, v.
info);
312 #endif // __SHOW_BACKUP_H__
std::vector< std::map< std::string, std::string > > backupDescription
Backup description.
std::vector< std::map< std::string, std::string > > deletedBackupIds
Backup instances that have been deleted from this backup object.
std::vector< std::map< std::string, std::string > > backupContents
Backup contents.
std::string backupName
Value of backupName.
std::map< std::string, std::string > options
Optional parameters.
std::string datasourceName
Datasource where backup is located.
ShowBackupRequest()
Constructs a ShowBackupRequest object with default parameters.
std::string backupName
Name of the backup object.
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
Backup instances in this backup.