6 #ifndef __GET_RECORDS_BY_COLUMN_H__ 7 #define __GET_RECORDS_BY_COLUMN_H__ 9 #include "../GenericRecord.hpp" 46 options(std::map<std::string, std::string>())
102 GetRecordsByColumnRequest(
const std::string& tableName_,
const std::vector<std::string>& columnNames_,
const int64_t offset_,
const int64_t limit_,
const std::map<std::string, std::string>& options_):
173 GetRecordsByColumnRequest(
const std::string& tableName_,
const std::vector<std::string>& columnNames_,
const int64_t offset_,
const int64_t limit_,
const std::string& encoding_,
const std::map<std::string, std::string>& options_):
200 ::avro::encode(e, v.
offset);
201 ::avro::encode(e, v.
limit);
208 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
210 const std::vector<size_t> fo = rd->fieldOrder();
212 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
225 ::avro::decode(d, v.
offset);
229 ::avro::decode(d, v.
limit);
249 ::avro::decode(d, v.
offset);
250 ::avro::decode(d, v.
limit);
289 responseSchemaStr(std::string()),
290 binaryEncodedResponse(std::vector<uint8_t>()),
291 jsonEncodedResponse(std::string()),
292 totalNumberOfRecords(int64_t()),
293 hasMoreRecords(bool())
322 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
324 const std::vector<size_t> fo = rd->fieldOrder();
326 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
403 responseSchemaStr(std::string()),
405 totalNumberOfRecords(int64_t()),
406 hasMoreRecords(bool())
412 std::vector<gpudb::GenericRecord>
data;
A set of output parameters for getRecordsByColumn(const GetRecordsByColumnRequest&) const...
GetRecordsByColumnRequest()
Constructs a GetRecordsByColumnRequest object with default parameter values.
GetRecordsByColumnRequest(const std::string &tableName_, const std::vector< std::string > &columnNames_, const int64_t offset_, const int64_t limit_, const std::string &encoding_, const std::map< std::string, std::string > &options_)
Constructs a GetRecordsByColumnRequest object with the specified parameters.
std::vector< gpudb::GenericRecord > data
GetRecordsByColumnResponse()
Constructs a GetRecordsByColumnResponse object with default parameter values.
int64_t totalNumberOfRecords
std::string jsonEncodedResponse
GetRecordsByColumnRequest(const std::string &tableName_, const std::vector< std::string > &columnNames_, const int64_t offset_, const int64_t limit_, const std::map< std::string, std::string > &options_)
Constructs a GetRecordsByColumnRequest object with the specified parameters.
std::vector< uint8_t > binaryEncodedResponse
A set of output parameters for getRecordsByColumnRaw(const GetRecordsByColumnRequest&) const...
RawGetRecordsByColumnResponse()
Constructs a RawGetRecordsByColumnResponse object with default parameter values.
std::vector< std::string > columnNames
int64_t totalNumberOfRecords
A set of input parameters for getRecordsByColumnRaw(const GetRecordsByColumnRequest&) const...
std::string responseSchemaStr
std::map< std::string, std::string > options
std::string responseSchemaStr