6 #ifndef __UPLOAD_FILES_H__
7 #define __UPLOAD_FILES_H__
93 fileData(std::vector<std::vector<uint8_t> >()),
94 options(std::map<std::string, std::string>())
173 UploadFilesRequest(
const std::vector<std::string>& fileNames_,
const std::vector<std::vector<uint8_t> >& fileData_,
const std::map<std::string, std::string>& options_):
188 template<>
struct codec_traits<gpudb::UploadFilesRequest>
199 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
201 const std::vector<size_t> fo = rd->fieldOrder();
203 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
317 info(std::map<std::string, std::string>())
321 std::map<std::string, std::string>
info;
327 template<>
struct codec_traits<gpudb::UploadFilesResponse>
331 ::avro::encode(e, v.
info);
336 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
338 const std::vector<size_t> fo = rd->fieldOrder();
340 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
345 ::avro::decode(d, v.
info);
355 ::avro::decode(d, v.
info);
std::vector< std::string > fileNames
UploadFilesRequest()
Constructs an UploadFilesRequest object with default parameter values.
A set of output parameters for const.
std::map< std::string, std::string > info
std::map< std::string, std::string > options
UploadFilesRequest(const std::vector< std::string > &fileNames_, const std::vector< std::vector< uint8_t > > &fileData_, const std::map< std::string, std::string > &options_)
Constructs an UploadFilesRequest object with the specified parameters.
A set of input parameters for const.
std::vector< std::vector< uint8_t > > fileData
UploadFilesResponse()
Constructs an UploadFilesResponse object with default parameter values.