lance_datagen::generator::array

Function fill

Source
pub fn fill<DataType>(value: DataType::Native) -> Box<dyn ArrayGenerator>
where DataType::Native: Copy + 'static, DataType: ArrowPrimitiveType, PrimitiveArray<DataType>: From<Vec<DataType::Native>> + 'static,
Expand description

Create a generator that fills each element with the given primitive value