6 #ifndef __DELETE_FILES_H__ 7 #define __DELETE_FILES_H__ 26 options(std::map<std::string, std::string>())
62 DeleteFilesRequest(
const std::vector<std::string>& fileNames_,
const std::map<std::string, std::string>& options_):
95 std::map<std::string, std::string>
options;
101 template<>
struct codec_traits<
gpudb::DeleteFilesRequest>
111 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
113 const std::vector<size_t> fo = rd->fieldOrder();
115 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
155 info(std::map<std::string, std::string>())
167 std::map<std::string, std::string>
info;
173 template<>
struct codec_traits<
gpudb::DeleteFilesResponse>
178 ::avro::encode(e, v.
info);
183 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
185 const std::vector<size_t> fo = rd->fieldOrder();
187 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
196 ::avro::decode(d, v.
info);
207 ::avro::decode(d, v.
info);
213 #endif // __DELETE_FILES_H__
std::vector< std::string > fileNames
Names of the files deleted from KiFS.
A set of parameters for GPUdb::deleteFiles.
DeleteFilesRequest()
Constructs a DeleteFilesRequest object with default parameters.
DeleteFilesResponse()
Constructs a DeleteFilesResponse object with default parameters.
std::map< std::string, std::string > info
Additional information.
DeleteFilesRequest(const std::vector< std::string > &fileNames_, const std::map< std::string, std::string > &options_)
Constructs a DeleteFilesRequest object with the specified parameters.
std::vector< std::string > fileNames
An array of names of files to be deleted.
A set of results returned by GPUdb::deleteFiles.
std::map< std::string, std::string > options
Optional parameters.