Kinetica C# API  Version 6.2.0.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 
10 
11 namespace kinetica
12 {
13 
28  {
29 
265  public struct Options
266  {
267 
285  public const string SEED = "seed";
286 
288  public const string VALUE = "value";
289 
374  public const string ALL = "all";
375 
380  public const string MIN = "min";
381 
386  public const string MAX = "max";
387 
401  public const string INTERVAL = "interval";
402 
408  public const string NULL_PERCENTAGE = "null_percentage";
409 
415  public const string CARDINALITY = "cardinality";
416 
502  public const string ATTR_NAME = "attr_name";
503 
527  public const string TRACK_LENGTH = "track_length";
528  } // end struct Options
529 
530 
534  public string table_name { get; set; }
535 
537  public long count { get; set; }
538 
772  public IDictionary<string, IDictionary<string, double>> options { get; set; } = new Dictionary<string, IDictionary<string, double>>();
773 
774 
778 
1013  long count,
1014  IDictionary<string, IDictionary<string, double>> options = null)
1015  {
1016  this.table_name = table_name ?? "";
1017  this.count = count;
1018  this.options = options ?? new Dictionary<string, IDictionary<string, double>>();
1019  } // end constructor
1020 
1021  } // end class InsertRecordsRandomRequest
1022 
1023 
1024 
1029  {
1030 
1033  public string table_name { get; set; }
1034 
1036  public long count { get; set; }
1037 
1038  } // end class InsertRecordsRandomResponse
1039 
1040 
1041 
1042 
1043 } // end namespace kinetica
A set of results returned by Kinetica.insertRecordsRandom(string,long,IDictionary<string, IDictionary<string, double>>).
const string TRACK_LENGTH
This key-map pair is only valid for track data sets (an error is thrown otherwise).
Optional parameter to pass in specifications for the randomness of the values.
const string MIN
Minimum possible length for generated series; default is 100 records per series.
const string VALUE
Pass the seed value here.
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.
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.
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,long,IDictionary<string, IDictionary<string, double>>).
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14