Kinetica C# API  Version 6.2.0.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 
10 
11 namespace kinetica
12 {
13 
33  {
34 
48  public struct Options
49  {
50 
54  public const string VALUE_COLUMN = "value_column";
55  } // end struct Options
56 
57 
60  public string table_name { get; set; }
61 
64  public string column_name { get; set; }
65 
68  public double start { get; set; }
69 
72  public double end { get; set; }
73 
76  public double interval { get; set; }
77 
89  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
90 
91 
95 
124  string column_name,
125  double start,
126  double end,
127  double interval,
128  IDictionary<string, string> options = null)
129  {
130  this.table_name = table_name ?? "";
131  this.column_name = column_name ?? "";
132  this.start = start;
133  this.end = end;
134  this.interval = interval;
135  this.options = options ?? new Dictionary<string, string>();
136  } // end constructor
137 
138  } // end class AggregateHistogramRequest
139 
140 
141 
146  {
147 
150  public IList<double> counts { get; set; } = new List<double>();
151 
154  public double start { get; set; }
155 
158  public double end { get; set; }
159 
160  } // end class AggregateHistogramResponse
161 
162 
163 
164 
165 } // 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.