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

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

#include <gpudb/protocol/has_schema.h>

Public Member Functions

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

Public Attributes

std::string schemaName
 Name of the schema to check for existence, in root, using standard name resolution rules. More...
 
std::map< std::string, std::string > options
 Optional parameters. More...
 

Detailed Description

A set of parameters for GPUdb::hasSchema.

Checks for the existence of a schema with the given name.

Definition at line 17 of file has_schema.h.

Constructor & Destructor Documentation

◆ HasSchemaRequest() [1/2]

gpudb::HasSchemaRequest::HasSchemaRequest ( )
inline

Constructs a HasSchemaRequest object with default parameters.

Definition at line 22 of file has_schema.h.

◆ HasSchemaRequest() [2/2]

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

Constructs a HasSchemaRequest object with the specified parameters.

Parameters
[in]schemaName_Name of the schema to check for existence, in root, using standard name resolution rules.
[in]options_Optional parameters. The default value is an empty map.

Definition at line 38 of file has_schema.h.

Member Data Documentation

◆ options

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

Optional parameters.

The default value is an empty map.

Definition at line 54 of file has_schema.h.

◆ schemaName

std::string gpudb::HasSchemaRequest::schemaName

Name of the schema to check for existence, in root, using standard name resolution rules.

Definition at line 49 of file has_schema.h.


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