6 #ifndef __INSERT_RECORDS_RANDOM_H__
7 #define __INSERT_RECORDS_RANDOM_H__
40 options(std::map<std::string, std::map<std::string, double> >())
278 InsertRecordsRandomRequest(
const std::string& tableName_,
const int64_t count_,
const std::map<std::string, std::map<std::string, double> >& options_):
287 std::map<std::string, std::map<std::string, double> >
options;
293 template<>
struct codec_traits<gpudb::InsertRecordsRandomRequest>
298 ::avro::encode(e, v.
count);
304 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
306 const std::vector<size_t> fo = rd->fieldOrder();
308 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
317 ::avro::decode(d, v.
count);
332 ::avro::decode(d, v.
count);
370 info(std::map<std::string, std::string>())
376 std::map<std::string, std::string>
info;
382 template<>
struct codec_traits<gpudb::InsertRecordsRandomResponse>
387 ::avro::encode(e, v.
count);
388 ::avro::encode(e, v.
info);
393 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
395 const std::vector<size_t> fo = rd->fieldOrder();
397 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
406 ::avro::decode(d, v.
count);
410 ::avro::decode(d, v.
info);
421 ::avro::decode(d, v.
count);
422 ::avro::decode(d, v.
info);
InsertRecordsRandomRequest()
Constructs an InsertRecordsRandomRequest object with default parameter values.
InsertRecordsRandomRequest(const std::string &tableName_, const int64_t count_, const std::map< std::string, std::map< std::string, double > > &options_)
Constructs an InsertRecordsRandomRequest object with the specified parameters.
std::map< std::string, std::string > info
A set of output parameters for const.
std::map< std::string, std::map< std::string, double > > options
InsertRecordsRandomResponse()
Constructs an InsertRecordsRandomResponse object with default parameter values.
A set of input parameters for const.