Kinetica   C#   API  Version 7.2.3.1
AdminShowClusterOperations.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 
21 {
25  public int history_index { get; set; } = 0;
26 
30  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
31 
35 
44  IDictionary<string, string> options = null)
45  {
46  this.history_index = history_index ?? 0;
47  this.options = options ?? new Dictionary<string, string>();
48  } // end constructor
49 } // end class AdminShowClusterOperationsRequest
50 
55 {
60  public struct InProgress
61  {
62  public const string TRUE = "true";
63  public const string FALSE = "false";
64  } // end struct InProgress
65 
70  public struct OverallStatus
71  {
74  public const string OK = "OK";
75 
77  public const string ERROR = "ERROR";
78  } // end struct OverallStatus
79 
84  public struct UserStopped
85  {
86  public const string TRUE = "true";
87  public const string FALSE = "false";
88  } // end struct UserStopped
89 
93  public struct DryRun
94  {
95  public const string TRUE = "true";
96  public const string FALSE = "false";
97  } // end struct DryRun
98 
103  public struct AddRanks
104  {
105  public const string TRUE = "true";
106  public const string FALSE = "false";
107  } // end struct AddRanks
108 
113  public struct AddRanksStatus
114  {
115  public const string NOT_STARTED = "NOT_STARTED";
116  public const string IN_PROGRESS = "IN_PROGRESS";
117  public const string INTERRUPTED = "INTERRUPTED";
118  public const string COMPLETED_OK = "COMPLETED_OK";
119  public const string ERROR = "ERROR";
120  } // end struct AddRanksStatus
121 
126  public struct RemoveRanks
127  {
128  public const string TRUE = "true";
129  public const string FALSE = "false";
130  } // end struct RemoveRanks
131 
136  public struct RemoveRanksStatus
137  {
138  public const string NOT_STARTED = "NOT_STARTED";
139  public const string IN_PROGRESS = "IN_PROGRESS";
140  public const string INTERRUPTED = "INTERRUPTED";
141  public const string COMPLETED_OK = "COMPLETED_OK";
142  public const string ERROR = "ERROR";
143  } // end struct RemoveRanksStatus
144 
149  public struct Rebalance
150  {
151  public const string TRUE = "true";
152  public const string FALSE = "false";
153  } // end struct Rebalance
154 
160  {
161  public const string TRUE = "true";
162  public const string FALSE = "false";
163  } // end struct RebalanceUnshardedData
164 
171  {
172  public const string NOT_STARTED = "NOT_STARTED";
173  public const string IN_PROGRESS = "IN_PROGRESS";
174  public const string INTERRUPTED = "INTERRUPTED";
175  public const string COMPLETED_OK = "COMPLETED_OK";
176  public const string ERROR = "ERROR";
177  } // end struct RebalanceUnshardedDataStatus
178 
183  public struct RebalanceShardedData
184  {
185  public const string TRUE = "true";
186  public const string FALSE = "false";
187  } // end struct RebalanceShardedData
188 
195  {
196  public const string NOT_STARTED = "NOT_STARTED";
197  public const string IN_PROGRESS = "IN_PROGRESS";
198  public const string INTERRUPTED = "INTERRUPTED";
199  public const string COMPLETED_OK = "COMPLETED_OK";
200  public const string ERROR = "ERROR";
201  } // end struct RebalanceShardedDataStatus
202 
206  public int history_index { get; set; }
207 
209  public int history_size { get; set; }
210 
222  public bool in_progress { get; set; }
223 
225  public string start_time { get; set; }
226 
228  public string end_time { get; set; }
229 
231  public string endpoint { get; set; }
232 
234  public string endpoint_schema { get; set; }
235 
250  public string overall_status { get; set; }
251 
263  public bool user_stopped { get; set; }
264 
266  public int percent_complete { get; set; }
267 
278  public bool dry_run { get; set; }
279 
281  public IList<string> messages { get; set; } = new List<string>();
282 
294  public bool add_ranks { get; set; }
295 
320  public string add_ranks_status { get; set; }
321 
324  public IList<int> ranks_being_added { get; set; } = new List<int>();
325 
328  public IList<string> rank_hosts { get; set; } = new List<string>();
329 
331  public int add_ranks_percent_complete { get; set; }
332 
344  public bool remove_ranks { get; set; }
345 
370  public string remove_ranks_status { get; set; }
371 
374  public IList<int> ranks_being_removed { get; set; } = new List<int>();
375 
378  public int remove_ranks_percent_complete { get; set; }
379 
391  public bool rebalance { get; set; }
392 
404  public bool rebalance_unsharded_data { get; set; }
405 
435  public string rebalance_unsharded_data_status { get; set; }
436 
439  public int unsharded_rebalance_percent_complete { get; set; }
440 
452  public bool rebalance_sharded_data { get; set; }
453 
458  public long shard_array_version { get; set; }
459 
489  public string rebalance_sharded_data_status { get; set; }
490 
493  public int num_shards_changing { get; set; }
494 
497  public int sharded_rebalance_percent_complete { get; set; }
498 
500  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
501 } // end class AdminShowClusterOperationsResponse
int num_shards_changing
Number of shards that will change as part of rebalance.
A set of string constants for the parameter user_stopped.
bool in_progress
Whether this cluster operation is currently in progress or not.
A set of string constants for the parameter rebalance_unsharded_data.
string add_ranks_status
If this was a rank-adding operation, the add-specific status of the operation.
IDictionary< string, string > options
Optional parameters.
int history_index
The index of this cluster operation in the reverse-chronologically sorted list of operations,...
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
A set of string constants for the parameter rebalance_sharded_data.
AdminShowClusterOperationsRequest()
Constructs an AdminShowClusterOperationsRequest object with default parameters.
int sharded_rebalance_percent_complete
Percentage of shard keys, and their associated data if applicable, that have completed rebalancing.
AdminShowClusterOperationsRequest(int? history_index=null, IDictionary< string, string > options=null)
Constructs an AdminShowClusterOperationsRequest object with the specified parameters.
A set of string constants for the parameter rebalance.
bool rebalance
Whether data and/or shard rebalancing is (or was) part of this operation.
A set of results returned by Kinetica.adminShowClusterOperations.
bool rebalance_sharded_data
Whether rebalancing of sharded data is (or was) part of this operation.
bool user_stopped
Whether a user stopped this operation at any point while in progress.
int percent_complete
Percent complete of this entire operation.
A set of string constants for the parameter remove_ranks_status.
bool dry_run
Whether this operation was a dry run.
long shard_array_version
Version of the shard array that is (or was) being rebalanced to.
string rebalance_sharded_data_status
If this was an operation that included rebalancing sharded data, the rebalancing-specific status of t...
const string OK
The operation was successful, or, if still in progress, the operation is successful so far.
A set of string constants for the parameter rebalance_sharded_data_status.
int unsharded_rebalance_percent_complete
Percentage of unsharded tables that completed rebalancing, out of all unsharded tables to rebalance.
string start_time
The start time of the cluster operation.
IList< string > rank_hosts
The host IP addresses of the ranks being added, in the same order as the ranks_being_added list.
IList< string > messages
Updates and error messages if any.
A set of string constants for the parameter add_ranks.
int history_index
Indicates which cluster operation to retrieve.
A set of string constants for the parameter add_ranks_status.
string end_time
The end time of the cluster operation, if completed.
A set of string constants for the parameter dry_run.
int remove_ranks_percent_complete
Current percent complete of the remove ranks operation.
A set of string constants for the parameter in_progress.
string rebalance_unsharded_data_status
If this was an operation that included rebalancing unsharded data, the rebalancing-specific status of...
IList< int > ranks_being_removed
The ranks being removed, or that have been removed if the operation is completed.
string endpoint_schema
The schema for the original request.
bool remove_ranks
Whether removing ranks is (or was) part of this operation.
const string ERROR
An error occurred executing the operation.
int history_size
Number of cluster operations executed to date.
string endpoint
The endpoint that initiated the cluster operation.
IList< int > ranks_being_added
The rank numbers of the ranks currently being added, or the rank numbers that were added if the opera...
A set of string constants for the parameter rebalance_unsharded_data_status.
A set of string constants for the parameter overall_status.
A set of string constants for the parameter remove_ranks.
bool add_ranks
Whether adding ranks is (or was) part of this operation.
string overall_status
Overall success status of the operation.
int add_ranks_percent_complete
Current percent complete of the add ranks operation.
string remove_ranks_status
If this was a rank-removing operation, the removal-specific status of the operation.
IDictionary< string, string > info
Additional information.
bool rebalance_unsharded_data
Whether rebalancing of unsharded data is (or was) part of this operation.
A set of parameters for Kinetica.adminShowClusterOperations.