Skip to main content

A set of parameters for Kinetica.lockTable. More…

Inheritance diagram for kinetica.LockTableRequest:
Collaboration diagram for kinetica.LockTableRequest:

Classes

struct  LockType
 A set of string constants for the parameter LockTableRequest.lock_type. More…
 

Public Member Functions

 LockTableRequest ()
 Constructs a LockTableRequest object with default parameters.
 
 LockTableRequest (string table_name, string lock_type=null, IDictionary< string, string > options=null)
 Constructs a LockTableRequest object with the specified parameters.
 
 LockTableRequest ()
 Constructs a LockTableRequest object with default parameters.
 
 LockTableRequest (string table_name, string lock_type=null, IDictionary< string, string > options=null)
 Constructs a LockTableRequest object with the specified parameters.
 
 Public Member Functions inherited from kinetica.KineticaData
 KineticaData (KineticaType type)
 Constructor from Kinetica Type.
 
 KineticaData (System.Type type=null)
 Default constructor, with optional System.Type.
 
object Get (int fieldPos)
 Retrieve a specific property from this object.
 
void Put (int fieldPos, object fieldValue)
 Write a specific property to this object.
 
 KineticaData (KineticaType type)
 Constructor from Kinetica Type.
 
 KineticaData (System.Type type=null)
 Default constructor, with optional System.Type.
 
object Get (int fieldPos)
 Retrieve a specific property from this object.
 
void Put (int fieldPos, object fieldValue)
 Write a specific property to this object.
 

Properties

string table_name [get, set]
 Name of the table to be locked, in [schema_name.
 
string lock_type = LockType.STATUS [get, set]
 The type of lock being applied to the table.
 
IDictionary< string, string > options = new Dictionary<string, string>() [get, set]
 Optional parameters.
 
 Properties inherited from kinetica.KineticaData
Schema Schema [get]
 Avro Schema for this class.
 

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.
 
static ? RecordSchema SchemaFromType (System.Type t, KineticaType? ktype=null)
 Create an Avro Schema from a System.Type and a KineticaType.
 

Detailed Description

A set of parameters for Kinetica.lockTable.

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

Definition at line 27 of file LockTable.cs.

Constructor & Destructor Documentation

◆ LockTableRequest() [1/4]

kinetica.LockTableRequest.LockTableRequest ()
inline

Constructs a LockTableRequest object with default parameters.

Definition at line 108 of file LockTable.cs.

◆ LockTableRequest() [2/4]

kinetica.LockTableRequest.LockTableRequest (stringtable_name,
stringlock_type = null,
IDictionary< string, string >options = null )
inline

Constructs a LockTableRequest object with the specified parameters.

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.

Definition at line 157 of file LockTable.cs.

◆ LockTableRequest() [3/4]

kinetica.LockTableRequest.LockTableRequest ()
inline

Constructs a LockTableRequest object with default parameters.

Definition at line 108 of file LockTable.cs.

◆ LockTableRequest() [4/4]

kinetica.LockTableRequest.LockTableRequest (stringtable_name,
stringlock_type = null,
IDictionary< string, string >options = null )
inline

Constructs a LockTableRequest object with the specified parameters.

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.

Definition at line 157 of file LockTable.cs.

Property Documentation

◆ lock_type

string kinetica.LockTableRequest.lock_type = LockType.STATUS
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. Supported values:

The default value is STATUS.

Definition at line 99 of file LockTable.cs.

◆ options

IDictionary< string, string > kinetica.LockTableRequest.options = new Dictionary<string, string>()
getset

Optional parameters.

The default value is an empty Dictionary.

Definition at line 104 of file LockTable.cs.

◆ table_name

string kinetica.LockTableRequest.table_name
getset

Name 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.

Definition at line 59 of file LockTable.cs.


The documentation for this class was generated from the following files:
  • _build/public-os_ubuntu24.04-arch_amd64-cc_gcc_13.3.0/install/Kinetica/Protocol/LockTable.cs
  • Kinetica/Protocol/LockTable.cs