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

A set of output parameters for lockTable(const LockTableRequest&) 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
 

Detailed Description

A set of output parameters for lockTable(const LockTableRequest&) 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

◆ LockTableResponse()

gpudb::LockTableResponse::LockTableResponse ( )
inline

Constructs a LockTableResponse object with default parameter values.

Definition at line 145 of file lock_table.h.

Member Data Documentation

◆ lockType

std::string gpudb::LockTableResponse::lockType

Definition at line 150 of file lock_table.h.


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