Skip to main content

◆ filterByTable() [1/4]

FilterByTableResponse gpudb::GPUdb::filterByTable (const FilterByTableRequest &request_) const

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 viewName 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.

Parameters
[in]request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

◆ filterByTable() [2/4]

FilterByTableResponse & gpudb::GPUdb::filterByTable (const FilterByTableRequest &request_,
FilterByTableResponse &response_ ) const

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 viewName 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.

Parameters
[in]request_Request object containing the parameters for the operation.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).

◆ filterByTable() [3/4]

FilterByTableResponse gpudb::GPUdb::filterByTable (const std::string &tableName,
const std::string &viewName,
const std::string &columnName,
const std::string &sourceTableName,
const std::string &sourceTableColumnName,
const std::map< std::string, std::string > &options ) const

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 viewName 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.

Parameters
[in]tableNameName of the table whose data will be filtered, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table.
[in]viewNameIf 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. The default value is ”.
[in]columnNameName of the column by whose value the data will be filtered from the table designated by tableName.
[in]sourceTableNameName of the table whose data will be compared against in the table called tableName, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table.
[in]sourceTableColumnNameName of the column in the sourceTableName whose values will be used as the filter for table tableName. Must be a geospatial geometry column if in ‘spatial’ mode; otherwise, Must match the type of the columnName.
[in]optionsOptional parameters.The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ filterByTable() [4/4]

FilterByTableResponse & gpudb::GPUdb::filterByTable (const std::string &tableName,
const std::string &viewName,
const std::string &columnName,
const std::string &sourceTableName,
const std::string &sourceTableColumnName,
const std::map< std::string, std::string > &options,
FilterByTableResponse &response_ ) const

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 viewName 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.

Parameters
[in]tableNameName of the table whose data will be filtered, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table.
[in]viewNameIf 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. The default value is ”.
[in]columnNameName of the column by whose value the data will be filtered from the table designated by tableName.
[in]sourceTableNameName of the table whose data will be compared against in the table called tableName, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table.
[in]sourceTableColumnNameName of the column in the sourceTableName whose values will be used as the filter for table tableName. Must be a geospatial geometry column if in ‘spatial’ mode; otherwise, Must match the type of the columnName.
[in]optionsOptional parameters.The default value is an empty map.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).