GPUdb C++ API
Version 5.2.0.0
|
A set of input parameters for filterByString(const FilterByStringRequest&) const. More...
#include <gpudb/protocol/filter_by_string.h>
Public Member Functions | |
FilterByStringRequest () | |
Constructs a FilterByStringRequest object with default parameter values. More... | |
FilterByStringRequest (const std::string &tableName, const std::string &viewName, const std::string &expression, const std::string &mode, const std::vector< std::string > &columnNames, const std::map< std::string, std::string > &options) | |
Constructs a FilterByStringRequest object with the specified parameters. More... | |
Public Attributes | |
std::string | tableName |
std::string | viewName |
std::string | expression |
std::string | mode |
std::vector< std::string > | columnNames |
std::map< std::string, std::string > | options |
A set of input parameters for filterByString(const FilterByStringRequest&) const.
Calculates which objects from a table, collection, or view match a string expression for the given string columns. The 'mode' may be:
The options 'case_sensitive' can be used to modify the behavior for all modes except 'search'
Definition at line 81 of file filter_by_string.h.
|
inline |
Constructs a FilterByStringRequest object with default parameter values.
Definition at line 88 of file filter_by_string.h.
|
inline |
Constructs a FilterByStringRequest object with the specified parameters.
[in] | tableName | Name of the table on which the filter operation will be performed. Must be a valid GPUdb table, collection or view. |
[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 expression with which to filter the table. |
[in] | mode | The string filtering mode to apply. See above for details. Values: 'search', 'equals', 'contains', 'starts_with', 'regex'. |
[in] | columnNames | List of columns on which to apply the filter. Ignored for 'search' mode. |
[in] | options | Optional parameters.
|
Definition at line 125 of file filter_by_string.h.
std::vector<std::string> gpudb::FilterByStringRequest::columnNames |
Definition at line 139 of file filter_by_string.h.
std::string gpudb::FilterByStringRequest::expression |
Definition at line 137 of file filter_by_string.h.
std::string gpudb::FilterByStringRequest::mode |
Definition at line 138 of file filter_by_string.h.
std::map<std::string, std::string> gpudb::FilterByStringRequest::options |
Definition at line 140 of file filter_by_string.h.
std::string gpudb::FilterByStringRequest::tableName |
Definition at line 135 of file filter_by_string.h.
std::string gpudb::FilterByStringRequest::viewName |
Definition at line 136 of file filter_by_string.h.