GPUdb C++ API
Version 5.2.0.0
|
A set of output parameters for aggregateUniqueRaw(const AggregateUniqueRequest&) const. More...
#include <gpudb/protocol/aggregate_unique.h>
Public Member Functions | |
RawAggregateUniqueResponse () | |
Constructs a RawAggregateUniqueResponse object with default parameter values. More... | |
Public Attributes | |
std::string | tableName |
std::string | responseSchemaStr |
std::vector< uint8_t > | binaryEncodedResponse |
std::string | jsonEncodedResponse |
bool | hasMoreRecords |
A set of output parameters for aggregateUniqueRaw(const AggregateUniqueRequest&) const.
Returns all the unique values from a particular column (specified by columnName) of a particular table (specified by tableName). If columnName is a numeric column the values will be in binaryEncodedResponse. Otherwise if columnName is a string column the values will be in jsonEncodedResponse. offset and limit are used to page through the results if there are large numbers of unique values. To get the first 10 unique values sorted in descending order options would be::
{"limit":"10","sort_order":"descending"}.
The response is returned as a dynamic schema. For details see: dynamic schemas documentation. If the 'result_table' option is provided then the results are stored in a table with the name given in the option and the results are not returned in the response.
Definition at line 236 of file aggregate_unique.h.
|
inline |
Constructs a RawAggregateUniqueResponse object with default parameter values.
Definition at line 243 of file aggregate_unique.h.
std::vector<uint8_t> gpudb::RawAggregateUniqueResponse::binaryEncodedResponse |
Definition at line 254 of file aggregate_unique.h.
bool gpudb::RawAggregateUniqueResponse::hasMoreRecords |
Definition at line 256 of file aggregate_unique.h.
std::string gpudb::RawAggregateUniqueResponse::jsonEncodedResponse |
Definition at line 255 of file aggregate_unique.h.
std::string gpudb::RawAggregateUniqueResponse::responseSchemaStr |
Definition at line 253 of file aggregate_unique.h.
std::string gpudb::RawAggregateUniqueResponse::tableName |
Definition at line 252 of file aggregate_unique.h.