6 #ifndef __GET_RECORDS_H__ 7 #define __GET_RECORDS_H__ 39 options(std::map<std::string, std::string>())
95 GetRecordsRequest(
const std::string& tableName_,
const int64_t offset_,
const int64_t limit_,
const std::map<std::string, std::string>& options_):
164 GetRecordsRequest(
const std::string& tableName_,
const int64_t offset_,
const int64_t limit_,
const std::string& encoding_,
const std::map<std::string, std::string>& options_):
188 ::avro::encode(e, v.
offset);
189 ::avro::encode(e, v.
limit);
196 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
198 const std::vector<size_t> fo = rd->fieldOrder();
200 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
209 ::avro::decode(d, v.
offset);
213 ::avro::decode(d, v.
limit);
232 ::avro::decode(d, v.
offset);
233 ::avro::decode(d, v.
limit);
269 typeName(std::string()),
270 typeSchema(std::string()),
271 recordsBinary(std::vector<std::vector<uint8_t> >()),
272 recordsJson(std::vector<std::string>()),
273 totalNumberOfRecords(int64_t()),
274 hasMoreRecords(bool())
305 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
307 const std::vector<size_t> fo = rd->fieldOrder();
309 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
391 typeName(std::string()),
392 typeSchema(std::string()),
393 data(std::vector<T>()),
394 totalNumberOfRecords(int64_t()),
395 hasMoreRecords(bool())
GetRecordsRequest()
Constructs a GetRecordsRequest object with default parameter values.
GetRecordsRequest(const std::string &tableName_, const int64_t offset_, const int64_t limit_, const std::string &encoding_, const std::map< std::string, std::string > &options_)
Constructs a GetRecordsRequest object with the specified parameters.
RawGetRecordsResponse()
Constructs a RawGetRecordsResponse object with default parameter values.
A set of output parameters for getRecordsRaw(const GetRecordsRequest&) const.
int64_t totalNumberOfRecords
A set of output parameters for getRecords(const GetRecordsRequest&) const.
GetRecordsResponse()
Constructs a GetRecordsResponse object with default parameter values.
std::vector< std::string > recordsJson
A set of input parameters for getRecordsRaw(const GetRecordsRequest&) const.
std::map< std::string, std::string > options
int64_t totalNumberOfRecords
GetRecordsRequest(const std::string &tableName_, const int64_t offset_, const int64_t limit_, const std::map< std::string, std::string > &options_)
Constructs a GetRecordsRequest object with the specified parameters.
std::vector< std::vector< uint8_t > > recordsBinary