MCPcopy Create free account
hub / github.com/apache/datafusion / heap_size

Method heap_size

datafusion/execution/src/cache/cache_manager.rs:114–122  ·  view source on GitHub ↗
(&self, ctx: &mut DFHeapSizeCtx)

Source from the content-addressed store, hash-verified

112
113impl DFHeapSize for CachedFileMetadata {
114 fn heap_size(&self, ctx: &mut DFHeapSizeCtx) -> usize {
115 self.meta.size.heap_size(ctx)
116 + self.meta.last_modified.heap_size(ctx)
117 + self.meta.version.heap_size(ctx)
118 + self.meta.e_tag.heap_size(ctx)
119 + self.meta.location.as_ref().heap_size(ctx)
120 + self.statistics.heap_size(ctx)
121 //TODO add ordering once LexOrdering/PhysicalExpr implements DFHeapSize
122 }
123}
124
125/// Represents information about a cached statistics entry.

Calls 1

as_refMethod · 0.45