Kinetica C# API  Version 6.1.0.0
AggregateStatisticsByRange.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 
42  {
43 
76  public struct Options
77  {
78 
82  public const string ADDITIONAL_COLUMN_NAMES = "additional_column_names";
83 
87  public const string BIN_VALUES = "bin_values";
88 
91  public const string WEIGHT_COLUMN_NAME = "weight_column_name";
92 
95  public const string ORDER_COLUMN_NAME = "order_column_name";
96  } // end struct Options
97 
98 
101  public string table_name { get; set; }
102 
105  public string select_expression { get; set; } = "";
106 
109  public string column_name { get; set; }
110 
113  public string value_column_name { get; set; }
114 
118  public string stats { get; set; }
119 
121  public double start { get; set; }
122 
124  public double end { get; set; }
125 
129  public double interval { get; set; }
130 
161  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
162 
163 
167 
222  string select_expression,
223  string column_name,
224  string value_column_name,
225  string stats,
226  double start,
227  double end,
228  double interval,
229  IDictionary<string, string> options = null)
230  {
231  this.table_name = table_name ?? "";
232  this.select_expression = select_expression ?? "";
233  this.column_name = column_name ?? "";
234  this.value_column_name = value_column_name ?? "";
235  this.stats = stats ?? "";
236  this.start = start;
237  this.end = end;
238  this.interval = interval;
239  this.options = options ?? new Dictionary<string, string>();
240  } // end constructor
241 
242  } // end class AggregateStatisticsByRangeRequest
243 
244 
245 
250  {
251 
256  public IDictionary<string, IList<double>> stats { get; set; } = new Dictionary<string, IList<double>>();
257 
258  } // end class AggregateStatisticsByRangeResponse
259 
260 
261 
262 
263 } // end namespace kinetica
const string WEIGHT_COLUMN_NAME
Name of the column used as weighting column for the weighted_average statistic.
const string ADDITIONAL_COLUMN_NAMES
A list of comma separated value-column names over which statistics can be accumulated along with the ...
IDictionary< string, string > options
Map of optional parameters: ADDITIONAL_COLUMN_NAMES: A list of comma separated value-column names ove...
AggregateStatisticsByRangeRequest()
Constructs an AggregateStatisticsByRangeRequest object with default parameters.
double start
The lower bound of the binning-column.
const string BIN_VALUES
A list of comma separated binning-column values.
string column_name
Name of the binning-column used to divide the set samples into bins.
A set of parameters for Kinetica.aggregateStatisticsByRange(string,string,string,string,string,double,double,double,IDictionary<string, string>).
string stats
A string of comma separated list of the statistics to calculate, e.g.
string value_column_name
Name of the value-column for which statistics are to be computed.
AggregateStatisticsByRangeRequest(string table_name, string select_expression, string column_name, string value_column_name, string stats, double start, double end, double interval, IDictionary< string, string > options=null)
Constructs an AggregateStatisticsByRangeRequest object with the specified parameters.
string select_expression
For a non-empty expression statistics are calculated for those records for which the expression is tr...
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
Map of optional parameters: ADDITIONAL_COLUMN_NAMES: A list of comma separated value-column names ove...
A set of results returned by Kinetica.aggregateStatisticsByRange(string,string,string,string,string,double,double,double,IDictionary<string, string>).
string table_name
Name of the table on which the ranged-statistics operation will be performed.
double end
The upper bound of the binning-column.
const string ORDER_COLUMN_NAME
Name of the column used for candlestick charting techniques.