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

Method tables

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

Get the tables endpoint path.

(&self, database_name: Option<&str>)

Source from the content-addressed store, hash-verified

80
81 /// Get the tables endpoint path.
82 pub fn tables(&self, database_name: Option<&str>) -> String {
83 if let Some(db_name) = database_name {
84 format!(
85 "{}/{}/{}/{}",
86 self.base_path,
87 Self::DATABASES,
88 RESTUtil::encode_string(db_name),
89 Self::TABLES
90 )
91 } else {
92 format!("{}/{}", self.base_path, Self::TABLES)
93 }
94 }
95
96 /// Get a specific table endpoint path.
97 pub fn table(&self, database_name: &str, table_name: &str) -> String {

Callers 2

list_tables_pagedMethod · 0.80
create_tableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected