GPUdb C++ API  Version 6.0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
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
 

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 options. In this latter case the sum of the values corresponding to the value_column is used as the result instead.

Definition at line 172 of file aggregate_histogram.h.

Constructor & Destructor Documentation

gpudb::AggregateHistogramResponse::AggregateHistogramResponse ( )
inline

Constructs an AggregateHistogramResponse object with default parameter values.

Definition at line 179 of file aggregate_histogram.h.

Member Data Documentation

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

Definition at line 186 of file aggregate_histogram.h.

double gpudb::AggregateHistogramResponse::end

Definition at line 188 of file aggregate_histogram.h.

double gpudb::AggregateHistogramResponse::start

Definition at line 187 of file aggregate_histogram.h.


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