GPUdb C++ API
Version 7.0.19.0
|
A set of input parameters for const. More...
#include <gpudb/protocol/alter_table_metadata.h>
Public Member Functions | |
AlterTableMetadataRequest () | |
Constructs an AlterTableMetadataRequest object with default parameter values. More... | |
AlterTableMetadataRequest (const std::vector< std::string > &tableNames_, const std::map< std::string, std::string > &metadataMap_, const std::map< std::string, std::string > &options_) | |
Constructs an AlterTableMetadataRequest object with the specified parameters. More... | |
Public Attributes | |
std::vector< std::string > | tableNames |
std::map< std::string, std::string > | metadataMap |
std::map< std::string, std::string > | options |
A set of input parameters for const.
Updates (adds or changes) metadata for tables. The metadata key and values must both be strings. This is an easy way to annotate whole tables rather than single records within tables. Some examples of metadata are owner of the table, table creation timestamp etc.
Definition at line 21 of file alter_table_metadata.h.
|
inline |
Constructs an AlterTableMetadataRequest object with default parameter values.
Definition at line 28 of file alter_table_metadata.h.
|
inline |
Constructs an AlterTableMetadataRequest object with the specified parameters.
[in] | tableNames_ | Names of the tables whose metadata will be updated. All specified tables must exist, or an error will be returned. |
[in] | metadataMap_ | A map which contains the metadata of the tables that are to be updated. Note that only one map is provided for all the tables; so the change will be applied to every table. If the provided map is empty, then all existing metadata for the table(s) will be cleared. |
[in] | options_ | Optional parameters. |
Definition at line 52 of file alter_table_metadata.h.
std::map<std::string, std::string> gpudb::AlterTableMetadataRequest::metadataMap |
Definition at line 60 of file alter_table_metadata.h.
std::map<std::string, std::string> gpudb::AlterTableMetadataRequest::options |
Definition at line 61 of file alter_table_metadata.h.
std::vector<std::string> gpudb::AlterTableMetadataRequest::tableNames |
Definition at line 59 of file alter_table_metadata.h.