7 using System.Collections.Generic;
26 public class LockTableRequest : KineticaData
34 public struct LockType
37 public const string STATUS =
"status";
40 public const string NO_ACCESS =
"no_access";
43 public const string READ_ONLY =
"read_only";
90 public string lock_type {
get;
set; } = LockType.STATUS;
95 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
145 IDictionary<string, string>
options =
null)
156 public class LockTableResponse : KineticaData
162 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
const string READ_WRITE
Allow all read/write operations
LockTableRequest(string table_name, string lock_type=null, IDictionary< string, string > options=null)
Constructs a LockTableRequest object with the specified parameters.
const string WRITE_ONLY
Allow only write operations
const string STATUS
Show locked status
string table_name
Name of the table to be locked, in [schema_name.
string lock_type
Returns the lock state of the table.
IDictionary< string, string > info
Additional information.
const string READ_ONLY
Allow only read operations
LockTableRequest()
Constructs a LockTableRequest object with default parameters.
IDictionary< string, string > options
Optional parameters.
A set of string constants for the parameter lock_type.
string lock_type
The type of lock being applied to the table.
const string NO_ACCESS
Allow no read/write operations