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

Method partitions

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

Get the partitions endpoint path for a table.

(&self, database_name: &str, table_name: &str)

Source from the content-addressed store, hash-verified

159
160 /// Get the partitions endpoint path for a table.
161 pub fn partitions(&self, database_name: &str, table_name: &str) -> String {
162 format!(
163 "{}/{}/{}/{}/{}/{}",
164 self.base_path,
165 Self::DATABASES,
166 RESTUtil::encode_string(database_name),
167 Self::TABLES,
168 RESTUtil::encode_string(table_name),
169 Self::PARTITIONS
170 )
171 }
172}
173
174#[cfg(test)]

Callers 1

list_partitions_pagedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected