GPUdb C++ API  Version 7.1.10.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gpudb::InsertRecordsFromQueryRequest Struct Reference

A set of input parameters for const. More...

#include <gpudb/protocol/insert_records_from_query.h>

Public Member Functions

 InsertRecordsFromQueryRequest ()
 Constructs an InsertRecordsFromQueryRequest object with default parameter values. More...
 
 InsertRecordsFromQueryRequest (const std::string &tableName_, const std::string &remoteQuery_, const std::map< std::string, std::map< std::string, std::string > > &modifyColumns_, const std::map< std::string, std::string > &createTableOptions_, const std::map< std::string, std::string > &options_)
 Constructs an InsertRecordsFromQueryRequest object with the specified parameters. More...
 

Public Attributes

std::string tableName
 
std::string remoteQuery
 
std::map< std::string,
std::map< std::string,
std::string > > 
modifyColumns
 
std::map< std::string,
std::string > 
createTableOptions
 
std::map< std::string,
std::string > 
options
 

Detailed Description

A set of input parameters for const.

Computes remote query result and inserts the result data into a new or existing table

Definition at line 19 of file insert_records_from_query.h.

Constructor & Destructor Documentation

gpudb::InsertRecordsFromQueryRequest::InsertRecordsFromQueryRequest ( )
inline

Constructs an InsertRecordsFromQueryRequest object with default parameter values.

Definition at line 26 of file insert_records_from_query.h.

gpudb::InsertRecordsFromQueryRequest::InsertRecordsFromQueryRequest ( const std::string &  tableName_,
const std::string &  remoteQuery_,
const std::map< std::string, std::map< std::string, std::string > > &  modifyColumns_,
const std::map< std::string, std::string > &  createTableOptions_,
const std::map< std::string, std::string > &  options_ 
)
inline

Constructs an InsertRecordsFromQueryRequest object with the specified parameters.

Parameters
[in]tableName_Name of the table into which the data will be inserted, in [schema_name.]table_name format, using standard name resolution rules. If the table does not exist, the table will be created using either an existing type_id or the type inferred from the remote query, and the new table name will have to meet standard table naming criteria.
[in]remoteQuery_Query for which result data needs to be imported
[in]modifyColumns_Not implemented yet
[in]createTableOptions_Options used when creating the target table.
[in]options_Optional parameters.

Definition at line 482 of file insert_records_from_query.h.

Member Data Documentation

std::map<std::string, std::string> gpudb::InsertRecordsFromQueryRequest::createTableOptions

Definition at line 494 of file insert_records_from_query.h.

std::map<std::string, std::map<std::string, std::string> > gpudb::InsertRecordsFromQueryRequest::modifyColumns

Definition at line 493 of file insert_records_from_query.h.

std::map<std::string, std::string> gpudb::InsertRecordsFromQueryRequest::options

Definition at line 495 of file insert_records_from_query.h.

std::string gpudb::InsertRecordsFromQueryRequest::remoteQuery

Definition at line 492 of file insert_records_from_query.h.

std::string gpudb::InsertRecordsFromQueryRequest::tableName

Definition at line 491 of file insert_records_from_query.h.


The documentation for this struct was generated from the following file: