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

Method with_can_spill

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

Set whether this allocation can be spilled to disk

(self, can_spill: bool)

Source from the content-addressed store, hash-verified

321
322 /// Set whether this allocation can be spilled to disk
323 pub fn with_can_spill(self, can_spill: bool) -> Self {
324 Self { can_spill, ..self }
325 }
326
327 /// Returns true if this allocation can spill to disk
328 pub fn can_spill(&self) -> bool {

Callers 8

executeMethod · 0.80
newMethod · 0.80
newMethod · 0.80
consume_input_streamsMethod · 0.80
initiate_fallbackMethod · 0.80
test_fairFunction · 0.80

Calls

no outgoing calls

Tested by 3

test_fairFunction · 0.64