Source
pub async fn clear_statistics( &self, table_name: String, column_name: String, ) -> Result<ClearStatisticsResponse, KineticaError>
Clears statistics for column(s) in a table.
Clears statistics (cardinality, mean value, etc.) for a column in a specified table.
table_name- Name of a table, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table. A value of ‘*’ clears statistics on every user table the caller may read (excluding system schemas, views, and temporary tables); when used,column_namemust be empty.column_name- Name of the column intable_namefor which to clear statistics. The column must be from an existing table. An empty string clears statistics for all columns in the table. Must be empty whentable_nameis ‘*’.
Source
pub async fn clear_statistics_with_opts( &self, table_name: String, column_name: String, options: ClearStatisticsRequestOptions, ) -> Result<ClearStatisticsResponse, KineticaError>
Clears statistics for column(s) in a table.
Clears statistics (cardinality, mean value, etc.) for a column in a specified table.
table_name- Name of a table, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table. A value of ‘*’ clears statistics on every user table the caller may read (excluding system schemas, views, and temporary tables); when used,column_namemust be empty.column_name- Name of the column intable_namefor which to clear statistics. The column must be from an existing table. An empty string clears statistics for all columns in the table. Must be empty whentable_nameis ‘*’.options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn clear_statistics_raw( &self, request: &ClearStatisticsRequest, ) -> Result<ClearStatisticsResponse, KineticaError>
Sends a pre-built ClearStatisticsRequest to the /clear/statistics endpoint.
Source
pub async fn clear_statistics_from_url( &self, url: &str, request: &ClearStatisticsRequest, ) -> Result<ClearStatisticsResponse, KineticaError>
Sends a pre-built ClearStatisticsRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.