Skip to main content

◆ createMaterializedView() [1/4]

CreateMaterializedViewResponse gpudb::GPUdb::createMaterializedView (const CreateMaterializedViewRequest &request_) 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.

Parameters
[in]request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

◆ createMaterializedView() [2/4]

CreateMaterializedViewResponse & gpudb::GPUdb::createMaterializedView (const CreateMaterializedViewRequest &request_,
CreateMaterializedViewResponse &response_ ) 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.

Parameters
[in]request_Request object containing the parameters for the operation.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).

◆ createMaterializedView() [3/4]

CreateMaterializedViewResponse gpudb::GPUdb::createMaterializedView (const std::string &tableName,
const std::map< std::string, std::string > &options ) 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.

Parameters
[in]tableNameName of the table to be created that is the top-level table of the materialized view, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria.
[in]optionsOptional parameters.The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ createMaterializedView() [4/4]

CreateMaterializedViewResponse & gpudb::GPUdb::createMaterializedView (const std::string &tableName,
const std::map< std::string, std::string > &options,
CreateMaterializedViewResponse &response_ ) 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.

Parameters
[in]tableNameName of the table to be created that is the top-level table of the materialized view, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria.
[in]optionsOptional parameters.The default value is an empty map.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).