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

Method clear

datafusion/expr/src/execution_props.rs:235–239  ·  view source on GitHub ↗

Clears all populated results so the container can be reused.

(&self)

Source from the content-addressed store, hash-verified

233
234 /// Clears all populated results so the container can be reused.
235 pub fn clear(&self) {
236 for slot in self.slots.iter() {
237 *slot.lock().unwrap() = None;
238 }
239 }
240
241 /// Returns true if `this` and `other` point to the same shared container.
242 pub fn ptr_eq(this: &Self, other: &Self) -> bool {

Callers 15

spill_to_diskMethod · 0.45
array_valid_typesFunction · 0.45
array_sort_non_primitiveFunction · 0.45
general_exceptFunction · 0.45
generic_set_loopFunction · 0.45
general_array_distinctFunction · 0.45
str_to_map_implFunction · 0.45
unhex_arrayFunction · 0.45
hex_encode_bytesFunction · 0.45
clear_requestsMethod · 0.45
append_offsetMethod · 0.45

Calls 1

iterMethod · 0.45