GPUdb C++ API  Version 6.2.0.3
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. If a new table is being created, the type of the table is given by typeId, which must the be the 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, it will be created.

To create a new collection, specify the name of the collection in tableName and set the is_collection option to true; typeId will be ignored.

Definition at line 230 of file create_table.h.

Constructor & Destructor Documentation

◆ CreateTableResponse()

gpudb::CreateTableResponse::CreateTableResponse ( )
inline

Constructs a CreateTableResponse object with default parameter values.

Definition at line 237 of file create_table.h.

Member Data Documentation

◆ isCollection

bool gpudb::CreateTableResponse::isCollection

Definition at line 246 of file create_table.h.

◆ tableName

std::string gpudb::CreateTableResponse::tableName

Definition at line 244 of file create_table.h.

◆ typeId

std::string gpudb::CreateTableResponse::typeId

Definition at line 245 of file create_table.h.


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