Kinetica C# API  Version 6.0.1.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 
27  {
28 
41  public struct Options
42  {
43 
47  public const string VALUE_COLUMN = "value_column";
48  } // end struct Options
49 
50 
53  public string table_name { get; set; }
54 
57  public string column_name { get; set; }
58 
61  public double start { get; set; }
62 
65  public double end { get; set; }
66 
69  public double interval { get; set; }
70 
81  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
82 
83 
87 
115  string column_name,
116  double start,
117  double end,
118  double interval,
119  IDictionary<string, string> options = null)
120  {
121  this.table_name = table_name ?? "";
122  this.column_name = column_name ?? "";
123  this.start = start;
124  this.end = end;
125  this.interval = interval;
126  this.options = options ?? new Dictionary<string, string>();
127  } // end constructor
128 
129  } // end class AggregateHistogramRequest
130 
131 
132 
135  {
136 
139  public IList<double> counts { get; set; } = new List<double>();
140 
143  public double start { get; set; }
144 
147  public double end { get; set; }
148 
149  } // end class AggregateHistogramResponse
150 
151 
152 
153 
154 } // 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 /aggregate/histogram.
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 /aggregate/histogram.
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.