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

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

#include <gpudb/protocol/lock_table.h>

Public Member Functions

 LockTableResponse ()
 Constructs a LockTableResponse object with default parameter values. More...
 

Public Attributes

std::string lockType
 
std::map< std::string,
std::string > 
info
 

Detailed Description

A set of output parameters for const.

Manages global access to a table's data. By default a table has a lockType of read_write, indicating all operations are permitted. A user may request a read_only or a write_only lock, after which only read or write operations, respectively, are permitted on the table until the lock is removed. When lockType is no_access then no operations are permitted on the table. The lock status can be queried by setting lockType to status.

Definition at line 139 of file lock_table.h.

Constructor & Destructor Documentation

gpudb::LockTableResponse::LockTableResponse ( )
inline

Constructs a LockTableResponse object with default parameter values.

Definition at line 145 of file lock_table.h.

Member Data Documentation

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

Definition at line 152 of file lock_table.h.

std::string gpudb::LockTableResponse::lockType

Definition at line 151 of file lock_table.h.


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