Kinetica   C#   API  Version 7.2.3.1
AggregateHistogram.cs
Go to the documentation of this file.
1 /*
2  * This file was autogenerated by the Kinetica schema processor.
3  *
4  * DO NOT EDIT DIRECTLY.
5  */
6 
7 using System.Collections.Generic;
8 
9 namespace kinetica;
10 
29 {
33  public struct Options
34  {
39  public const string VALUE_COLUMN = "value_column";
40 
42  public const string START = "start";
43 
45  public const string END = "end";
46 
48  public const string INTERVAL = "interval";
49  } // end struct Options
50 
57  public string table_name { get; set; }
58 
61  public string column_name { get; set; }
62 
65  public double start { get; set; }
66 
69  public double end { get; set; }
70 
73  public double interval { get; set; }
74 
99  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
100 
104 
146  string column_name,
147  double start,
148  double end,
149  double interval,
150  IDictionary<string, string> options = null)
151  {
152  this.table_name = table_name ?? "";
153  this.column_name = column_name ?? "";
154  this.start = start;
155  this.end = end;
156  this.interval = interval;
157  this.options = options ?? new Dictionary<string, string>();
158  } // end constructor
159 } // end class AggregateHistogramRequest
160 
165 {
168  public IList<double> counts { get; set; } = new List<double>();
169 
172  public double start { get; set; }
173 
176  public double end { get; set; }
177 
179  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
180 } // end class AggregateHistogramResponse
double end
Upper end value of the histogram interval, inclusive.
const string VALUE_COLUMN
The name of the column to use when calculating the bin values (values are summed).
A set of string constants for the parameter options.
AggregateHistogramRequest(string table_name, string column_name, double start, double end, double interval, IDictionary< string, string > options=null)
Constructs an AggregateHistogramRequest object with the specified parameters.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
string column_name
Name of a column or an expression of one or more column names over which the histogram will be calcul...
A set of results returned by Kinetica.aggregateHistogram.
string table_name
Name of the table on which the operation will be performed.
IDictionary< string, string > info
Additional information.
const string END
The end parameter for char types.
double interval
The size of each bin within the start and end parameters.
const string INTERVAL
The interval parameter for char types.
double start
Lower end value of the histogram interval, inclusive.
IList< double > counts
The array of calculated values that represents the histogram data points.
const string START
The start parameter for char types.
AggregateHistogramRequest()
Constructs an AggregateHistogramRequest object with default parameters.
A set of parameters for Kinetica.aggregateHistogram.
double start
Value of start.
IDictionary< string, string > options
Optional parameters.