Skip to main content

◆ lockTable() [1/2]

LockTableResponse kinetica.Kinetica.lockTable (LockTableRequestrequest_)
inline

Manages global access to a table’s data.

By default a table has a lock_type 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 lock_type is NO_ACCESS then no operations are permitted on the table. The lock status can be queried by setting lock_type to STATUS.

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

Definition at line 53261 of file KineticaFunctions.cs.

◆ lockTable() [2/2]

LockTableResponse kinetica.Kinetica.lockTable (stringtable_name,
stringlock_type = LockTableRequest::LockType::STATUS,
IDictionary< string, string >options = null )
inline

Manages global access to a table’s data.

By default a table has a lock_type 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 lock_type is NO_ACCESS then no operations are permitted on the table. The lock status can be queried by setting lock_type to STATUS.

Parameters
table_nameName of the table to be locked, in [schema_name.]table_name format, using standard name resolution rules. It must be a currently existing table or view.
lock_typeThe type of lock being applied to the table. Setting it to STATUS will return the current lock status of the table without changing it. Supported values:The default value is STATUS.
optionsOptional parameters. The default value is an empty Dictionary.
Returns
Response object containing the result of the operation.

Definition at line 53358 of file KineticaFunctions.cs.

◆ LockTableAsync() [1/2]

async System.Threading.Tasks.Task< LockTableResponse > kinetica.Kinetica.LockTableAsync (LockTableRequestrequest_,
System.Threading.CancellationTokencancellationToken = default )
inline

Manages global access to a table’s data.

(async)

By default a table has a lock_type 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 lock_type is NO_ACCESS then no operations are permitted on the table. The lock status can be queried by setting lock_type to STATUS.

Parameters
request_Request object containing the parameters for the operation.
cancellationTokenCancellation token to cancel the operation.
Returns
Task that returns the response object containing the result of the operation.

Definition at line 53290 of file KineticaFunctions.cs.

◆ LockTableAsync() [2/2]

async System.Threading.Tasks.Task< LockTableResponse > kinetica.Kinetica.LockTableAsync (stringtable_name,
stringlock_type = LockTableRequest::LockType::STATUS,
IDictionary< string, string >options = null,
System.Threading.CancellationTokencancellationToken = default )
inline

Manages global access to a table’s data.

(async)

By default a table has a lock_type 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 lock_type is NO_ACCESS then no operations are permitted on the table. The lock status can be queried by setting lock_type to STATUS.

Parameters
table_nameName of the table to be locked, in [schema_name.]table_name format, using standard name resolution rules. It must be a currently existing table or view.
lock_typeThe type of lock being applied to the table. Setting it to STATUS will return the current lock status of the table without changing it. Supported values:The default value is STATUS.
optionsOptional parameters. The default value is an empty Dictionary.
cancellationTokenCancellation token to cancel the operation.
Returns
Task that returns the response object containing the result of the operation.

Definition at line 53427 of file KineticaFunctions.cs.