Skip to main content
Source

pub async fn aggregate_convex_hull( &self, table_name: String, x_column_name: String, y_column_name: String, ) -> Result<AggregateConvexHullResponse, KineticaError>

Calculate and return the convex hull for a dataset

Calculates and returns the convex hull for the values in a table specified by table_name.

  • table_name - Name of table on which the operation will be performed. Must be an existing table, in [schema_name.]table_name format, using standard name resolution rules.
  • x_column_name - Name of the column containing the x coordinates of the points for the operation being performed.
  • y_column_name - Name of the column containing the y coordinates of the points for the operation being performed.

Calculate and return the convex hull for a dataset

Calculates and returns the convex hull for the values in a table specified by table_name.

  • table_name - Name of table on which the operation will be performed. Must be an existing table, in [schema_name.]table_name format, using standard name resolution rules.
  • x_column_name - Name of the column containing the x coordinates of the points for the operation being performed.
  • y_column_name - Name of the column containing the y coordinates of the points for the operation being performed.
  • options - The optional parameters; any left unset take the server’s defaults.

Sends a pre-built AggregateConvexHullRequest to the /aggregate/convexhull endpoint.

Sends a pre-built AggregateConvexHullRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.