6 #ifndef __GET_RECORDS_H__ 7 #define __GET_RECORDS_H__ 42 options(std::map<std::string, std::string>())
121 tableName(tableName),
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)
165 ::avro::decode(d, v.
offset);
169 ::avro::decode(d, v.
limit);
188 ::avro::decode(d, v.
offset);
189 ::avro::decode(d, v.
limit);
228 typeName(std::string()),
229 typeSchema(std::string()),
230 recordsBinary(std::vector<std::vector<uint8_t> >()),
231 recordsJson(std::vector<std::string>()),
232 totalNumberOfRecords(int64_t()),
233 hasMoreRecords(bool())
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)
353 typeName(std::string()),
354 typeSchema(std::string()),
355 data(std::vector<T>()),
356 totalNumberOfRecords(int64_t()),
357 hasMoreRecords(bool())
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.
GetRecordsRequest()
Constructs a GetRecordsRequest object with default parameter values.
RawGetRecordsResponse()
Constructs a RawGetRecordsResponse object with default parameter values.
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.
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
std::vector< std::vector< uint8_t > > recordsBinary