GPUdb C++ API
Version 6.2.0.3
|
A set of output parameters for aggregateHistogram(const AggregateHistogramRequest&) const. More...
#include <gpudb/protocol/aggregate_histogram.h>
Public Member Functions | |
AggregateHistogramResponse () | |
Constructs an AggregateHistogramResponse object with default parameter values. More... | |
Public Attributes | |
std::vector< double > | counts |
double | start |
double | end |
A set of output parameters for aggregateHistogram(const AggregateHistogramRequest&) const.
Performs a histogram calculation given a table, a column, and an interval function. The interval is used to produce bins of that size and the result, computed over the records falling within each bin, is returned. For each bin, the start value is inclusive, but the end value is exclusive–except for the very last bin for which the end value is also inclusive. The value returned for each bin is the number of records in it, except when a column name is provided as a value_column. In this latter case the sum of the values corresponding to the value_column is used as the result instead. The total number of bins requested cannot exceed 10,000.
NOTE: The Kinetica instance being accessed must be running a CUDA (GPU-based) build to service a request that specifies a value_column option.
Definition at line 182 of file aggregate_histogram.h.
|
inline |
Constructs an AggregateHistogramResponse object with default parameter values.
Definition at line 189 of file aggregate_histogram.h.
std::vector<double> gpudb::AggregateHistogramResponse::counts |
Definition at line 196 of file aggregate_histogram.h.
double gpudb::AggregateHistogramResponse::end |
Definition at line 198 of file aggregate_histogram.h.
double gpudb::AggregateHistogramResponse::start |
Definition at line 197 of file aggregate_histogram.h.