Get the table token endpoint path.
(&self, database_name: &str, table_name: &str)
| 118 | |
| 119 | /// Get the table token endpoint path. |
| 120 | pub fn table_token(&self, database_name: &str, table_name: &str) -> String { |
| 121 | format!( |
| 122 | "{}/{}/{}/{}/{}/token", |
| 123 | self.base_path, |
| 124 | Self::DATABASES, |
| 125 | RESTUtil::encode_string(database_name), |
| 126 | Self::TABLES, |
| 127 | RESTUtil::encode_string(table_name) |
| 128 | ) |
| 129 | } |
| 130 | |
| 131 | /// Get the rename table endpoint path. |
| 132 | pub fn rename_table(&self) -> String { |