Kinetica   C#   API  Version 7.2.3.0
InsertRecordsRandom.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 {
23  public class InsertRecordsRandomRequest : KineticaData
24  {
36  public struct Options
37  {
46  public const string SEED = "seed";
47 
49  public const string VALUE = "value";
50 
135  public const string ALL = "all";
136 
142  public const string MIN = "min";
143 
149  public const string MAX = "max";
150 
164  public const string INTERVAL = "interval";
165 
171  public const string NULL_PERCENTAGE = "null_percentage";
172 
179  public const string CARDINALITY = "cardinality";
180 
266  public const string ATTR_NAME = "attr_name";
267 
290  public const string TRACK_LENGTH = "track_length";
291  } // end struct Options
292 
299  public string table_name { get; set; }
300 
302  public long count { get; set; }
303 
546  public IDictionary<string, IDictionary<string, double>> options { get; set; } = new Dictionary<string, IDictionary<string, double>>();
547 
551 
811  long count,
812  IDictionary<string, IDictionary<string, double>> options = null)
813  {
814  this.table_name = table_name ?? "";
815  this.count = count;
816  this.options = options ?? new Dictionary<string, IDictionary<string, double>>();
817  } // end constructor
818  } // end class InsertRecordsRandomRequest
819 
823  public class InsertRecordsRandomResponse : KineticaData
824  {
828  public string table_name { get; set; }
829 
831  public long count { get; set; }
832 
834  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
835  } // end class InsertRecordsRandomResponse
836 } // end namespace kinetica
string table_name
Value of table_name.
const string ALL
This key indicates that the specifications relayed in the internal map are to be applied to all colum...
IDictionary< string, IDictionary< string, double > > options
Optional parameter to pass in specifications for the randomness of the values.
const string SEED
If provided, the internal random number generator will be initialized with the given value.
long count
Number of records inserted.
const string NULL_PERCENTAGE
If specified and if this column is nullable, then generate the given percentage of the count as nulls...
const string CARDINALITY
If specified, limit the randomly generated values to a fixed set.
long count
Number of records to generate.
InsertRecordsRandomRequest(string table_name, long count, IDictionary< string, IDictionary< string, double >> options=null)
Constructs an InsertRecordsRandomRequest object with the specified parameters.
InsertRecordsRandomRequest()
Constructs an InsertRecordsRandomRequest object with default parameters.
string table_name
Table to which random records will be added, in [schema_name.
const string MIN
Minimum possible length for generated series; default is 100 records per series.
IDictionary< string, string > info
Additional information.
const string MAX
Maximum possible length for generated series; default is 500 records per series.
const string TRACK_LENGTH
This key-map pair is only valid for track data sets (an error is thrown otherwise).
const string ATTR_NAME
Use the desired column name in place of ATTR_NAME, and set the following parameters for the column sp...
const string VALUE
The seed value to use
const string INTERVAL
If specified, generate values for all columns evenly spaced with the given interval value.