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

A set of output parameters for 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
 
std::map< std::string,
std::string > 
info
 

Detailed Description

A set of output parameters for 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 be the ID of a currently registered type (i.e. one created via 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.

A table may optionally be designated to use a replicated distribution scheme, have foreign keys to other tables assigned, be assigned a partitioning scheme, or have a tier strategy assigned.

Definition at line 319 of file create_table.h.

Constructor & Destructor Documentation

gpudb::CreateTableResponse::CreateTableResponse ( )
inline

Constructs a CreateTableResponse object with default parameter values.

Definition at line 326 of file create_table.h.

Member Data Documentation

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

Definition at line 337 of file create_table.h.

bool gpudb::CreateTableResponse::isCollection

Definition at line 336 of file create_table.h.

std::string gpudb::CreateTableResponse::tableName

Definition at line 334 of file create_table.h.

std::string gpudb::CreateTableResponse::typeId

Definition at line 335 of file create_table.h.


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