lance_datagen::generator

Module array

Source

Functionsยง

  • Create a generator from a vector of values
  • Create a generator of vectors by continuously calling the given generator
  • Encodes arrays generated by the underlying generator as dictionaries with the given key type
  • Encodes arrays generated by the underlying generator as dictionaries with the given key type
  • Create a generator that fills each element with the given primitive value
  • Create a generator that fills each element with the given string value
  • Create a generator that fills each element with the given binary value
  • Create a generator of primitive values that are randomly sampled from the entire range available for the value
  • Create a random generator of boolean values
  • Create a generator of randomly sampled date32 values
  • Create a generator of randomly sampled date64 values
  • Create a generator of randomly sampled date32 values in the given range
  • Create a generator of randomly sampled date64 values
  • Create a generator of random UUIDs, stored as fixed size binary values
  • Create a generator of random UUIDs, stored as 32-character strings (hex encoding of the 16-byte binary value)
  • Create a generator of randomly sampled time32 values covering the entire range of 1 day
  • Create a generator of randomly sampled time64 values covering the entire range of 1 day
  • Create a generator of randomly sampled timestamp values in the given range
  • Create a generator of random values
  • Create a generator of random strings
  • Create a generator of random binary values
  • Create a generator of 1d vectors (of a primitive type) consisting of randomly sampled primitive values
  • Create a generator of primitive values that are randomly sampled from the entire range available for the value
  • Create a generator that starts at 0 and increments by 1 for each element
  • Create a generator that starts at a given value and increments by a given step for each element