GPUdb C++ API  Version 7.0.19.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gpudb::AlterTableResponse Struct Reference

A set of output parameters for const. More...

#include <gpudb/protocol/alter_table.h>

Public Member Functions

 AlterTableResponse ()
 Constructs an AlterTableResponse object with default parameter values. More...
 

Public Attributes

std::string tableName
 
std::string action
 
std::string value
 
std::string typeId
 
std::string typeDefinition
 
std::map< std::string,
std::vector< std::string > > 
properties
 
std::string label
 
std::map< std::string,
std::string > 
info
 

Detailed Description

A set of output parameters for const.

Apply various modifications to a table, view, or collection. The available modifications include the following:

Manage a table's columns–a column can be added, removed, or have its type and properties modified, including whether it is compressed or not.

Create or delete an index on a particular column. This can speed up certain operations when using expressions containing equality or relational operators on indexed columns. This only applies to tables.

Create or delete a foreign key on a particular column.

Manage a range-partitioned or a manual list-partitioned table's partitions.

Set (or reset) the tier strategy of a table or view.

Refresh and manage the refresh mode of a materialized view.

Set the time-to-live (TTL). This can be applied to tables, views, or collections. When applied to collections, every contained table & view that is not protected will have its TTL set to the given value.

Set the global access mode (i.e. locking) for a table. This setting trumps any role-based access controls that may be in place; e.g., a user with write access to a table marked read-only will not be able to insert records into it. The mode can be set to read-only, write-only, read/write, and no access.

Change the protection mode to prevent or allow automatic expiration. This can be applied to tables, views, and collections.

Definition at line 516 of file alter_table.h.

Constructor & Destructor Documentation

gpudb::AlterTableResponse::AlterTableResponse ( )
inline

Constructs an AlterTableResponse object with default parameter values.

Definition at line 523 of file alter_table.h.

Member Data Documentation

std::string gpudb::AlterTableResponse::action

Definition at line 536 of file alter_table.h.

std::map<std::string, std::string> gpudb::AlterTableResponse::info

Definition at line 542 of file alter_table.h.

std::string gpudb::AlterTableResponse::label

Definition at line 541 of file alter_table.h.

std::map<std::string, std::vector<std::string> > gpudb::AlterTableResponse::properties

Definition at line 540 of file alter_table.h.

std::string gpudb::AlterTableResponse::tableName

Definition at line 535 of file alter_table.h.

std::string gpudb::AlterTableResponse::typeDefinition

Definition at line 539 of file alter_table.h.

std::string gpudb::AlterTableResponse::typeId

Definition at line 538 of file alter_table.h.

std::string gpudb::AlterTableResponse::value

Definition at line 537 of file alter_table.h.


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