Kinetica   C#   API  Version 7.2.3.0
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  public class AggregateHistogramRequest : KineticaData
30  {
34  public struct Options
35  {
40  public const string VALUE_COLUMN = "value_column";
41 
43  public const string START = "start";
44 
46  public const string END = "end";
47 
49  public const string INTERVAL = "interval";
50  } // end struct Options
51 
58  public string table_name { get; set; }
59 
62  public string column_name { get; set; }
63 
66  public double start { get; set; }
67 
70  public double end { get; set; }
71 
74  public double interval { get; set; }
75 
102  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
103 
107 
152  string column_name,
153  double start,
154  double end,
155  double interval,
156  IDictionary<string, string> options = null)
157  {
158  this.table_name = table_name ?? "";
159  this.column_name = column_name ?? "";
160  this.start = start;
161  this.end = end;
162  this.interval = interval;
163  this.options = options ?? new Dictionary<string, string>();
164  } // end constructor
165  } // end class AggregateHistogramRequest
166 
170  public class AggregateHistogramResponse : KineticaData
171  {
174  public IList<double> counts { get; set; } = new List<double>();
175 
178  public double start { get; set; }
179 
182  public double end { get; set; }
183 
185  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
186  } // end class AggregateHistogramResponse
187 } // end namespace kinetica
double interval
The size of each bin within the start and end parameters.
IDictionary< string, string > options
Optional parameters.
double end
Upper end value of the histogram interval, inclusive.
AggregateHistogramRequest()
Constructs an AggregateHistogramRequest object with default parameters.
const string VALUE_COLUMN
The name of the column to use when calculating the bin values (values are summed).
const string END
The end parameter for char types.
IList< double > counts
The array of calculated values that represents the histogram data points.
double start
Lower end value of the histogram interval, inclusive.
const string START
The start parameter for char types.
string table_name
Name of the table on which the operation will be performed.
const string INTERVAL
The interval parameter for char types.
string column_name
Name of a column or an expression of one or more column names over which the histogram will be calcul...
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.
IDictionary< string, string > info
Additional information.