6 #ifndef __GET_RECORDS_BY_SERIES_H__
7 #define __GET_RECORDS_BY_SERIES_H__
42 options(std::map<std::string, std::string>())
72 GetRecordsBySeriesRequest(
const std::string& tableName_,
const std::string& worldTableName_,
const int32_t offset_,
const int32_t limit_,
const std::map<std::string, std::string>& options_):
117 GetRecordsBySeriesRequest(
const std::string& tableName_,
const std::string& worldTableName_,
const int32_t offset_,
const int32_t limit_,
const std::string& encoding_,
const std::map<std::string, std::string>& options_):
138 template<>
struct codec_traits<gpudb::GetRecordsBySeriesRequest>
144 ::avro::encode(e, v.
offset);
145 ::avro::encode(e, v.
limit);
152 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
154 const std::vector<size_t> fo = rd->fieldOrder();
156 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
169 ::avro::decode(d, v.
offset);
173 ::avro::decode(d, v.
limit);
193 ::avro::decode(d, v.
offset);
194 ::avro::decode(d, v.
limit);
235 info(std::map<std::string, std::string>())
244 std::map<std::string, std::string>
info;
250 template<>
struct codec_traits<gpudb::RawGetRecordsBySeriesResponse>
259 ::avro::encode(e, v.
info);
264 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
266 const std::vector<size_t> fo = rd->fieldOrder();
268 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
293 ::avro::decode(d, v.
info);
308 ::avro::decode(d, v.
info);
348 data(std::vector<std::vector<T> >()),
349 info(std::map<std::string, std::string>())
356 std::vector<std::vector<T> >
data;
357 std::map<std::string, std::string>
info;
RawGetRecordsBySeriesResponse()
Constructs a RawGetRecordsBySeriesResponse object with default parameter values.
std::map< std::string, std::string > options
A set of output parameters for const.
GetRecordsBySeriesResponse()
Constructs a GetRecordsBySeriesResponse object with default parameter values.
std::vector< std::string > typeSchemas
A set of input parameters for const.
std::vector< std::string > tableNames
GetRecordsBySeriesRequest(const std::string &tableName_, const std::string &worldTableName_, const int32_t offset_, const int32_t limit_, const std::string &encoding_, const std::map< std::string, std::string > &options_)
Constructs a GetRecordsBySeriesRequest object with the specified parameters.
A set of output parameters for const.
std::vector< std::vector< T > > data
std::vector< std::vector< std::string > > listRecordsJson
std::map< std::string, std::string > info
std::vector< std::string > typeNames
std::vector< std::vector< std::vector< uint8_t > > > listRecordsBinary
GetRecordsBySeriesRequest()
Constructs a GetRecordsBySeriesRequest object with default parameter values.
std::map< std::string, std::string > info
GetRecordsBySeriesRequest(const std::string &tableName_, const std::string &worldTableName_, const int32_t offset_, const int32_t limit_, const std::map< std::string, std::string > &options_)
Constructs a GetRecordsBySeriesRequest object with the specified parameters.
std::vector< std::string > typeSchemas
std::vector< std::string > tableNames
std::vector< std::string > typeNames
std::string worldTableName