6 #ifndef __DROP_BACKUP_H__ 7 #define __DROP_BACKUP_H__ 29 options(std::map<std::string, std::string>())
97 DropBackupRequest(
const std::string& backupName_,
const std::string& datasinkName_,
const std::map<std::string, std::string>& options_):
160 template<>
struct codec_traits<
gpudb::DropBackupRequest>
171 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
173 const std::vector<size_t> fo = rd->fieldOrder();
175 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
220 info(std::map<std::string, std::string>())
237 std::map<std::string, std::string>
info;
243 template<>
struct codec_traits<
gpudb::DropBackupResponse>
249 ::avro::encode(e, v.
info);
254 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
256 const std::vector<size_t> fo = rd->fieldOrder();
258 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
271 ::avro::decode(d, v.
info);
283 ::avro::decode(d, v.
info);
289 #endif // __DROP_BACKUP_H__ std::string backupName
Value of backupName.
std::map< std::string, std::string > info
Additional information.
A set of results returned by GPUdb::dropBackup.
std::string backupName
Name of the backup to be deleted.
std::vector< std::string > backupNames
Names of backups that were deleted.
DropBackupRequest()
Constructs a DropBackupRequest object with default parameters.
std::string datasinkName
Data sink through which the backup is accessible.
DropBackupResponse()
Constructs a DropBackupResponse object with default parameters.
A set of parameters for GPUdb::dropBackup.
std::map< std::string, std::string > options
Optional parameters.
DropBackupRequest(const std::string &backupName_, const std::string &datasinkName_, const std::map< std::string, std::string > &options_)
Constructs a DropBackupRequest object with the specified parameters.