Kinetica   C#   API  Version 7.2.3.1
AdminRepairTable.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 namespace kinetica;
10 
17 {
21  public struct Options
22  {
50  public const string REPAIR_POLICY = "repair_policy";
51 
53  public const string DELETE_CHUNKS = "delete_chunks";
54 
56  public const string SHRINK_COLUMNS = "shrink_columns";
57 
60  public const string REPLAY_WAL = "replay_wal";
61 
64  public const string ALTER_TABLE = "alter_table";
65 
79  public const string VERIFY_ALL = "verify_all";
80 
81  public const string TRUE = "true";
82  public const string FALSE = "false";
83  } // end struct Options
84 
87  public IList<string> table_names { get; set; } = new List<string>();
88 
90  public IDictionary<string, string> table_types { get; set; } = new Dictionary<string, string>();
91 
148  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
149 
153 
216  public AdminRepairTableRequest( IList<string> table_names,
217  IDictionary<string, string> table_types,
218  IDictionary<string, string> options = null)
219  {
220  this.table_names = table_names ?? new List<string>();
221  this.table_types = table_types ?? new Dictionary<string, string>();
222  this.options = options ?? new Dictionary<string, string>();
223  } // end constructor
224 } // end class AdminRepairTableRequest
225 
230 {
232  public IList<string> table_names { get; set; } = new List<string>();
233 
235  public IList<string> repair_status { get; set; } = new List<string>();
236 
238  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
239 } // end class AdminRepairTableResponse
A set of results returned by Kinetica.adminRepairTable.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
IList< string > table_names
List of tables to query.
const string SHRINK_COLUMNS
Shrinks corrupted chunks to the shortest column.
IDictionary< string, string > info
Additional information.
A set of parameters for Kinetica.adminRepairTable.
const string ALTER_TABLE
Reset columns modification after incomplete alter column.
IList< string > table_names
List of repaired tables.
AdminRepairTableRequest()
Constructs an AdminRepairTableRequest object with default parameters.
IList< string > repair_status
List of repair status by table.
A set of string constants for the parameter options.
AdminRepairTableRequest(IList< string > table_names, IDictionary< string, string > table_types, IDictionary< string, string > options=null)
Constructs an AdminRepairTableRequest object with the specified parameters.
IDictionary< string, string > table_types
ID of the type per table.
const string DELETE_CHUNKS
Deletes any corrupted chunks.
const string REPLAY_WAL
Manually invokes write-ahead log (WAL) replay on the table.
IDictionary< string, string > options
Optional parameters.
const string VERIFY_ALL
If FALSE only table chunk data already known to be corrupted will be repaired.
const string REPAIR_POLICY
Corrective action to take.