|
Kinetica C# API
Version 6.0.1.0
|
A set of parameters for /lock/table. More...
Inheritance diagram for kinetica.LockTableRequest:
Collaboration diagram for kinetica.LockTableRequest:Classes | |
| struct | LockType |
| The type of lock being applied to the table. More... | |
Public Member Functions | |
| LockTableRequest () | |
| Constructs a LockTableRequest object with default parameters. More... | |
| LockTableRequest (string table_name, string lock_type=null, IDictionary< string, string > options=null) | |
| Constructs a LockTableRequest object with the specified parameters. More... | |
Public Member Functions inherited from kinetica.KineticaData | |
| KineticaData (KineticaType type) | |
| Constructor from Kinetica Type More... | |
| KineticaData (System.Type type=null) | |
| Default constructor, with optional System.Type More... | |
| object | Get (int fieldPos) |
| Retrieve a specific property from this object More... | |
| void | Put (int fieldPos, object fieldValue) |
| Write a specific property to this object More... | |
Properties | |
| string | table_name [get, set] |
| Name of the table to be locked. More... | |
| string | lock_type [get, set] |
| The type of lock being applied to the table. More... | |
| IDictionary< string, string > | options = LockType.STATUS [get, set] |
| Optional parameters. More... | |
Properties inherited from kinetica.KineticaData | |
| Schema | Schema [get] |
| Avro Schema for this class More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from kinetica.KineticaData | |
| static RecordSchema | SchemaFromType (System.Type t, KineticaType ktype=null) |
| Create an Avro Schema from a System.Type and a KineticaType. More... | |
A set of parameters for /lock/table.
Manages global access to a table's data. By default a table has a <member name="lock_type"> of unlock, 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 <member name="lock_type"> is disable then no operations are permitted on the table. The lock status can be queried by setting <member name="lock_type"> to status.
Definition at line 24 of file LockTable.cs.
|
inline |
Constructs a LockTableRequest object with default parameters.
Definition at line 71 of file LockTable.cs.
|
inline |
Constructs a LockTableRequest object with the specified parameters.
| table_name | Name of the table to be locked. It must be a currently existing table, collection, or view. |
| lock_type | The type of lock being applied to the table. Setting it to status will return the current lock status of the table without changing it. Values: status, disable, read-only, write-only, unlock. |
| options | Optional parameters. |
Definition at line 85 of file LockTable.cs.
|
getset |
The type of lock being applied to the table.
Setting it to status will return the current lock status of the table without changing it. Values: status, disable, read-only, write-only, unlock.
Definition at line 63 of file LockTable.cs.
|
getset |
Optional parameters.
Definition at line 66 of file LockTable.cs.
|
getset |
Name of the table to be locked.
It must be a currently existing table, collection, or view.
Definition at line 56 of file LockTable.cs.