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

Method contains

datafusion/common/src/extensions.rs:129–131  ·  view source on GitHub ↗

Returns true if an extension of type `T` is set.

(&self)

Source from the content-addressed store, hash-verified

127
128 /// Returns true if an extension of type `T` is set.
129 pub fn contains<T: Any + Send + Sync>(&self) -> bool {
130 self.inner.contains_key(&TypeId::of::<T>())
131 }
132
133 /// Merge entries from `other` into `self`. Entries in `other` take
134 /// precedence over existing entries with the same type.

Callers 15

documented_rulesFunction · 0.45
createMethod · 0.45
drop_columnsMethod · 0.45
describeMethod · 0.45
with_columnMethod · 0.45
fill_nullMethod · 0.45
print_docsFunction · 0.45
iterate_queriesFunction · 0.45
run_testMethod · 0.45

Calls 1

contains_keyMethod · 0.45

Tested by 9

iterate_queriesFunction · 0.36
run_testMethod · 0.36
run_window_testFunction · 0.36
fuzzer_runMethod · 0.36
order_byMethod · 0.36
test_async_udf_metricsFunction · 0.36