Skip to main content

A set of parameters for Kinetica.adminRepairTable. More…

Inheritance diagram for kinetica.AdminRepairTableRequest:
Collaboration diagram for kinetica.AdminRepairTableRequest:

Classes

struct  Options
 A set of string constants for the parameter AdminRepairTableRequest.options. More…
 

Public Member Functions

 AdminRepairTableRequest ()
 Constructs an AdminRepairTableRequest object with default parameters.
 
 AdminRepairTableRequest (IList< string > table_names, IDictionary< string, string > table_types, IDictionary< string, string > options=null)
 Constructs an AdminRepairTableRequest object with the specified parameters.
 
 AdminRepairTableRequest ()
 Constructs an AdminRepairTableRequest object with default parameters.
 
 AdminRepairTableRequest (IList< string > table_names, IDictionary< string, string > table_types, IDictionary< string, string > options=null)
 Constructs an AdminRepairTableRequest 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

IList< string > table_names = new List<string>() [get, set]
 List of tables to query.
 
IDictionary< string, string > table_types = new Dictionary<string, string>() [get, set]
 ID of the type per 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.adminRepairTable.

Manually repair a corrupted table. Returns information about affected tables.

Definition at line 16 of file AdminRepairTable.cs.

Constructor & Destructor Documentation

◆ AdminRepairTableRequest() [1/4]

kinetica.AdminRepairTableRequest.AdminRepairTableRequest ()
inline

Constructs an AdminRepairTableRequest object with default parameters.

Definition at line 181 of file AdminRepairTable.cs.

◆ AdminRepairTableRequest() [2/4]

kinetica.AdminRepairTableRequest.AdminRepairTableRequest (IList< string >table_names,
IDictionary< string, string >table_types,
IDictionary< string, string >options = null )
inline

Constructs an AdminRepairTableRequest object with the specified parameters.

Parameters
table_namesList of tables to query. An asterisk returns all tables.
table_typesID of the type per table.
optionsOptional parameters.
  • REPAIR_POLICY: Corrective action to take. Supported values:
    • DELETE_CHUNKS: Deletes any corrupted chunks.
    • SHRINK_COLUMNS: Shrinks corrupted chunks to the shortest column.
    • REPLAY_WAL: Manually invokes write-ahead log (WAL) replay on the table.
    • ALTER_TABLE: Reset columns modification after incomplete alter column.
  • VERIFY_ALL: If FALSE only table chunk data already known to be corrupted will be repaired. Otherwise the database will perform a full table scan to check for correctness. Supported values:The default value is FALSE.
The default value is an empty Dictionary.

Definition at line 256 of file AdminRepairTable.cs.

◆ AdminRepairTableRequest() [3/4]

kinetica.AdminRepairTableRequest.AdminRepairTableRequest ()
inline

Constructs an AdminRepairTableRequest object with default parameters.

Definition at line 181 of file AdminRepairTable.cs.

◆ AdminRepairTableRequest() [4/4]

kinetica.AdminRepairTableRequest.AdminRepairTableRequest (IList< string >table_names,
IDictionary< string, string >table_types,
IDictionary< string, string >options = null )
inline

Constructs an AdminRepairTableRequest object with the specified parameters.

Parameters
table_namesList of tables to query. An asterisk returns all tables.
table_typesID of the type per table.
optionsOptional parameters.
  • REPAIR_POLICY: Corrective action to take. Supported values:
    • DELETE_CHUNKS: Deletes any corrupted chunks.
    • SHRINK_COLUMNS: Shrinks corrupted chunks to the shortest column.
    • REPLAY_WAL: Manually invokes write-ahead log (WAL) replay on the table.
    • ALTER_TABLE: Reset columns modification after incomplete alter column.
  • VERIFY_ALL: If FALSE only table chunk data already known to be corrupted will be repaired. Otherwise the database will perform a full table scan to check for correctness. Supported values:The default value is FALSE.
The default value is an empty Dictionary.

Definition at line 256 of file AdminRepairTable.cs.

Property Documentation

◆ options

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

Optional parameters.

  • REPAIR_POLICY: Corrective action to take. Supported values:
    • DELETE_CHUNKS: Deletes any corrupted chunks.
    • SHRINK_COLUMNS: Shrinks corrupted chunks to the shortest column.
    • REPLAY_WAL: Manually invokes write-ahead log (WAL) replay on the table.
    • ALTER_TABLE: Reset columns modification after incomplete alter column.
  • VERIFY_ALL: If FALSE only table chunk data already known to be corrupted will be repaired. Otherwise the database will perform a full table scan to check for correctness. Supported values:The default value is FALSE.

The default value is an empty Dictionary.

Definition at line 177 of file AdminRepairTable.cs.

◆ table_names

IList< string > kinetica.AdminRepairTableRequest.table_names = new List<string>()
getset

List of tables to query.

An asterisk returns all tables.

Definition at line 105 of file AdminRepairTable.cs.

◆ table_types

IDictionary< string, string > kinetica.AdminRepairTableRequest.table_types = new Dictionary<string, string>()
getset

ID of the type per table.

Definition at line 108 of file AdminRepairTable.cs.


The documentation for this class was generated from the following files: