Skip to main content

A set of parameters for GPUdb::filterByAreaGeometry. More…

#include <gpudb/protocol/filter_by_area_geometry.h>

Public Member Functions

 FilterByAreaGeometryRequest ()
 Constructs a FilterByAreaGeometryRequest object with default parameters.
 
 FilterByAreaGeometryRequest (const std::string &tableName_, const std::string &viewName_, const std::string &columnName_, const std::vector< double > &xVector_, const std::vector< double > &yVector_, const std::map< std::string, std::string > &options_)
 Constructs a FilterByAreaGeometryRequest object with the specified parameters.
 

Public Attributes

std::string tableName
 Name of the table to filter, in [ schema_name. ]table_name format, using standard name resolution rules.
 
std::string 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.
 
std::string columnName
 Name of the geospatial geometry column to be filtered.
 
std::vector< double > xVector
 List of x coordinates of the vertices of the polygon representing the area to be filtered.
 
std::vector< double > yVector
 List of y coordinates of the vertices of the polygon representing the area to be filtered.
 
std::map< std::string, std::string > options
 Optional parameters.
 

Detailed Description

A set of parameters for GPUdb::filterByAreaGeometry.

Calculates which geospatial geometry objects from a table intersect 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.

Definition at line 24 of file filter_by_area_geometry.h.

Constructor & Destructor Documentation

◆ FilterByAreaGeometryRequest() [1/2]

gpudb::FilterByAreaGeometryRequest::FilterByAreaGeometryRequest ()
inline

Constructs a FilterByAreaGeometryRequest object with default parameters.

Definition at line 30 of file filter_by_area_geometry.h.

◆ FilterByAreaGeometryRequest() [2/2]

gpudb::FilterByAreaGeometryRequest::FilterByAreaGeometryRequest (const std::string &tableName_,
const std::string &viewName_,
const std::string &columnName_,
const std::vector< double > &xVector_,
const std::vector< double > &yVector_,
const std::map< std::string, std::string > &options_ )
inline

Constructs a FilterByAreaGeometryRequest object with the specified parameters.

Parameters
[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]columnName_Name of the geospatial geometry column to be filtered.
[in]xVector_List of x coordinates of the vertices of the polygon representing the area 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.The default value is an empty map.

Definition at line 111 of file filter_by_area_geometry.h.

Member Data Documentation

◆ columnName

std::string gpudb::FilterByAreaGeometryRequest::columnName

Name of the geospatial geometry column to be filtered.

Definition at line 144 of file filter_by_area_geometry.h.

◆ options

std::map<std::string, std::string> gpudb::FilterByAreaGeometryRequest::options

Optional parameters.

The default value is an empty map.

Definition at line 191 of file filter_by_area_geometry.h.

◆ tableName

std::string gpudb::FilterByAreaGeometryRequest::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).

Definition at line 128 of file filter_by_area_geometry.h.

◆ viewName

std::string gpudb::FilterByAreaGeometryRequest::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 ”.

Definition at line 139 of file filter_by_area_geometry.h.

◆ xVector

std::vector<double> gpudb::FilterByAreaGeometryRequest::xVector

List of x coordinates of the vertices of the polygon representing the area to be filtered.

Definition at line 150 of file filter_by_area_geometry.h.

◆ yVector

std::vector<double> gpudb::FilterByAreaGeometryRequest::yVector

List of y coordinates of the vertices of the polygon representing the area to be filtered.

Definition at line 156 of file filter_by_area_geometry.h.


The documentation for this struct was generated from the following file: