Kinetica C# API
Version 7.2.3.0
|
A set of string constants for the parameter options. More...
Public Attributes | |
const string | SEED = "seed" |
If provided, the internal random number generator will be initialized with the given value. More... | |
const string | VALUE = "value" |
The seed value to use More... | |
const string | ALL = "all" |
This key indicates that the specifications relayed in the internal map are to be applied to all columns of the records. More... | |
const string | MIN = "min" |
Minimum possible length for generated series; default is 100 records per series. More... | |
const string | MAX = "max" |
Maximum possible length for generated series; default is 500 records per series. More... | |
const string | INTERVAL = "interval" |
If specified, generate values for all columns evenly spaced with the given interval value. More... | |
const string | NULL_PERCENTAGE = "null_percentage" |
If specified and if this column is nullable, then generate the given percentage of the count as nulls. More... | |
const string | CARDINALITY = "cardinality" |
If specified, limit the randomly generated values to a fixed set. More... | |
const string | ATTR_NAME = "attr_name" |
Use the desired column name in place of ATTR_NAME, and set the following parameters for the column specified. More... | |
const string | TRACK_LENGTH = "track_length" |
This key-map pair is only valid for track data sets (an error is thrown otherwise). More... | |
A set of string constants for the parameter options.
Optional parameter to pass in specifications for the randomness of the values. This map is different from the options parameter of most other endpoints in that it is a map of string to map of string to doubles, while most others are maps of string to string. In this map, the top level keys represent which column's parameters are being specified, while the internal keys represents which parameter is being specified. These parameters take on different meanings depending on the type of the column. Below follows a more detailed description of the map:
Definition at line 36 of file InsertRecordsRandom.cs.
const string kinetica.InsertRecordsRandomRequest.Options.ALL = "all" |
This key indicates that the specifications relayed in the internal map are to be applied to all columns of the records.
Definition at line 135 of file InsertRecordsRandom.cs.
const string kinetica.InsertRecordsRandomRequest.Options.ATTR_NAME = "attr_name" |
Use the desired column name in place of ATTR_NAME, and set the following parameters for the column specified.
Definition at line 266 of file InsertRecordsRandom.cs.
const string kinetica.InsertRecordsRandomRequest.Options.CARDINALITY = "cardinality" |
If specified, limit the randomly generated values to a fixed set.
Not allowed on a column with interval specified, and is not applicable to WKT or Track-specific columns. The value must be greater than 0. This option is disabled by default.
Definition at line 179 of file InsertRecordsRandom.cs.
const string kinetica.InsertRecordsRandomRequest.Options.INTERVAL = "interval" |
If specified, generate values for all columns evenly spaced with the given interval value.
If a max value is specified for a given column the data is randomly generated between min and max and decimated down to the interval. If no max is provided the data is linerally generated starting at the minimum value (instead of generating random data). For non-decimated string-type columns the interval value is ignored. Instead the values are generated following the pattern: 'attrname_creationIndex#', i.e. the column name suffixed with an underscore and a running counter (starting at 0). For string types with limited size (eg char4) the prefix is dropped. No nulls will be generated for nullable columns.
Definition at line 164 of file InsertRecordsRandom.cs.
const string kinetica.InsertRecordsRandomRequest.Options.MAX = "max" |
Maximum possible length for generated series; default is 500 records per series.
Must be an integral value within the range [1, 500]. If both min and max are specified, max must be greater than or equal to min.
Definition at line 149 of file InsertRecordsRandom.cs.
const string kinetica.InsertRecordsRandomRequest.Options.MIN = "min" |
Minimum possible length for generated series; default is 100 records per series.
Must be an integral value within the range [1, 500]. If both min and max are specified, min must be less than or equal to max.
Definition at line 142 of file InsertRecordsRandom.cs.
const string kinetica.InsertRecordsRandomRequest.Options.NULL_PERCENTAGE = "null_percentage" |
If specified and if this column is nullable, then generate the given percentage of the count as nulls.
This option will result in an error if the column is not nullable. The value must be within the range [0, 1.0]. The default value is 5% (0.05).
Definition at line 171 of file InsertRecordsRandom.cs.
const string kinetica.InsertRecordsRandomRequest.Options.SEED = "seed" |
If provided, the internal random number generator will be initialized with the given value.
Definition at line 46 of file InsertRecordsRandom.cs.
const string kinetica.InsertRecordsRandomRequest.Options.TRACK_LENGTH = "track_length" |
This key-map pair is only valid for track data sets (an error is thrown otherwise).
Definition at line 290 of file InsertRecordsRandom.cs.
const string kinetica.InsertRecordsRandomRequest.Options.VALUE = "value" |
The seed value to use
Definition at line 49 of file InsertRecordsRandom.cs.