6 #ifndef __GET_RECORDS_FROM_COLLECTION_H__ 7 #define __GET_RECORDS_FROM_COLLECTION_H__ 38 options(std::map<std::string, std::string>())
129 GetRecordsFromCollectionRequest(
const std::string& tableName_,
const int64_t offset_,
const int64_t limit_,
const std::string& encoding_,
const std::map<std::string, std::string>& options_):
153 ::avro::encode(e, v.
offset);
154 ::avro::encode(e, v.
limit);
161 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
163 const std::vector<size_t> fo = rd->fieldOrder();
165 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
174 ::avro::decode(d, v.
offset);
178 ::avro::decode(d, v.
limit);
197 ::avro::decode(d, v.
offset);
198 ::avro::decode(d, v.
limit);
232 typeNames(std::vector<std::string>()),
233 recordsBinary(std::vector<std::vector<uint8_t> >()),
234 recordsJson(std::vector<std::string>()),
235 recordIds(std::vector<std::string>())
262 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
264 const std::vector<size_t> fo = rd->fieldOrder();
266 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
336 typeNames(std::vector<std::string>()),
337 data(std::vector<T>()),
338 recordIds(std::vector<std::string>())
std::vector< std::string > typeNames
RawGetRecordsFromCollectionResponse()
Constructs a RawGetRecordsFromCollectionResponse object with default parameter values.
GetRecordsFromCollectionRequest(const std::string &tableName_, const int64_t offset_, const int64_t limit_, const std::map< std::string, std::string > &options_)
Constructs a GetRecordsFromCollectionRequest object with the specified parameters.
std::vector< std::string > recordsJson
std::vector< std::string > recordIds
std::vector< std::string > recordIds
std::vector< std::string > typeNames
A set of output parameters for getRecordsFromCollection(const GetRecordsFromCollectionRequest&) const...
A set of input parameters for getRecordsFromCollectionRaw(const GetRecordsFromCollectionRequest&) con...
A set of output parameters for getRecordsFromCollectionRaw(const GetRecordsFromCollectionRequest&) co...
GetRecordsFromCollectionRequest(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 GetRecordsFromCollectionRequest object with the specified parameters.
GetRecordsFromCollectionRequest()
Constructs a GetRecordsFromCollectionRequest object with default parameter values.
GetRecordsFromCollectionResponse()
Constructs a GetRecordsFromCollectionResponse object with default parameter values.
std::vector< std::vector< uint8_t > > recordsBinary
std::map< std::string, std::string > options