6 #ifndef __DROP_BACKUP_H__ 7 #define __DROP_BACKUP_H__ 25 options(std::map<std::string, std::string>())
88 DropBackupRequest(
const std::string& backupName_,
const std::string& datasinkName_,
const std::map<std::string, std::string>& options_):
149 template<>
struct codec_traits<
gpudb::DropBackupRequest>
160 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
162 const std::vector<size_t> fo = rd->fieldOrder();
164 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
209 info(std::map<std::string, std::string>())
226 std::map<std::string, std::string>
info;
232 template<>
struct codec_traits<
gpudb::DropBackupResponse>
238 ::avro::encode(e, v.
info);
243 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
245 const std::vector<size_t> fo = rd->fieldOrder();
247 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
260 ::avro::decode(d, v.
info);
272 ::avro::decode(d, v.
info);
278 #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 object to be deleted.
std::vector< std::string > backupNames
Backups that were deleted.
DropBackupRequest()
Constructs a DropBackupRequest object with default parameters.
std::string datasinkName
Datasink where backup is stored.
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.