Kinetica   C#   API  Version 7.2.3.0
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  {
46  public const string REPAIR_POLICY = "repair_policy";
47 
49  public const string DELETE_CHUNKS = "delete_chunks";
50 
53  public const string SHRINK_COLUMNS = "shrink_columns";
54 
56  public const string REPLAY_WAL = "replay_wal";
57 
72  public const string VERIFY_ALL = "verify_all";
73 
74  public const string TRUE = "true";
75  public const string FALSE = "false";
76  } // end struct Options
77 
80  public IList<string> table_names { get; set; } = new List<string>();
81 
133  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
134 
138 
195  public AdminRepairTableRequest( IList<string> table_names,
196  IDictionary<string, string> options = null)
197  {
198  this.table_names = table_names ?? new List<string>();
199  this.options = options ?? new Dictionary<string, string>();
200  } // end constructor
201  } // end class AdminRepairTableRequest
202 
207  {
209  public IList<string> table_names { get; set; } = new List<string>();
210 
212  public IList<string> repair_status { get; set; } = new List<string>();
213 
215  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
216  } // end class AdminRepairTableResponse
217 } // end namespace kinetica
const string SHRINK_COLUMNS
Shrinks corrupted chunks to the shortest column
IList< string > repair_status
List of repair status by table.
AdminRepairTableRequest()
Constructs an AdminRepairTableRequest object with default parameters.
IDictionary< string, string > options
Optional parameters.
A set of parameters for Kinetica.adminRepairTable.
const string REPAIR_POLICY
Corrective action to take.
IDictionary< string, string > info
Additional information.
IList< string > table_names
List of tables to query.
IList< string > table_names
List of repaired tables.
AdminRepairTableRequest(IList< string > table_names, IDictionary< string, string > options=null)
Constructs an AdminRepairTableRequest object with the specified parameters.
const string REPLAY_WAL
Manually invokes wal replay on the table
const string DELETE_CHUNKS
Deletes any corrupted chunks
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
A set of string constants for the parameter options.
A set of results returned by Kinetica.adminRepairTable.
const string VERIFY_ALL
If FALSE only table chunk data already known to be corrupted will be repaired.