Kinetica   C#   API  Version 7.2.3.1
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 namespace kinetica;
10 
39 {
43  public struct Options
44  {
48  public const string ADDITIONAL_COLUMN_NAMES = "additional_column_names";
49 
53  public const string BIN_VALUES = "bin_values";
54 
57  public const string WEIGHT_COLUMN_NAME = "weight_column_name";
58 
61  public const string ORDER_COLUMN_NAME = "order_column_name";
62  } // end struct Options
63 
68  public string table_name { get; set; }
69 
73  public string select_expression { get; set; } = "";
74 
77  public string column_name { get; set; }
78 
81  public string value_column_name { get; set; }
82 
87  public string stats { get; set; }
88 
90  public double start { get; set; }
91 
93  public double end { get; set; }
94 
98  public double interval { get; set; }
99 
132  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
133 
137 
194  string select_expression,
195  string column_name,
196  string value_column_name,
197  string stats,
198  double start,
199  double end,
200  double interval,
201  IDictionary<string, string> options = null)
202  {
203  this.table_name = table_name ?? "";
204  this.select_expression = select_expression ?? "";
205  this.column_name = column_name ?? "";
206  this.value_column_name = value_column_name ?? "";
207  this.stats = stats ?? "";
208  this.start = start;
209  this.end = end;
210  this.interval = interval;
211  this.options = options ?? new Dictionary<string, string>();
212  } // end constructor
213 } // end class AggregateStatisticsByRangeRequest
214 
219 {
225  public IDictionary<string, IList<double>> stats { get; set; } = new Dictionary<string, IList<double>>();
226 
228  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
229 } // end class AggregateStatisticsByRangeResponse
const string BIN_VALUES
A list of comma separated binning-column values.
const string WEIGHT_COLUMN_NAME
Name of the column used as weighting column for the weighted_average statistic.
const string ORDER_COLUMN_NAME
Name of the column used for candlestick charting techniques.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
string select_expression
For a non-empty expression statistics are calculated for those records for which the expression is tr...
string stats
A string of comma separated list of the statistics to calculate, e.g.
IDictionary< string, string > options
Optional parameters.
IDictionary< string, IList< double > > stats
A map with a key for each statistic in the stats input parameter having a value that is a vector of t...
A set of results returned by Kinetica.aggregateStatisticsByRange.
const string ADDITIONAL_COLUMN_NAMES
A list of comma separated value-column names over which statistics can be accumulated along with the ...
A set of string constants for the parameter options.
string value_column_name
Name of the value-column for which statistics are to be computed.
double end
The upper bound of the binning-column.
A set of parameters for Kinetica.aggregateStatisticsByRange.
AggregateStatisticsByRangeRequest()
Constructs an AggregateStatisticsByRangeRequest object with default parameters.
string table_name
Name of the table on which the ranged-statistics operation will be performed, in [schema_name.
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.
double start
The lower bound of the binning-column.
string column_name
Name of the binning-column used to divide the set samples into bins.
IDictionary< string, string > info
Additional information.