◆ 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.
| [in] | request_ | Request object containing the parameters for 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.
◆ 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.
| [in] | tableName | 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. |
| [in] | viewName | 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. The default value is ”. |
| [in] | columnName | Name of the column by whose value the data will be filtered from the table designated by tableName. |
| [in] | sourceTableName | Name 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] | sourceTableColumnName | Name 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] | options | Optional parameters.
|
◆ 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.
| [in] | tableName | 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. |
| [in] | viewName | 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. The default value is ”. |
| [in] | columnName | Name of the column by whose value the data will be filtered from the table designated by tableName. |
| [in] | sourceTableName | Name 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] | sourceTableColumnName | Name 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] | options | Optional parameters.
|
| [out] | response_ | Response object containing the results of the operation. |