GPUdb C++ API  Version 7.2.2.4
gpudb::AlterTableColumnsResponse Struct Reference

A set of results returned by GPUdb::alterTableColumns. More...

#include <gpudb/protocol/alter_table_columns.h>

Public Member Functions

 AlterTableColumnsResponse ()
 Constructs an AlterTableColumnsResponse object with default parameters. More...
 

Public Attributes

std::string tableName
 Table on which the operation was performed. More...
 
std::string typeId
 return the type_id (when changing a table, a new type may be created) More...
 
std::string typeDefinition
 return the type_definition (when changing a table, a new type may be created) More...
 
std::map< std::string, std::vector< std::string > > properties
 return the type properties (when changing a table, a new type may be created) More...
 
std::string label
 return the type label (when changing a table, a new type may be created) More...
 
std::vector< std::map< std::string, std::string > > columnAlterations
 List of alter table add/delete/change column requests - all for the same table. More...
 
std::map< std::string, std::string > info
 Additional information. More...
 

Detailed Description

A set of results returned by GPUdb::alterTableColumns.

Definition at line 154 of file alter_table_columns.h.

Constructor & Destructor Documentation

◆ AlterTableColumnsResponse()

gpudb::AlterTableColumnsResponse::AlterTableColumnsResponse ( )
inline

Constructs an AlterTableColumnsResponse object with default parameters.

Definition at line 160 of file alter_table_columns.h.

Member Data Documentation

◆ columnAlterations

std::vector<std::map<std::string, std::string> > gpudb::AlterTableColumnsResponse::columnAlterations

List of alter table add/delete/change column requests - all for the same table.

Each request is a map that includes 'column_name', 'action' and the options specific for the action. Note that the same options as in alter table requests but in the same map as the column name and the action. For example: [{'column_name':'col_1','action':'change_column','rename_column':'col_2'},{'column_name':'col_1','action':'add_column', 'type':'int','default_value':'1'}]

Definition at line 209 of file alter_table_columns.h.

◆ info

std::map<std::string, std::string> gpudb::AlterTableColumnsResponse::info

Additional information.

Definition at line 214 of file alter_table_columns.h.

◆ label

std::string gpudb::AlterTableColumnsResponse::label

return the type label (when changing a table, a new type may be created)

Definition at line 198 of file alter_table_columns.h.

◆ properties

std::map<std::string, std::vector<std::string> > gpudb::AlterTableColumnsResponse::properties

return the type properties (when changing a table, a new type may be created)

Definition at line 192 of file alter_table_columns.h.

◆ tableName

std::string gpudb::AlterTableColumnsResponse::tableName

Table on which the operation was performed.

Definition at line 174 of file alter_table_columns.h.

◆ typeDefinition

std::string gpudb::AlterTableColumnsResponse::typeDefinition

return the type_definition (when changing a table, a new type may be created)

Definition at line 186 of file alter_table_columns.h.

◆ typeId

std::string gpudb::AlterTableColumnsResponse::typeId

return the type_id (when changing a table, a new type may be created)

Definition at line 180 of file alter_table_columns.h.


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