GPUdb C++ API
Version 6.2.0.3
|
A set of input parameters for filter(const FilterRequest&) const. More...
#include <gpudb/protocol/filter.h>
Public Member Functions | |
FilterRequest () | |
Constructs a FilterRequest object with default parameter values. More... | |
FilterRequest (const std::string &tableName_, const std::string &viewName_, const std::string &expression_, const std::map< std::string, std::string > &options_) | |
Constructs a FilterRequest object with the specified parameters. More... | |
Public Attributes | |
std::string | tableName |
std::string | viewName |
std::string | expression |
std::map< std::string, std::string > | options |
A set of input parameters for filter(const FilterRequest&) const.
Filters data based on the specified expression. The results are stored in a result set with the given viewName.
For details see Expressions.
The response message contains the number of points for which the expression evaluated to be true, which is equivalent to the size of the result view.
|
inline |
Constructs a FilterRequest object with default parameter values.
|
inline |
Constructs a FilterRequest object with the specified parameters.
[in] | tableName_ | Name of the table to filter. This may be the ID of a collection, table or a result set (for chaining queries). If filtering a collection, all child tables where the filter expression is valid will be filtered; the filtered result tables will then be placed in a collection specified by viewName. |
[in] | viewName_ | If provided, then this will be the name of the view containing the results. Has the same naming restrictions as tables. |
[in] | expression_ | The select expression to filter the specified table. For details see Expressions. |
[in] | options_ | Optional parameters.
|
std::map<std::string, std::string> gpudb::FilterRequest::options |