MCPcopy Create free account
hub / github.com/apache/paimon-rust / set

Method set

crates/paimon/src/common/options.rs:117–119  ·  view source on GitHub ↗

Set a key-value pair.

(&mut self, key: impl Into<String>, value: impl Into<String>)

Source from the content-addressed store, hash-verified

115
116 /// Set a key-value pair.
117 pub fn set(&mut self, key: impl Into<String>, value: impl Into<String>) {
118 self.data.insert(key.into(), value.into());
119 }
120
121 /// Check if a key exists.
122 pub fn contains(&self, key: &str) -> bool {

Callers 15

paimon_catalog_createFunction · 0.80
setup_sql_contextFunction · 0.80
setup_sql_contextFunction · 0.80
setup_fs_sql_contextFunction · 0.80
create_catalogFunction · 0.80
create_test_envFunction · 0.80
create_contextFunction · 0.80
create_catalogFunction · 0.80
create_fulltext_contextFunction · 0.80

Calls 1

insertMethod · 0.80

Tested by 15

create_test_envFunction · 0.64
create_contextFunction · 0.64
create_catalogFunction · 0.64
create_fulltext_contextFunction · 0.64
create_test_envFunction · 0.64
create_test_envFunction · 0.64
test_extract_prefix_mapFunction · 0.64