7 using System.Collections.Generic;
23 public class InsertRecordsRandomRequest : KineticaData
46 public const string SEED =
"seed";
49 public const string VALUE =
"value";
135 public const string ALL =
"all";
142 public const string MIN =
"min";
149 public const string MAX =
"max";
164 public const string INTERVAL =
"interval";
266 public const string ATTR_NAME =
"attr_name";
302 public long count {
get;
set; }
546 public IDictionary<string, IDictionary<string, double>>
options {
get;
set; } =
new Dictionary<string, IDictionary<string, double>>();
812 IDictionary<
string, IDictionary<string, double>>
options =
null)
816 this.
options =
options ??
new Dictionary<string, IDictionary<string, double>>();
823 public class InsertRecordsRandomResponse : KineticaData
831 public long count {
get;
set; }
834 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
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.