GPUdb C++ API
Version 7.0.19.0
|
A set of input parameters for const. More...
#include <gpudb/protocol/append_records.h>
Public Member Functions | |
AppendRecordsRequest () | |
Constructs an AppendRecordsRequest object with default parameter values. More... | |
AppendRecordsRequest (const std::string &tableName_, const std::string &sourceTableName_, const std::map< std::string, std::string > &fieldMap_, const std::map< std::string, std::string > &options_) | |
Constructs an AppendRecordsRequest object with the specified parameters. More... | |
Public Attributes | |
std::string | tableName |
std::string | sourceTableName |
std::map< std::string, std::string > | fieldMap |
std::map< std::string, std::string > | options |
A set of input parameters for const.
Append (or insert) all records from a source table (specified by sourceTableName) to a particular target table (specified by tableName). The field map (specified by fieldMap) holds the user specified map of target table column names with their mapped source column names.
Definition at line 22 of file append_records.h.
|
inline |
Constructs an AppendRecordsRequest object with default parameter values.
Definition at line 29 of file append_records.h.
|
inline |
Constructs an AppendRecordsRequest object with the specified parameters.
[in] | tableName_ | The table name for the records to be appended. Must be an existing table. |
[in] | sourceTableName_ | The source table name to get records from. Must be an existing table name. |
[in] | fieldMap_ | Contains the mapping of column names from the target table (specified by tableName) as the keys, and corresponding column names or expressions (e.g., 'col_name+1') from the source table (specified by sourceTableName). Must be existing column names in source table and target table, and their types must be matched. For details on using expressions, see Expressions. |
[in] | options_ | Optional parameters.
|
Definition at line 118 of file append_records.h.
std::map<std::string, std::string> gpudb::AppendRecordsRequest::fieldMap |
Definition at line 128 of file append_records.h.
std::map<std::string, std::string> gpudb::AppendRecordsRequest::options |
Definition at line 129 of file append_records.h.
std::string gpudb::AppendRecordsRequest::sourceTableName |
Definition at line 127 of file append_records.h.
std::string gpudb::AppendRecordsRequest::tableName |
Definition at line 126 of file append_records.h.