pub struct DictionaryGenerator<K: ArrowDictionaryKeyType> { /* private fields */ }Trait Implementations§
Source§impl<K: ArrowDictionaryKeyType + Send + Sync> ArrayGenerator for DictionaryGenerator<K>
impl<K: ArrowDictionaryKeyType + Send + Sync> ArrayGenerator for DictionaryGenerator<K>
Source§fn generate(
&mut self,
length: RowCount,
rng: &mut Xoshiro256PlusPlus,
) -> Result<Arc<dyn Array>, ArrowError>
fn generate( &mut self, length: RowCount, rng: &mut Xoshiro256PlusPlus, ) -> Result<Arc<dyn Array>, ArrowError>
Generate an array of the given length Read more
Source§fn data_type(&self) -> &DataType
fn data_type(&self) -> &DataType
Get the data type of the array that this generator produces Read more
Source§fn element_size_bytes(&self) -> Option<ByteCount>
fn element_size_bytes(&self) -> Option<ByteCount>
Get the size of each element in bytes Read more
Source§fn generate_default(
&mut self,
length: RowCount,
) -> Result<Arc<dyn Array>, ArrowError>
fn generate_default( &mut self, length: RowCount, ) -> Result<Arc<dyn Array>, ArrowError>
Generate an array of the given length using a new RNG with the default seed Read more
Auto Trait Implementations§
impl<K> Freeze for DictionaryGenerator<K>
impl<K> !RefUnwindSafe for DictionaryGenerator<K>
impl<K> Send for DictionaryGenerator<K>where
K: Send,
impl<K> Sync for DictionaryGenerator<K>where
K: Sync,
impl<K> Unpin for DictionaryGenerator<K>where
K: Unpin,
impl<K> !UnwindSafe for DictionaryGenerator<K>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more