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

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

#include <gpudb/protocol/drop_schema.h>

Public Member Functions

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

Public Attributes

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

Detailed Description

A set of parameters for GPUdb::dropSchema.

Drops an existing SQL-style schema, specified in schemaName.

Definition at line 18 of file drop_schema.h.

Constructor & Destructor Documentation

◆ DropSchemaRequest() [1/2]

gpudb::DropSchemaRequest::DropSchemaRequest ( )
inline

Constructs a DropSchemaRequest object with default parameters.

Definition at line 23 of file drop_schema.h.

◆ DropSchemaRequest() [2/2]

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

Constructs a DropSchemaRequest object with the specified parameters.

Parameters
[in]schemaName_Name of the schema to be dropped. Must be an existing schema.
[in]options_Optional parameters. The default value is an empty map.

Definition at line 77 of file drop_schema.h.

Member Data Documentation

◆ options

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

Optional parameters.

The default value is an empty map.

Definition at line 119 of file drop_schema.h.

◆ schemaName

std::string gpudb::DropSchemaRequest::schemaName

Name of the schema to be dropped.

Must be an existing schema.

Definition at line 86 of file drop_schema.h.


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