pub async fn alter_table_metadata( &self, table_names: Vec<String>, metadata_map: HashMap<String, String>, ) -> Result<AlterTableMetadataResponse, KineticaError>
Alter metadata for tables
Updates (adds or changes) metadata for tables. The metadata key and values must both be strings. This is an easy way to annotate whole tables rather than single records within tables. Some examples of metadata are owner of the table, table creation timestamp etc.
table_names- Names of the tables whose metadata will be updated, in [schema_name.]table_name format, using standard name resolution rules. All specified tables must exist, or an error will be returned.metadata_map- A map which contains the metadata of the tables that are to be updated. Note that only one map is provided for all the tables; so the change will be applied to every table. If the provided map is empty, then all existing metadata for the table(s) will be cleared.
pub async fn alter_table_metadata_with_opts( &self, table_names: Vec<String>, metadata_map: HashMap<String, String>, options: AlterTableMetadataRequestOptions, ) -> Result<AlterTableMetadataResponse, KineticaError>
Alter metadata for tables
Updates (adds or changes) metadata for tables. The metadata key and values must both be strings. This is an easy way to annotate whole tables rather than single records within tables. Some examples of metadata are owner of the table, table creation timestamp etc.
table_names- Names of the tables whose metadata will be updated, in [schema_name.]table_name format, using standard name resolution rules. All specified tables must exist, or an error will be returned.metadata_map- A map which contains the metadata of the tables that are to be updated. Note that only one map is provided for all the tables; so the change will be applied to every table. If the provided map is empty, then all existing metadata for the table(s) will be cleared.options- The optional parameters; any left unset take the server’s defaults.
pub async fn alter_table_metadata_raw( &self, request: &AlterTableMetadataRequest, ) -> Result<AlterTableMetadataResponse, KineticaError>
Sends a pre-built AlterTableMetadataRequest to the /alter/table/metadata endpoint.
pub async fn alter_table_metadata_from_url( &self, url: &str, request: &AlterTableMetadataRequest, ) -> Result<AlterTableMetadataResponse, KineticaError>
Sends a pre-built AlterTableMetadataRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.