Skip to main content

◆ adminRepairTable() [1/2]

AdminRepairTableResponse kinetica.Kinetica.adminRepairTable (AdminRepairTableRequestrequest_)
inline

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

Parameters
request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

Definition at line 2237 of file KineticaFunctions.cs.

◆ adminRepairTable() [2/2]

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

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

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.
Returns
Response object containing the result of the operation.

Definition at line 2336 of file KineticaFunctions.cs.

◆ AdminRepairTableAsync() [1/2]

async System.Threading.Tasks.Task< AdminRepairTableResponse > kinetica.Kinetica.AdminRepairTableAsync (AdminRepairTableRequestrequest_,
System.Threading.CancellationTokencancellationToken = default )
inline

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

(async)

Parameters
request_Request object containing the parameters for the operation.
cancellationTokenCancellation token to cancel the operation.
Returns
Task that returns the response object containing the result of the operation.

Definition at line 2253 of file KineticaFunctions.cs.

◆ AdminRepairTableAsync() [2/2]

async System.Threading.Tasks.Task< AdminRepairTableResponse > kinetica.Kinetica.AdminRepairTableAsync (IList< string >table_names,
IDictionary< string, string >table_types,
IDictionary< string, string >options = null,
System.Threading.CancellationTokencancellationToken = default )
inline

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

(async)

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.
cancellationTokenCancellation token to cancel the operation.
Returns
Task that returns the response object containing the result of the operation.

Definition at line 2421 of file KineticaFunctions.cs.