6 #ifndef __GET_RECORDS_BY_COLUMN_H__ 7 #define __GET_RECORDS_BY_COLUMN_H__ 9 #include "../GenericRecord.hpp" 49 options(std::map<std::string, std::string>())
90 columnNames(columnNames),
138 tableName(tableName),
139 columnNames(columnNames),
164 ::avro::encode(e, v.
offset);
165 ::avro::encode(e, v.
limit);
172 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
174 const std::vector<size_t> fo = rd->fieldOrder();
176 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
189 ::avro::decode(d, v.
offset);
193 ::avro::decode(d, v.
limit);
213 ::avro::decode(d, v.
offset);
214 ::avro::decode(d, v.
limit);
256 responseSchemaStr(std::string()),
257 binaryEncodedResponse(std::vector<uint8_t>()),
258 jsonEncodedResponse(std::string()),
259 totalNumberOfRecords(int64_t()),
260 hasMoreRecords(bool())
289 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
291 const std::vector<size_t> fo = rd->fieldOrder();
293 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
373 responseSchemaStr(std::string()),
375 totalNumberOfRecords(int64_t()),
376 hasMoreRecords(bool())
382 std::vector<gpudb::GenericRecord>
data;
A set of output parameters for getRecordsByColumn(const GetRecordsByColumnRequest&) const...
GetRecordsByColumnRequest()
Constructs a GetRecordsByColumnRequest object with default parameter values.
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
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.
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