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 {
16  public class AdminRepairTableRequest : KineticaData
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 
57  public const string REPLAY_WAL = "replay_wal";
58 
73  public const string VERIFY_ALL = "verify_all";
74 
75  public const string TRUE = "true";
76  public const string FALSE = "false";
77  } // end struct Options
78 
81  public IList<string> table_names { get; set; } = new List<string>();
82 
134  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
135 
139 
196  public AdminRepairTableRequest( IList<string> table_names,
197  IDictionary<string, string> options = null)
198  {
199  this.table_names = table_names ?? new List<string>();
200  this.options = options ?? new Dictionary<string, string>();
201  } // end constructor
202  } // end class AdminRepairTableRequest
203 
207  public class AdminRepairTableResponse : KineticaData
208  {
210  public IList<string> table_names { get; set; } = new List<string>();
211 
213  public IList<string> repair_status { get; set; } = new List<string>();
214 
216  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
217  } // end class AdminRepairTableResponse
218 } // end namespace kinetica
IList< string > table_names
List of repaired tables.
IList< string > repair_status
List of repair status by table.
IList< string > table_names
List of tables to query.
IDictionary< string, string > info
Additional information.
const string REPAIR_POLICY
Corrective action to take.
const string VERIFY_ALL
If FALSE only table chunk data already known to be corrupted will be repaired.
const string SHRINK_COLUMNS
Shrinks corrupted chunks to the shortest column
AdminRepairTableRequest()
Constructs an AdminRepairTableRequest object with default parameters.
const string REPLAY_WAL
Manually invokes write-ahead log (WAL) replay on the table
AdminRepairTableRequest(IList< string > table_names, IDictionary< string, string > options=null)
Constructs an AdminRepairTableRequest object with the specified parameters.
IDictionary< string, string > options
Optional parameters.
const string DELETE_CHUNKS
Deletes any corrupted chunks