/// Returns the number of bytes taken up by the shared dictionary
Returns the number of bytes taken up by the shared dictionary
Returns the number of bytes taken up by the shared dictionary
pub fn dictionary_size(&self) -> usize {
        self.batch
            .columns()
            .iter()
            .filter_map(|array| {
                let dict = array
                    .as_any()
                    .downcast_ref::<DictionaryArray<Int32Type>>()?;
                let values = dict.values();
                Some(values.get_buffer_memory_size() + values.get_array_memory_size())
            })
            .next()
            .unwrap_or(0)
    }
pub fn dictionary_size ( & self ) -> usize { self . batch . columns ( ) . iter ( ) . filter_map ( | array | { let dict = array . as_any ( ) . downcast_ref :: < DictionaryArray < Int32Type > > ( ) ? ; let values = dict . values ( ) ; Some ( values . get_buffer_memory_size ( ) + values . get_array_memory_size ( ) ) } ) . next ( ) . unwrap_or ( 0 ) }
Returns the number of bytes taken up by the shared dictionary
Returns the number of bytes taken up by the shared dictionary
&self