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 {
30  {
34  public struct Options
35  {
40  public const string VALUE_COLUMN = "value_column";
41  } // end struct Options
42 
49  public string table_name { get; set; }
50 
53  public string column_name { get; set; }
54 
57  public double start { get; set; }
58 
61  public double end { get; set; }
62 
65  public double interval { get; set; }
66 
78  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
79 
83 
113  string column_name,
114  double start,
115  double end,
116  double interval,
117  IDictionary<string, string> options = null)
118  {
119  this.table_name = table_name ?? "";
120  this.column_name = column_name ?? "";
121  this.start = start;
122  this.end = end;
123  this.interval = interval;
124  this.options = options ?? new Dictionary<string, string>();
125  } // end constructor
126  } // end class AggregateHistogramRequest
127 
132  {
135  public IList<double> counts { get; set; } = new List<double>();
136 
139  public double start { get; set; }
140 
143  public double end { get; set; }
144 
146  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
147  } // end class AggregateHistogramResponse
148 } // 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.
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.
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.
A set of string constants for the parameter options.
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.