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

Method extend

datafusion/common/src/metadata.rs:293–299  ·  view source on GitHub ↗

Adds metadata from `other` into `self`, overwriting any existing keys.

(&mut self, other: Self)

Source from the content-addressed store, hash-verified

291
292 /// Adds metadata from `other` into `self`, overwriting any existing keys.
293 pub fn extend(&mut self, other: Self) {
294 if other.is_empty() {
295 return;
296 }
297 let other = Arc::unwrap_or_clone(other.into_inner());
298 Arc::make_mut(&mut self.inner).extend(other);
299 }
300
301 /// Returns true if the metadata is empty.
302 pub fn is_empty(&self) -> bool {

Callers 15

generate_timezoneMethod · 0.45
count_treesFunction · 0.45
do_getMethod · 0.45
try_process_unnestMethod · 0.45
update_to_planMethod · 0.45
suggest_valid_functionFunction · 0.45
project_window_outputMethod · 0.45

Calls 2

is_emptyMethod · 0.45
into_innerMethod · 0.45