GPUdb C++ API  Version 7.0.19.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gpudb::FilterByTableRequest Struct Reference

A set of input parameters for const. More...

#include <gpudb/protocol/filter_by_table.h>

Public Member Functions

 FilterByTableRequest ()
 Constructs a FilterByTableRequest object with default parameter values. More...
 
 FilterByTableRequest (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_)
 Constructs a FilterByTableRequest object with the specified parameters. More...
 

Public Attributes

std::string tableName
 
std::string viewName
 
std::string columnName
 
std::string sourceTableName
 
std::string sourceTableColumnName
 
std::map< std::string,
std::string > 
options
 

Detailed Description

A set of input parameters for 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.

Definition at line 26 of file filter_by_table.h.

Constructor & Destructor Documentation

gpudb::FilterByTableRequest::FilterByTableRequest ( )
inline

Constructs a FilterByTableRequest object with default parameter values.

Definition at line 33 of file filter_by_table.h.

gpudb::FilterByTableRequest::FilterByTableRequest ( 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_ 
)
inline

Constructs a FilterByTableRequest object with the specified parameters.

Parameters
[in]tableName_Name of the table whose data will be filtered. Must be an existing table.
[in]viewName_If provided, then this will be the name of the view containing the results. Has the same naming restrictions as tables.
[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. 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.

Definition at line 133 of file filter_by_table.h.

Member Data Documentation

std::string gpudb::FilterByTableRequest::columnName

Definition at line 145 of file filter_by_table.h.

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

Definition at line 148 of file filter_by_table.h.

std::string gpudb::FilterByTableRequest::sourceTableColumnName

Definition at line 147 of file filter_by_table.h.

std::string gpudb::FilterByTableRequest::sourceTableName

Definition at line 146 of file filter_by_table.h.

std::string gpudb::FilterByTableRequest::tableName

Definition at line 143 of file filter_by_table.h.

std::string gpudb::FilterByTableRequest::viewName

Definition at line 144 of file filter_by_table.h.


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