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

Method consumer

datafusion/execution/src/memory_pool/mod.rs:385–387  ·  view source on GitHub ↗

Returns [MemoryConsumer] for this [MemoryReservation]

(&self)

Source from the content-addressed store, hash-verified

383
384 /// Returns [MemoryConsumer] for this [MemoryReservation]
385 pub fn consumer(&self) -> &MemoryConsumer {
386 &self.registration.consumer
387 }
388
389 /// Frees all bytes from this reservation back to the underlying
390 /// pool, returning the number of bytes freed.

Callers 3

growMethod · 0.80
shrinkMethod · 0.80
try_growMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected