GetSlicedSize

Trait GetSlicedSize 

Source
pub(crate) trait GetSlicedSize {
    // Required method
    fn get_sliced_size(&self) -> Result<usize>;
}

Required Methods§

Source

fn get_sliced_size(&self) -> Result<usize>

Returns the size of the RecordBatch when sliced. Note: if multiple arrays or even a single array share the same data buffers, we may double count each buffer. Therefore, make sure we call gc() or organize_stringview_arrays() before using this method.

Implementations on Foreign Types§

Source§

impl GetSlicedSize for RecordBatch

Implementors§