Kinetica C# API  Version 7.1.10.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
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 
38  {
39 
53  public struct Options
54  {
55 
59  public const string VALUE_COLUMN = "value_column";
60  } // end struct Options
61 
62 
68  public string table_name { get; set; }
69 
72  public string column_name { get; set; }
73 
76  public double start { get; set; }
77 
80  public double end { get; set; }
81 
84  public double interval { get; set; }
85 
97  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
98 
99 
103 
134  string column_name,
135  double start,
136  double end,
137  double interval,
138  IDictionary<string, string> options = null)
139  {
140  this.table_name = table_name ?? "";
141  this.column_name = column_name ?? "";
142  this.start = start;
143  this.end = end;
144  this.interval = interval;
145  this.options = options ?? new Dictionary<string, string>();
146  } // end constructor
147 
148  } // end class AggregateHistogramRequest
149 
150 
151 
156  {
157 
160  public IList<double> counts { get; set; } = new List<double>();
161 
164  public double start { get; set; }
165 
168  public double end { get; set; }
169 
171  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
172 
173  } // end class AggregateHistogramResponse
174 
175 
176 
177 
178 } // 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.
IList< double > counts
The array of calculated values that represents the histogram data points.
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.
IDictionary< string, string > info
Additional information.