6 #ifndef __GET_RECORDS_BY_COLUMN_H__ 7 #define __GET_RECORDS_BY_COLUMN_H__ 9 #include "../GenericRecord.hpp" 51 options(std::map<std::string, std::string>())
114 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_):
192 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_):
219 ::avro::encode(e, v.
offset);
220 ::avro::encode(e, v.
limit);
227 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
229 const std::vector<size_t> fo = rd->fieldOrder();
231 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
244 ::avro::decode(d, v.
offset);
248 ::avro::decode(d, v.
limit);
268 ::avro::decode(d, v.
offset);
269 ::avro::decode(d, v.
limit);
313 responseSchemaStr(std::string()),
314 binaryEncodedResponse(std::vector<uint8_t>()),
315 jsonEncodedResponse(std::string()),
316 totalNumberOfRecords(int64_t()),
317 hasMoreRecords(bool())
346 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
348 const std::vector<size_t> fo = rd->fieldOrder();
350 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
432 responseSchemaStr(std::string()),
434 totalNumberOfRecords(int64_t()),
435 hasMoreRecords(bool()),
442 std::vector<gpudb::GenericRecord>
data;
boost::shared_ptr< Type > gpudb_type_ptr_t
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.
gpudb_type_ptr_t dataTypePtr
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