Source
pub async fn aggregate_min_max( &self, table_name: String, column_name: String, ) -> Result<AggregateMinMaxResponse, KineticaError>
Calculate the min and max values of a column in a dataset
Calculates and returns the minimum and maximum values of a particular column in a table.
table_name- Name of the table on which the operation will be performed. Must be an existing table, in [schema_name.]table_name format, using standard name resolution rules.column_name- Name of a column or an expression of one or more column on which the min-max will be calculated.
Source
pub async fn aggregate_min_max_with_opts( &self, table_name: String, column_name: String, options: AggregateMinMaxRequestOptions, ) -> Result<AggregateMinMaxResponse, KineticaError>
Calculate the min and max values of a column in a dataset
Calculates and returns the minimum and maximum values of a particular column in a table.
table_name- Name of the table on which the operation will be performed. Must be an existing table, in [schema_name.]table_name format, using standard name resolution rules.column_name- Name of a column or an expression of one or more column on which the min-max will be calculated.options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn aggregate_min_max_raw( &self, request: &AggregateMinMaxRequest, ) -> Result<AggregateMinMaxResponse, KineticaError>
Sends a pre-built AggregateMinMaxRequest to the /aggregate/minmax endpoint.
Source
pub async fn aggregate_min_max_from_url( &self, url: &str, request: &AggregateMinMaxRequest, ) -> Result<AggregateMinMaxResponse, KineticaError>
Sends a pre-built AggregateMinMaxRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.