Kinetica C# API  Version 6.1.0.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 
10 
11 namespace kinetica
12 {
13 
29  {
30 
44  public struct Options
45  {
46 
50  public const string VALUE_COLUMN = "value_column";
51  } // end struct Options
52 
53 
56  public string table_name { get; set; }
57 
60  public string column_name { get; set; }
61 
64  public double start { get; set; }
65 
68  public double end { get; set; }
69 
72  public double interval { get; set; }
73 
85  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
86 
87 
91 
120  string column_name,
121  double start,
122  double end,
123  double interval,
124  IDictionary<string, string> options = null)
125  {
126  this.table_name = table_name ?? "";
127  this.column_name = column_name ?? "";
128  this.start = start;
129  this.end = end;
130  this.interval = interval;
131  this.options = options ?? new Dictionary<string, string>();
132  } // end constructor
133 
134  } // end class AggregateHistogramRequest
135 
136 
137 
142  {
143 
146  public IList<double> counts { get; set; } = new List<double>();
147 
150  public double start { get; set; }
151 
154  public double end { get; set; }
155 
156  } // end class AggregateHistogramResponse
157 
158 
159 
160 
161 } // end namespace kinetica
double end
Upper end value of the histogram interval, inclusive.
string table_name
Name of the table on which the operation will be performed.
AggregateHistogramRequest()
Constructs an AggregateHistogramRequest object with default parameters.
A set of parameters for Kinetica.aggregateHistogram(string,string,double,double,double,IDictionary<string, string>).
const string VALUE_COLUMN
The name of the column to use when calculating the bin values (values are summed).
double start
Lower end value of the histogram interval, inclusive.
string column_name
Name of a column or an expression of one or more column names over which the histogram will be calcul...
IDictionary< string, string > options
Optional parameters.
A set of results returned by Kinetica.aggregateHistogram(string,string,double,double,double,IDictionary<string, string>).
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
double interval
The size of each bin within the start and end parameters.