Kinetica C# API  Version 6.0.1.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
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 
26  {
27 
225  public struct Options
226  {
227 
244  public const string SEED = "seed";
245 
247  public const string VALUE = "value";
248 
316  public const string ALL = "all";
317 
322  public const string MIN = "min";
323 
328  public const string MAX = "max";
329 
339  public const string INTERVAL = "interval";
340 
346  public const string NULL_PERCENTAGE = "null_percentage";
347 
414  public const string ATTR_NAME = "attr_name";
415 
437  public const string TRACK_LENGTH = "track_length";
438  } // end struct Options
439 
440 
444  public string table_name { get; set; }
445 
447  public long count { get; set; }
448 
644  public IDictionary<string, IDictionary<string, double>> options { get; set; } = new Dictionary<string, IDictionary<string, double>>();
645 
646 
650 
847  long count,
848  IDictionary<string, IDictionary<string, double>> options = null)
849  {
850  this.table_name = table_name ?? "";
851  this.count = count;
852  this.options = options ?? new Dictionary<string, IDictionary<string, double>>();
853  } // end constructor
854 
855  } // end class InsertRecordsRandomRequest
856 
857 
858 
861  {
862 
865  public string table_name { get; set; }
866 
869  public long count { get; set; }
870 
871  } // end class InsertRecordsRandomResponse
872 
873 
874 
875 
876 } // end namespace kinetica
A set of results returned by /insert/records/random.
const string TRACK_LENGTH
This key-map pair is only valid for track type 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.
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
Set the following parameters for the column specified by the key.
InsertRecordsRandomRequest()
Constructs an InsertRecordsRandomRequest object with default parameters.
long count
Number of records to generate.
const string INTERVAL
If specified, then generate values for all columns linearly and evenly spaced with the given interval...
A set of parameters for /insert/records/random.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14