Get the commit table endpoint path.
(&self, database_name: &str, table_name: &str)
| 135 | |
| 136 | /// Get the commit table endpoint path. |
| 137 | pub fn commit_table(&self, database_name: &str, table_name: &str) -> String { |
| 138 | format!( |
| 139 | "{}/{}/{}/{}/{}/commit", |
| 140 | self.base_path, |
| 141 | Self::DATABASES, |
| 142 | RESTUtil::encode_string(database_name), |
| 143 | Self::TABLES, |
| 144 | RESTUtil::encode_string(table_name) |
| 145 | ) |
| 146 | } |
| 147 | |
| 148 | /// Get the rollback endpoint path for a table. |
| 149 | pub fn rollback(&self, database_name: &str, table_name: &str) -> String { |