6 #ifndef __INSERT_RECORDS_RANDOM_H__
7 #define __INSERT_RECORDS_RANDOM_H__
36 options(std::map<std::string, std::map<std::string, double> >())
250 InsertRecordsRandomRequest(
const std::string& tableName_,
const int64_t count_,
const std::map<std::string, std::map<std::string, double> >& options_):
259 std::map<std::string, std::map<std::string, double> >
options;
265 template<>
struct codec_traits<gpudb::InsertRecordsRandomRequest>
270 ::avro::encode(e, v.
count);
276 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
278 const std::vector<size_t> fo = rd->fieldOrder();
280 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
289 ::avro::decode(d, v.
count);
304 ::avro::decode(d, v.
count);
348 template<>
struct codec_traits<gpudb::InsertRecordsRandomResponse>
353 ::avro::encode(e, v.
count);
358 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
360 const std::vector<size_t> fo = rd->fieldOrder();
362 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
371 ::avro::decode(d, v.
count);
382 ::avro::decode(d, v.
count);
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.
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.