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  {
52  public const string REPAIR_POLICY = "repair_policy";
53 
55  public const string DELETE_CHUNKS = "delete_chunks";
56 
59  public const string SHRINK_COLUMNS = "shrink_columns";
60 
63  public const string REPLAY_WAL = "replay_wal";
64 
67  public const string ALTER_TABLE = "alter_table";
68 
83  public const string VERIFY_ALL = "verify_all";
84 
85  public const string TRUE = "true";
86  public const string FALSE = "false";
87  } // end struct Options
88 
91  public IList<string> table_names { get; set; } = new List<string>();
92 
94  public IDictionary<string, string> table_types { get; set; } = new Dictionary<string, string>();
95 
154  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
155 
159 
224  public AdminRepairTableRequest( IList<string> table_names,
225  IDictionary<string, string> table_types,
226  IDictionary<string, string> options = null)
227  {
228  this.table_names = table_names ?? new List<string>();
229  this.table_types = table_types ?? new Dictionary<string, string>();
230  this.options = options ?? new Dictionary<string, string>();
231  } // end constructor
232  } // end class AdminRepairTableRequest
233 
237  public class AdminRepairTableResponse : KineticaData
238  {
240  public IList<string> table_names { get; set; } = new List<string>();
241 
243  public IList<string> repair_status { get; set; } = new List<string>();
244 
246  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
247  } // end class AdminRepairTableResponse
248 } // 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
const string ALTER_TABLE
Reset columns modification after incomplete alter column.
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
internal: type_id per table.
IDictionary< string, string > options
Optional parameters.
const string DELETE_CHUNKS
Deletes any corrupted chunks