GPUdb C++ API  Version 6.2.0.3
gpudb::CreateMaterializedViewRequest Struct Reference

A set of input parameters for createMaterializedView(const CreateMaterializedViewRequest&) const. More...

#include <gpudb/protocol/create_materialized_view.h>

Public Member Functions

 CreateMaterializedViewRequest ()
 Constructs a CreateMaterializedViewRequest object with default parameter values. More...
 
 CreateMaterializedViewRequest (const std::string &tableName_, const std::map< std::string, std::string > &options_)
 Constructs a CreateMaterializedViewRequest object with the specified parameters. More...
 

Public Attributes

std::string tableName
 
std::map< std::string, std::string > options
 

Detailed Description

A set of input parameters for createMaterializedView(const CreateMaterializedViewRequest&) const.

Initiates the process of creating a materialized view, reserving the view's name to prevent other views or tables from being created with that name.

For materialized view details and examples, see Materialized Views.

The response contains viewId, which is used to tag each subsequent operation (projection, union, aggregation, filter, or join) that will compose the view.

Definition at line 28 of file create_materialized_view.h.

Constructor & Destructor Documentation

◆ CreateMaterializedViewRequest() [1/2]

gpudb::CreateMaterializedViewRequest::CreateMaterializedViewRequest ( )
inline

Constructs a CreateMaterializedViewRequest object with default parameter values.

Definition at line 35 of file create_materialized_view.h.

◆ CreateMaterializedViewRequest() [2/2]

gpudb::CreateMaterializedViewRequest::CreateMaterializedViewRequest ( const std::string &  tableName_,
const std::map< std::string, std::string > &  options_ 
)
inline

Constructs a CreateMaterializedViewRequest object with the specified parameters.

Parameters
[in]tableName_Name of the table to be created that is the top-level table of the materialized view.
[in]options_Optional parameters.

Definition at line 118 of file create_materialized_view.h.

Member Data Documentation

◆ options

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

Definition at line 125 of file create_materialized_view.h.

◆ tableName

std::string gpudb::CreateMaterializedViewRequest::tableName

Definition at line 124 of file create_materialized_view.h.


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