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

A set of parameters for GPUdb::createSchema. More...

#include <gpudb/protocol/create_schema.h>

Public Member Functions

 CreateSchemaRequest ()
 Constructs a CreateSchemaRequest object with default parameters. More...
 
 CreateSchemaRequest (const std::string &schemaName_, const std::map< std::string, std::string > &options_)
 Constructs a CreateSchemaRequest object with the specified parameters. More...
 

Public Attributes

std::string schemaName
 Name of the schema to be created. More...
 
std::map< std::string, std::string > options
 Optional parameters. More...
 

Detailed Description

A set of parameters for GPUdb::createSchema.

Creates a SQL-style schema. Schemas are containers for tables and views. Multiple tables and views can be defined with the same name in different schemas.

Definition at line 21 of file create_schema.h.

Constructor & Destructor Documentation

◆ CreateSchemaRequest() [1/2]

gpudb::CreateSchemaRequest::CreateSchemaRequest ( )
inline

Constructs a CreateSchemaRequest object with default parameters.

Definition at line 26 of file create_schema.h.

◆ CreateSchemaRequest() [2/2]

gpudb::CreateSchemaRequest::CreateSchemaRequest ( const std::string &  schemaName_,
const std::map< std::string, std::string > &  options_ 
)
inline

Constructs a CreateSchemaRequest object with the specified parameters.

Parameters
[in]schemaName_Name of the schema to be created. Has the same naming restrictions as tables.
[in]options_Optional parameters. The default value is an empty map.

Definition at line 61 of file create_schema.h.

Member Data Documentation

◆ options

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

Optional parameters.

The default value is an empty map.

Definition at line 91 of file create_schema.h.

◆ schemaName

std::string gpudb::CreateSchemaRequest::schemaName

Name of the schema to be created.

Has the same naming restrictions as tables.

Definition at line 71 of file create_schema.h.


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