/// Estimate the memory consumption of this object and its contents
Estimate the memory consumption of this object and its contents
Estimate the memory consumption of this object and its contents
pub fn size(&self) -> usize {
        // note substract size of non Arc'd members as they are
        // already included in Type::size()
        mem::size_of_val(self) +
            self.parquet_file.size() -
            mem::size_of_val(&self.parquet_file) +
            self.parquet_metadata.size() +
            // parquet_metadata is wrapped in Arc so not included in size of self
            self.decoded_metadata.size()
            - mem::size_of_val(&self.decoded_metadata)
            + self.iox_metadata.size()
            - mem::size_of_val(&self.iox_metadata)
    }
pub fn size ( & self ) -> usize { // note substract size of non Arc'd members as they are // already included in Type::size() mem :: size_of_val ( self ) + self . parquet_file . size ( ) - mem :: size_of_val ( & self . parquet_file ) + self . parquet_metadata . size ( ) + // parquet_metadata is wrapped in Arc so not included in size of self self . decoded_metadata . size ( ) - mem :: size_of_val ( & self . decoded_metadata ) + self . iox_metadata . size ( ) - mem :: size_of_val ( & self . iox_metadata ) }
Estimate the memory consumption of this object and its contents
Estimate the memory consumption of this object and its contents
&self