GPUdb C++ API  Version 7.0.19.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gpudb::AggregateHistogramResponse Struct Reference

A set of output parameters for 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
 
std::map< std::string,
std::string > 
info
 

Detailed Description

A set of output parameters for 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.

Constructor & Destructor Documentation

gpudb::AggregateHistogramResponse::AggregateHistogramResponse ( )
inline

Constructs an AggregateHistogramResponse object with default parameter values.

Definition at line 189 of file aggregate_histogram.h.

Member Data Documentation

std::vector<double> gpudb::AggregateHistogramResponse::counts

Definition at line 197 of file aggregate_histogram.h.

double gpudb::AggregateHistogramResponse::end

Definition at line 199 of file aggregate_histogram.h.

std::map<std::string, std::string> gpudb::AggregateHistogramResponse::info

Definition at line 200 of file aggregate_histogram.h.

double gpudb::AggregateHistogramResponse::start

Definition at line 198 of file aggregate_histogram.h.


The documentation for this struct was generated from the following file: