Kinetica C# API  Version 7.0.19.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
LockTable.cs
Go to the documentation of this file.
1 /*
2  * This file was autogenerated by the Kinetica schema processor.
3  *
4  * DO NOT EDIT DIRECTLY.
5  */
6 
7 using System.Collections.Generic;
8 
9 
10 
11 namespace kinetica
12 {
13 
27  {
28 
64  public struct LockType
65  {
66 
68  public const string STATUS = "status";
69 
71  public const string NO_ACCESS = "no_access";
72 
74  public const string READ_ONLY = "read_only";
75 
77  public const string WRITE_ONLY = "write_only";
78 
80  public const string READ_WRITE = "read_write";
81  } // end struct LockType
82 
83 
86  public string table_name { get; set; }
87 
121  public string lock_type { get; set; } = LockType.STATUS;
122 
125  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
126 
127 
130  public LockTableRequest() { }
131 
173  public LockTableRequest( string table_name,
174  string lock_type = null,
175  IDictionary<string, string> options = null)
176  {
177  this.table_name = table_name ?? "";
178  this.lock_type = lock_type ?? LockType.STATUS;
179  this.options = options ?? new Dictionary<string, string>();
180  } // end constructor
181 
182  } // end class LockTableRequest
183 
184 
185 
190  {
191 
193  public string lock_type { get; set; }
194 
196  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
197 
198  } // end class LockTableResponse
199 
200 
201 
202 
203 } // end namespace kinetica
IDictionary< string, string > info
Additional information.
Definition: LockTable.cs:196
string lock_type
The type of lock being applied to the table.
Definition: LockTable.cs:121
A set of parameters for Kinetica.lockTable(string,string,IDictionary{string, string}).
Definition: LockTable.cs:26
LockTableRequest(string table_name, string lock_type=null, IDictionary< string, string > options=null)
Constructs a LockTableRequest object with the specified parameters.
Definition: LockTable.cs:173
const string WRITE_ONLY
Allow only write operations
Definition: LockTable.cs:77
const string READ_ONLY
Allow only read operations
Definition: LockTable.cs:74
string table_name
Name of the table to be locked.
Definition: LockTable.cs:86
string lock_type
Returns the lock state of the table.
Definition: LockTable.cs:193
const string NO_ACCESS
Allow no read/write operations
Definition: LockTable.cs:71
const string READ_WRITE
Allow all read/write operations
Definition: LockTable.cs:80
LockTableRequest()
Constructs a LockTableRequest object with default parameters.
Definition: LockTable.cs:130
The type of lock being applied to the table.
Definition: LockTable.cs:64
IDictionary< string, string > options
Optional parameters.
Definition: LockTable.cs:125
const string STATUS
Show locked status
Definition: LockTable.cs:68
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
A set of results returned by Kinetica.lockTable(string,string,IDictionary{string, string})...
Definition: LockTable.cs:189