GPUdb C++ API
Version 5.2.0.0
|
A set of input parameters for deleteRecords(const DeleteRecordsRequest&) const. More...
#include <gpudb/protocol/delete_records.h>
Public Member Functions | |
DeleteRecordsRequest () | |
Constructs a DeleteRecordsRequest object with default parameter values. More... | |
DeleteRecordsRequest (const std::string &tableName, const std::vector< std::string > &expressions, const std::map< std::string, std::string > &options) | |
Constructs a DeleteRecordsRequest object with the specified parameters. More... | |
Public Attributes | |
std::string | tableName |
std::vector< std::string > | expressions |
std::map< std::string, std::string > | options |
A set of input parameters for deleteRecords(const DeleteRecordsRequest&) const.
Deletes record(s) matching the provided criteria from the given table. The record selection criteria can either be one or more expressions (matching multiple records) or a single record identified by record_id options. Note that the two selection criteria are mutually exclusive. This operation cannot be run on a collection or a view. The operation is synchronous meaning that a response will not be available until the request is completely processed and all the matching records are deleted.
Definition at line 25 of file delete_records.h.
|
inline |
Constructs a DeleteRecordsRequest object with default parameter values.
Definition at line 32 of file delete_records.h.
|
inline |
Constructs a DeleteRecordsRequest object with the specified parameters.
[in] | tableName | Name of the table from which to delete records. The set must be a currently existing table and not a collection or a view. |
[in] | expressions | A list of the actual predicates, one for each select; format should follow the guidelines provided /filter. Specifying one or more expressions is mutually exclusive to specifying record_id in the options. |
[in] | options | Optional parameters.
|
Definition at line 66 of file delete_records.h.
std::vector<std::string> gpudb::DeleteRecordsRequest::expressions |
Definition at line 74 of file delete_records.h.
std::map<std::string, std::string> gpudb::DeleteRecordsRequest::options |
Definition at line 75 of file delete_records.h.
std::string gpudb::DeleteRecordsRequest::tableName |
Definition at line 73 of file delete_records.h.