pub struct InsertRecordsRandomRequest
pub table_name: String,
pub count: i64,
pub options: HashMap<String, HashMap<String, f64>>,
The request payload for the /insert/records/random endpoint.
Generate random records and insert into specified table
Fields
table_name: StringTable to which random records will be added, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table, not a view.
count: i64Number of records to generate.
options: HashMap<String, HashMap<String, f64>>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.
Trait Implementations
impl Clone for InsertRecordsRandomRequest
fn clone(&self) -> InsertRecordsRandomRequest
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Debug for InsertRecordsRandomRequest
impl Default for InsertRecordsRandomRequest
impl<‘de> Deserialize<‘de> for InsertRecordsRandomRequest
fn deserialize<__D>(__deserializer: __D) ->Result<Self, __D::Error>
where __D: Deserializer<‘de>,
fn avro_schema(&self) -> &‘static str
fn use_compression() -> bool
KineticaOptions::use_snappy enabled. Read more