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 {
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 
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
long count
Number of records inserted.
A set of results returned by Kinetica.insertRecordsRandom.
const string TRACK_LENGTH
This key-map pair is only valid for track data sets (an error is thrown otherwise).
A set of string constants for the parameter options.
const string MIN
Minimum possible length for generated series; default is 100 records per series.
const string VALUE
The seed value to use
const string ALL
This key indicates that the specifications relayed in the internal map are to be applied to all colum...
const string MAX
Maximum possible length for generated series; default is 500 records per series.
const string NULL_PERCENTAGE
If specified and if this column is nullable, then generate the given percentage of the count as nulls...
const string SEED
If provided, the internal random number generator will be initialized with the given value.
string table_name
Table to which random records will be added, in [schema_name.
const string CARDINALITY
If specified, limit the randomly generated values to a fixed set.
IDictionary< string, IDictionary< string, double > > options
Optional parameter to pass in specifications for the randomness of the values.
InsertRecordsRandomRequest(string table_name, long count, IDictionary< string, IDictionary< string, double >> options=null)
Constructs an InsertRecordsRandomRequest object with the specified parameters.
const string ATTR_NAME
Use the desired column name in place of ATTR_NAME, and set the following parameters for the column sp...
InsertRecordsRandomRequest()
Constructs an InsertRecordsRandomRequest object with default parameters.
IDictionary< string, string > info
Additional information.
long count
Number of records to generate.
const string INTERVAL
If specified, generate values for all columns evenly spaced with the given interval value.
A set of parameters for Kinetica.insertRecordsRandom.
string table_name
Value of table_name.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14