Kinetica C# API  Version 7.0.19.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
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 
10 
11 namespace kinetica
12 {
13 
25  {
26 
29  public int history_index { get; set; } = 0;
30 
33  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
34 
35 
39 
50  IDictionary<string, string> options = null)
51  {
52  this.history_index = history_index ?? 0;
53  this.options = options ?? new Dictionary<string, string>();
54  } // end constructor
55 
56  } // end class AdminShowClusterOperationsRequest
57 
58 
59 
64  {
65 
81  public struct InProgress
82  {
83  public const string TRUE = "true";
84  public const string FALSE = "false";
85  } // end struct InProgress
86 
87 
106  public struct OverallStatus
107  {
108 
111  public const string OK = "OK";
112 
114  public const string ERROR = "ERROR";
115  } // end struct OverallStatus
116 
117 
133  public struct UserStopped
134  {
135  public const string TRUE = "true";
136  public const string FALSE = "false";
137  } // end struct UserStopped
138 
139 
154  public struct DryRun
155  {
156  public const string TRUE = "true";
157  public const string FALSE = "false";
158  } // end struct DryRun
159 
160 
175  public struct AddRanks
176  {
177  public const string TRUE = "true";
178  public const string FALSE = "false";
179  } // end struct AddRanks
180 
181 
209  public struct AddRanksStatus
210  {
211  public const string NOT_STARTED = "NOT_STARTED";
212  public const string IN_PROGRESS = "IN_PROGRESS";
213  public const string INTERRUPTED = "INTERRUPTED";
214  public const string COMPLETED_OK = "COMPLETED_OK";
215  public const string ERROR = "ERROR";
216  } // end struct AddRanksStatus
217 
218 
233  public struct RemoveRanks
234  {
235  public const string TRUE = "true";
236  public const string FALSE = "false";
237  } // end struct RemoveRanks
238 
239 
267  public struct RemoveRanksStatus
268  {
269  public const string NOT_STARTED = "NOT_STARTED";
270  public const string IN_PROGRESS = "IN_PROGRESS";
271  public const string INTERRUPTED = "INTERRUPTED";
272  public const string COMPLETED_OK = "COMPLETED_OK";
273  public const string ERROR = "ERROR";
274  } // end struct RemoveRanksStatus
275 
276 
292  public struct Rebalance
293  {
294  public const string TRUE = "true";
295  public const string FALSE = "false";
296  } // end struct Rebalance
297 
298 
315  {
316  public const string TRUE = "true";
317  public const string FALSE = "false";
318  } // end struct RebalanceUnshardedData
319 
320 
349  {
350  public const string NOT_STARTED = "NOT_STARTED";
351  public const string IN_PROGRESS = "IN_PROGRESS";
352  public const string INTERRUPTED = "INTERRUPTED";
353  public const string COMPLETED_OK = "COMPLETED_OK";
354  public const string ERROR = "ERROR";
355  } // end struct RebalanceUnshardedDataStatus
356 
357 
373  public struct RebalanceShardedData
374  {
375  public const string TRUE = "true";
376  public const string FALSE = "false";
377  } // end struct RebalanceShardedData
378 
379 
408  {
409  public const string NOT_STARTED = "NOT_STARTED";
410  public const string IN_PROGRESS = "IN_PROGRESS";
411  public const string INTERRUPTED = "INTERRUPTED";
412  public const string COMPLETED_OK = "COMPLETED_OK";
413  public const string ERROR = "ERROR";
414  } // end struct RebalanceShardedDataStatus
415 
416 
420  public int history_index { get; set; }
421 
423  public int history_size { get; set; }
424 
438  public bool in_progress { get; set; }
439 
441  public string start_time { get; set; }
442 
445  public string end_time { get; set; }
446 
449  public string endpoint { get; set; }
450 
452  public string endpoint_schema { get; set; }
453 
470  public string overall_status { get; set; }
471 
485  public bool user_stopped { get; set; }
486 
488  public int percent_complete { get; set; }
489 
502  public bool dry_run { get; set; }
503 
505  public IList<string> messages { get; set; } = new List<string>();
506 
519  public bool add_ranks { get; set; }
520 
546  public string add_ranks_status { get; set; }
547 
551  public IList<int> ranks_being_added { get; set; } = new List<int>();
552 
556  public IList<string> rank_hosts { get; set; } = new List<string>();
557 
560  public int add_ranks_percent_complete { get; set; }
561 
574  public bool remove_ranks { get; set; }
575 
601  public string remove_ranks_status { get; set; }
602 
605  public IList<int> ranks_being_removed { get; set; } = new List<int>();
606 
609  public int remove_ranks_percent_complete { get; set; }
610 
624  public bool rebalance { get; set; }
625 
639  public bool rebalance_unsharded_data { get; set; }
640 
666  public string rebalance_unsharded_data_status { get; set; }
667 
670  public int unsharded_rebalance_percent_complete { get; set; }
671 
685  public bool rebalance_sharded_data { get; set; }
686 
690  public long shard_array_version { get; set; }
691 
717  public string rebalance_sharded_data_status { get; set; }
718 
721  public int num_shards_changing { get; set; }
722 
725  public int sharded_rebalance_percent_complete { get; set; }
726 
728  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
729 
730  } // end class AdminShowClusterOperationsResponse
731 
732 
733 
734 
735 } // end namespace kinetica
long shard_array_version
Version of the shard array that is (or was) being rebalanced to.
If this was an operation that included rebalancing sharded data, the rebalancing-specific status of t...
int sharded_rebalance_percent_complete
Percentage of shard keys, and their associated data if applicable, that have completed rebalancing...
string overall_status
Overall success status of the operation.
A set of results returned by Kinetica.adminShowClusterOperations(int,IDictionary{string, string}).
If this was a rank-removing operation, the removal-specific status of the operation.
If this was a rank-adding operation, the add-specific status of the operation.
int remove_ranks_percent_complete
Current percent complete of the remove ranks operation.
bool rebalance
Whether data and/or shard rebalancing is (or was) part of this operation.
int history_index
The index of this cluster operation in the reverse-chronologically sorted list of operations...
IDictionary< string, string > options
Optional parameters.
Whether rebalancing of unsharded data is (or was) part of this operation.
string add_ranks_status
If this was a rank-adding operation, the add-specific status of the operation.
int add_ranks_percent_complete
Current percent complete of the add ranks operation.
string start_time
The start time of 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...
Whether adding ranks is (or was) part of this operation.
string endpoint
The endpoint that initiated the cluster operation.
Whether a user stopped this operation at any point while in progress.
IList< int > ranks_being_removed
The ranks being removed, or that have been removed if the operation is completed. ...
Whether this cluster operation is currently in progress or not.
string end_time
The end time of the cluster operation, if completed.
IDictionary< string, string > info
Additional information.
int unsharded_rebalance_percent_complete
Percentage of unsharded tables that completed rebalancing, out of all unsharded tables to rebalance...
bool in_progress
Whether this cluster operation is currently in progress or not.
Whether rebalancing of sharded data is (or was) part of this operation.
bool add_ranks
Whether adding ranks is (or was) part of this operation.
AdminShowClusterOperationsRequest(int?history_index=null, IDictionary< string, string > options=null)
Constructs an AdminShowClusterOperationsRequest object with the specified parameters.
IList< string > messages
Updates and error messages if any.
string remove_ranks_status
If this was a rank-removing operation, the removal-specific status of the operation.
const string OK
The operation was successful, or, if still in progress, the operation is successful so far...
const string ERROR
An error occurred executing the operation.
Whether data and/or shard rebalancing is (or was) part of this operation.
string rebalance_unsharded_data_status
If this was an operation that included rebalancing unsharded data, the rebalancing-specific status of...
string rebalance_sharded_data_status
If this was an operation that included rebalancing sharded data, the rebalancing-specific status of t...
bool dry_run
Whether this operation was a dry run.
int num_shards_changing
Number of shards that will change as part of rebalance.
bool remove_ranks
Whether removing ranks is (or was) part of this operation.
A set of parameters for Kinetica.adminShowClusterOperations(int,IDictionary{string, string}).
int history_index
Indicates which cluster operation to retrieve.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
If this was an operation that included rebalancing unsharded data, the rebalancing-specific status of...
bool user_stopped
Whether a user stopped this operation at any point while in progress.
bool rebalance_sharded_data
Whether rebalancing of sharded data is (or was) part of this operation.
int percent_complete
Percent complete of this entire operation.
IList< string > rank_hosts
The host IP addresses of the ranks being added, in the same order as the &lt;member name=&quot;ranks_being_ad...
int history_size
Number of cluster operations executed to date.
AdminShowClusterOperationsRequest()
Constructs an AdminShowClusterOperationsRequest object with default parameters.
bool rebalance_unsharded_data
Whether rebalancing of unsharded data is (or was) part of this operation.
Whether removing ranks is (or was) part of this operation.
string endpoint_schema
The schema for the original request.