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

Method rollback

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

Get the rollback endpoint path for a table.

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

Source from the content-addressed store, hash-verified

147
148 /// Get the rollback endpoint path for a table.
149 pub fn rollback(&self, database_name: &str, table_name: &str) -> String {
150 format!(
151 "{}/{}/{}/{}/{}/rollback",
152 self.base_path,
153 Self::DATABASES,
154 RESTUtil::encode_string(database_name),
155 Self::TABLES,
156 RESTUtil::encode_string(table_name)
157 )
158 }
159
160 /// Get the partitions endpoint path for a table.
161 pub fn partitions(&self, database_name: &str, table_name: &str) -> String {

Callers 2

rollback_to_snapshotMethod · 0.80
rollback_to_tagMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected