pub(crate) trait GetSlicedSize {
// Required method
fn get_sliced_size(&self) -> Result<usize>;
}Required Methods§
Sourcefn get_sliced_size(&self) -> Result<usize>
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.