6 #ifndef __AGGREGATE_UNIQUE_H__ 7 #define __AGGREGATE_UNIQUE_H__ 9 #include "../GenericRecord.hpp" 63 options(std::map<std::string, std::string>())
154 AggregateUniqueRequest(
const std::string& tableName_,
const std::string& columnName_,
const int64_t offset_,
const int64_t limit_,
const std::map<std::string, std::string>& options_):
262 AggregateUniqueRequest(
const std::string& tableName_,
const std::string& columnName_,
const int64_t offset_,
const int64_t limit_,
const std::string& encoding_,
const std::map<std::string, std::string>& options_):
289 ::avro::encode(e, v.
offset);
290 ::avro::encode(e, v.
limit);
297 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
299 const std::vector<size_t> fo = rd->fieldOrder();
301 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
314 ::avro::decode(d, v.
offset);
318 ::avro::decode(d, v.
limit);
338 ::avro::decode(d, v.
offset);
339 ::avro::decode(d, v.
limit);
395 responseSchemaStr(std::string()),
396 binaryEncodedResponse(std::vector<uint8_t>()),
397 jsonEncodedResponse(std::string()),
398 hasMoreRecords(bool())
425 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
427 const std::vector<size_t> fo = rd->fieldOrder();
429 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
518 responseSchemaStr(std::string()),
520 hasMoreRecords(bool())
526 std::vector<gpudb::GenericRecord>
data;
std::string responseSchemaStr
AggregateUniqueRequest()
Constructs an AggregateUniqueRequest object with default parameter values.
std::vector< gpudb::GenericRecord > data
std::string responseSchemaStr
A set of input parameters for aggregateUniqueRaw(const AggregateUniqueRequest&) const.
A set of output parameters for aggregateUnique(const AggregateUniqueRequest&) const.
AggregateUniqueResponse()
Constructs an AggregateUniqueResponse object with default parameter values.
std::string jsonEncodedResponse
RawAggregateUniqueResponse()
Constructs a RawAggregateUniqueResponse object with default parameter values.
AggregateUniqueRequest(const std::string &tableName_, const std::string &columnName_, const int64_t offset_, const int64_t limit_, const std::string &encoding_, const std::map< std::string, std::string > &options_)
Constructs an AggregateUniqueRequest object with the specified parameters.
std::map< std::string, std::string > options
std::vector< uint8_t > binaryEncodedResponse
A set of output parameters for aggregateUniqueRaw(const AggregateUniqueRequest&) const.
AggregateUniqueRequest(const std::string &tableName_, const std::string &columnName_, const int64_t offset_, const int64_t limit_, const std::map< std::string, std::string > &options_)
Constructs an AggregateUniqueRequest object with the specified parameters.