6 #ifndef __GET_RECORDS_FROM_COLLECTION_H__ 7 #define __GET_RECORDS_FROM_COLLECTION_H__ 38 options(std::map<std::string, std::string>())
108 tableName(tableName),
131 ::avro::encode(e, v.
offset);
132 ::avro::encode(e, v.
limit);
139 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
141 const std::vector<size_t> fo = rd->fieldOrder();
143 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
152 ::avro::decode(d, v.
offset);
156 ::avro::decode(d, v.
limit);
175 ::avro::decode(d, v.
offset);
176 ::avro::decode(d, v.
limit);
210 typeNames(std::vector<std::string>()),
211 recordsBinary(std::vector<std::vector<uint8_t> >()),
212 recordsJson(std::vector<std::string>()),
213 recordIds(std::vector<std::string>())
240 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
242 const std::vector<size_t> fo = rd->fieldOrder();
244 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
314 typeNames(std::vector<std::string>()),
315 data(std::vector<T>()),
316 recordIds(std::vector<std::string>())
std::vector< std::string > typeNames
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.
RawGetRecordsFromCollectionResponse()
Constructs a RawGetRecordsFromCollectionResponse object with default parameter values.
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()
Constructs a GetRecordsFromCollectionRequest object with default parameter values.
GetRecordsFromCollectionResponse()
Constructs a GetRecordsFromCollectionResponse object with default parameter values.
std::vector< std::vector< uint8_t > > recordsBinary
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.
std::map< std::string, std::string > options