pub async fn filter_by_table( &self, table_name: String, view_name: String, column_name: String, source_table_name: String, source_table_column_name: String, ) -> Result<FilterByTableResponse, KineticaError>
Filter a dataset for records with column values matching another table’s column values
Filters objects in one table based on objects in another table. The user must specify matching column types from the two tables (i.e. the target table from which objects will be filtered and the source table based on which the filter will be created); the column names need not be the same. If a view_name is specified, then the filtered objects will then be put in a newly created view. The operation is synchronous, meaning that a response will not be returned until all objects are fully available in the result view. The return value contains the count (i.e. the size) of the resulting view.
table_name- Name of the table whose data will be filtered, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table.view_name- If provided, then this will be the name of the view containing the results, in [schema_name.]view_name format, using standard name resolution rules and meeting table naming criteria. Must not be an already existing table or view.column_name- Name of the column by whose value the data will be filtered from the table designated bytable_name.source_table_name- Name of the table whose data will be compared against in the table calledtable_name, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table.source_table_column_name- Name of the column in thesource_table_namewhose values will be used as the filter for tabletable_name. Must be a geospatial geometry column if in ‘spatial’ mode; otherwise, Must match the type of thecolumn_name.
pub async fn filter_by_table_with_opts( &self, table_name: String, view_name: String, column_name: String, source_table_name: String, source_table_column_name: String, options: FilterByTableRequestOptions, ) -> Result<FilterByTableResponse, KineticaError>
Filter a dataset for records with column values matching another table’s column values
Filters objects in one table based on objects in another table. The user must specify matching column types from the two tables (i.e. the target table from which objects will be filtered and the source table based on which the filter will be created); the column names need not be the same. If a view_name is specified, then the filtered objects will then be put in a newly created view. The operation is synchronous, meaning that a response will not be returned until all objects are fully available in the result view. The return value contains the count (i.e. the size) of the resulting view.
table_name- Name of the table whose data will be filtered, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table.view_name- If provided, then this will be the name of the view containing the results, in [schema_name.]view_name format, using standard name resolution rules and meeting table naming criteria. Must not be an already existing table or view.column_name- Name of the column by whose value the data will be filtered from the table designated bytable_name.source_table_name- Name of the table whose data will be compared against in the table calledtable_name, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table.source_table_column_name- Name of the column in thesource_table_namewhose values will be used as the filter for tabletable_name. Must be a geospatial geometry column if in ‘spatial’ mode; otherwise, Must match the type of thecolumn_name.options- The optional parameters; any left unset take the server’s defaults.
pub async fn filter_by_table_raw( &self, request: &FilterByTableRequest, ) -> Result<FilterByTableResponse, KineticaError>
Sends a pre-built FilterByTableRequest to the /filter/bytable endpoint.
pub async fn filter_by_table_from_url( &self, url: &str, request: &FilterByTableRequest, ) -> Result<FilterByTableResponse, KineticaError>
Sends a pre-built FilterByTableRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.