GPUdb C++ API  Version 5.2.0.0
gpudb::CreateTableResponse Struct Reference

A set of output parameters for createTable(const CreateTableRequest&) const. More...

#include <gpudb/protocol/create_table.h>

Public Member Functions

 CreateTableResponse ()
 Constructs a CreateTableResponse object with default parameter values. More...
 

Public Attributes

std::string tableName
 
std::string typeId
 
bool isCollection
 

Detailed Description

A set of output parameters for createTable(const CreateTableRequest&) const.

Creates a new table or collection in GPUdb. If a new table is being created then type of the table is given by typeId which must the be the type id of a currently registered type (i.e. one created via createType(const CreateTypeRequest&) const). The table will be created inside a collection if the option collection_name is specified. If that collection does not already exist then it will be created. To create a new, empty collection specify the collection name in tableName, leave typeId blank, and set the is_collection option to 'true'.

Definition at line 175 of file create_table.h.

Constructor & Destructor Documentation

gpudb::CreateTableResponse::CreateTableResponse ( )
inline

Constructs a CreateTableResponse object with default parameter values.

Definition at line 182 of file create_table.h.

Member Data Documentation

bool gpudb::CreateTableResponse::isCollection

Definition at line 191 of file create_table.h.

std::string gpudb::CreateTableResponse::tableName

Definition at line 189 of file create_table.h.

std::string gpudb::CreateTableResponse::typeId

Definition at line 190 of file create_table.h.


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