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

Method database

crates/paimon/src/api/resource_paths.rs:72–79  ·  view source on GitHub ↗

Get a specific database endpoint path.

(&self, name: &str)

Source from the content-addressed store, hash-verified

70
71 /// Get a specific database endpoint path.
72 pub fn database(&self, name: &str) -> String {
73 format!(
74 "{}/{}/{}",
75 self.base_path,
76 Self::DATABASES,
77 RESTUtil::encode_string(name)
78 )
79 }
80
81 /// Get the tables endpoint path.
82 pub fn tables(&self, database_name: Option<&str>) -> String {

Callers 13

get_databaseMethod · 0.45
alter_databaseMethod · 0.45
drop_databaseMethod · 0.45
create_tableMethod · 0.45
get_tableMethod · 0.45
rename_tableMethod · 0.45
drop_tableMethod · 0.45
list_partitionsMethod · 0.45
list_partitions_pagedMethod · 0.45
load_table_tokenMethod · 0.45
commit_snapshotMethod · 0.45
rollback_to_snapshotMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected