Source
pub async fn collect_statistics( &self, table_name: String, column_names: Vec<String>, ) -> Result<CollectStatisticsResponse, KineticaError>
Collect statistics on a column.
Collect statistics for a column(s) 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 ‘’ collects statistics on every user table the caller may read (excluding system schemas, views, and temporary tables); when used,column_namesmust be ‘’.column_names- List of one or more column names intable_namefor which to collect statistics (cardinality, mean value, etc.). A single entry of ‘*’ expands to every collectable column on the table (geometry, vector, JSON, and array columns are skipped).
Source
pub async fn collect_statistics_with_opts( &self, table_name: String, column_names: Vec<String>, options: CollectStatisticsRequestOptions, ) -> Result<CollectStatisticsResponse, KineticaError>
Collect statistics on a column.
Collect statistics for a column(s) 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 ‘’ collects statistics on every user table the caller may read (excluding system schemas, views, and temporary tables); when used,column_namesmust be ‘’.column_names- List of one or more column names intable_namefor which to collect statistics (cardinality, mean value, etc.). A single entry of ‘*’ expands to every collectable column on the table (geometry, vector, JSON, and array columns are skipped).options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn collect_statistics_raw( &self, request: &CollectStatisticsRequest, ) -> Result<CollectStatisticsResponse, KineticaError>
Sends a pre-built CollectStatisticsRequest to the /collect/statistics endpoint.
Source
pub async fn collect_statistics_from_url( &self, url: &str, request: &CollectStatisticsRequest, ) -> Result<CollectStatisticsResponse, KineticaError>
Sends a pre-built CollectStatisticsRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.