GPUdb C++ API
Version 6.0.1.0
|
A set of input parameters for const. More...
#include <gpudb/protocol/filter_by_area.h>
Public Member Functions | |
FilterByAreaRequest () | |
Constructs a FilterByAreaRequest object with default parameter values. More... | |
FilterByAreaRequest (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_) | |
Constructs a FilterByAreaRequest object with the specified parameters. More... | |
Public Attributes | |
std::string | tableName |
std::string | viewName |
std::string | xColumnName |
std::vector< double > | xVector |
std::string | yColumnName |
std::vector< double > | yVector |
std::map< std::string, std::string > | options |
A set of input parameters for 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.
Note that if you call this endpoint using a table that has WKT data, the x_column_name and y_column_name settings are no longer required because the geospatial filter works automatically.
Definition at line 28 of file filter_by_area.h.
|
inline |
Constructs a FilterByAreaRequest object with default parameter values.
Definition at line 35 of file filter_by_area.h.
|
inline |
Constructs a FilterByAreaRequest object with the specified parameters.
[in] | tableName_ | Name of the table to filter. This may be the name of a collection, a table or a view (when chaining queries). Collections may be filtered only if all tables within the collection have the same type ID. |
[in] | viewName_ | If provided, then this will be the name of the view containing the results. Has the same naming restrictions as tables. |
[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. |
Definition at line 71 of file filter_by_area.h.
std::map<std::string, std::string> gpudb::FilterByAreaRequest::options |
Definition at line 88 of file filter_by_area.h.
std::string gpudb::FilterByAreaRequest::tableName |
Definition at line 82 of file filter_by_area.h.
std::string gpudb::FilterByAreaRequest::viewName |
Definition at line 83 of file filter_by_area.h.
std::string gpudb::FilterByAreaRequest::xColumnName |
Definition at line 84 of file filter_by_area.h.
std::vector<double> gpudb::FilterByAreaRequest::xVector |
Definition at line 85 of file filter_by_area.h.
std::string gpudb::FilterByAreaRequest::yColumnName |
Definition at line 86 of file filter_by_area.h.
std::vector<double> gpudb::FilterByAreaRequest::yVector |
Definition at line 87 of file filter_by_area.h.