Kinetica   C#   API  Version 7.2.3.1
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 {
34  public struct Options
35  {
44  public const string SEED = "seed";
45 
47  public const string VALUE = "value";
48 
129  public const string ALL = "all";
130 
136  public const string MIN = "min";
137 
143  public const string MAX = "max";
144 
157  public const string INTERVAL = "interval";
158 
164  public const string NULL_PERCENTAGE = "null_percentage";
165 
172  public const string CARDINALITY = "cardinality";
173 
254  public const string ATTR_NAME = "attr_name";
255 
278  public const string TRACK_LENGTH = "track_length";
279  } // end struct Options
280 
286  public string table_name { get; set; }
287 
289  public long count { get; set; }
290 
517  public IDictionary<string, IDictionary<string, double>> options { get; set; } = new Dictionary<string, IDictionary<string, double>>();
518 
522 
765  long count,
766  IDictionary<string, IDictionary<string, double>> options = null)
767  {
768  this.table_name = table_name ?? "";
769  this.count = count;
770  this.options = options ?? new Dictionary<string, IDictionary<string, double>>();
771  } // end constructor
772 } // end class InsertRecordsRandomRequest
773 
778 {
782  public string table_name { get; set; }
783 
785  public long count { get; set; }
786 
788  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
789 } // end class InsertRecordsRandomResponse
const string CARDINALITY
If specified, limit the randomly generated values to a fixed set.
long count
Number of records inserted.
long count
Number of records to generate.
A set of parameters for Kinetica.insertRecordsRandom.
IDictionary< string, IDictionary< string, double > > options
Optional parameter to pass in specifications for the randomness of the values.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
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 SEED
If provided, the internal random number generator will be initialized with the given value.
const string NULL_PERCENTAGE
If specified and if this column is nullable, then generate the given percentage of the count as nulls...
const string TRACK_LENGTH
This key-map pair is only valid for track data sets (an error is thrown otherwise).
string table_name
Table to which random records will be added, in [schema_name.
InsertRecordsRandomRequest()
Constructs an InsertRecordsRandomRequest object with default parameters.
string table_name
Value of table_name.
const string MIN
Minimum possible length for generated series; default is 100 records per series.
InsertRecordsRandomRequest(string table_name, long count, IDictionary< string, IDictionary< string, double >> options=null)
Constructs an InsertRecordsRandomRequest object with the specified parameters.
A set of string constants for the parameter options.
const string MAX
Maximum possible length for generated series; default is 500 records per series.
A set of results returned by Kinetica.insertRecordsRandom.
const string ALL
This key indicates that the specifications relayed in the internal map are to be applied to all colum...
IDictionary< string, string > info
Additional information.
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.