◆ filterByArea() [1/4]
| FilterByAreaResponse gpudb::GPUdb::filterByArea | ( | const FilterByAreaRequest & | request_ | ) | const |
Calculates which objects from a table are within a named area of interest (NAI/polygon).
The operation is synchronous, meaning that a response will not be returned until all the matching objects are fully available. The response payload provides the count of the resulting set. A new resultant set (view) which satisfies the input NAI restriction specification is created with the name viewName passed in as part of the input.
| [in] | request_ | Request object containing the parameters for the operation. |
◆ filterByArea() [2/4]
| FilterByAreaResponse & gpudb::GPUdb::filterByArea | ( | const FilterByAreaRequest & | request_, |
| FilterByAreaResponse & | response_ ) const |
Calculates which objects from a table are within a named area of interest (NAI/polygon).
The operation is synchronous, meaning that a response will not be returned until all the matching objects are fully available. The response payload provides the count of the resulting set. A new resultant set (view) which satisfies the input NAI restriction specification is created with the name viewName passed in as part of the input.
◆ filterByArea() [3/4]
| FilterByAreaResponse gpudb::GPUdb::filterByArea | ( | const std::string & | tableName, |
| const std::string & | viewName, | ||
| const std::string & | xColumnName, | ||
| const std::vector< double > & | xVector, | ||
| const std::string & | yColumnName, | ||
| const std::vector< double > & | yVector, | ||
| const std::map< std::string, std::string > & | options ) const |
Calculates which objects from a table are within a named area of interest (NAI/polygon).
The operation is synchronous, meaning that a response will not be returned until all the matching objects are fully available. The response payload provides the count of the resulting set. A new resultant set (view) which satisfies the input NAI restriction specification is created with the name viewName passed in as part of the input.
| [in] | tableName | Name of the table to filter, in [schema_name.]table_name format, using standard name resolution rules. This may be the name of a table or a view (when chaining queries). |
| [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] | xColumnName | Name of the column containing the x values to be filtered. |
| [in] | xVector | List of x coordinates of the vertices of the polygon representing the area to be filtered. |
| [in] | yColumnName | Name of the column containing the y values to be filtered. |
| [in] | yVector | List of y coordinates of the vertices of the polygon representing the area to be filtered. |
| [in] | options | Optional parameters.
|
◆ filterByArea() [4/4]
| FilterByAreaResponse & gpudb::GPUdb::filterByArea | ( | const std::string & | tableName, |
| const std::string & | viewName, | ||
| const std::string & | xColumnName, | ||
| const std::vector< double > & | xVector, | ||
| const std::string & | yColumnName, | ||
| const std::vector< double > & | yVector, | ||
| const std::map< std::string, std::string > & | options, | ||
| FilterByAreaResponse & | response_ ) const |
Calculates which objects from a table are within a named area of interest (NAI/polygon).
The operation is synchronous, meaning that a response will not be returned until all the matching objects are fully available. The response payload provides the count of the resulting set. A new resultant set (view) which satisfies the input NAI restriction specification is created with the name viewName passed in as part of the input.
| [in] | tableName | Name of the table to filter, in [schema_name.]table_name format, using standard name resolution rules. This may be the name of a table or a view (when chaining queries). |
| [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] | xColumnName | Name of the column containing the x values to be filtered. |
| [in] | xVector | List of x coordinates of the vertices of the polygon representing the area to be filtered. |
| [in] | yColumnName | Name of the column containing the y values to be filtered. |
| [in] | yVector | List of y coordinates of the vertices of the polygon representing the area to be filtered. |
| [in] | options | Optional parameters.
|
| [out] | response_ | Response object containing the results of the operation. |