GPUdb C++ API
Version 5.2.0.0
|
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 concepts.
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). 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. Must not be an already existing collection, table or view . Default value is an empty string. |
[in] | expression | The select expression GPUdb uses to filter the specified table. For details see concepts. |
[in] | options | Optional parameters. Default value is an empty std::map. |
std::map<std::string, std::string> gpudb::FilterRequest::options |