Kinetica C# API  Version 7.0.19.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
AdminRemoveRanks.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 
30  {
31 
91  public struct Options
92  {
93 
111  public const string REBALANCE_SHARDED_DATA = "rebalance_sharded_data";
112  public const string TRUE = "true";
113  public const string FALSE = "false";
114 
133  public const string REBALANCE_UNSHARDED_DATA = "rebalance_unsharded_data";
134 
142  public const string AGGRESSIVENESS = "aggressiveness";
143  } // end struct Options
144 
145 
148  public IList<int> ranks { get; set; } = new List<int>();
149 
207  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
208 
209 
213 
277  public AdminRemoveRanksRequest( IList<int> ranks,
278  IDictionary<string, string> options = null)
279  {
280  this.ranks = ranks ?? new List<int>();
281  this.options = options ?? new Dictionary<string, string>();
282  } // end constructor
283 
284  } // end class AdminRemoveRanksRequest
285 
286 
287 
292  {
293 
296  public IList<int> removed_ranks { get; set; } = new List<int>();
297 
302  public IList<string> results { get; set; } = new List<string>();
303 
305  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
306 
307  } // end class AdminRemoveRanksResponse
308 
309 
310 
311 
312 } // end namespace kinetica
const string AGGRESSIVENESS
Influences how much data to send per rebalance round, during the rebalance portion of removing ranks...
IList< int > removed_ranks
Ranks that were removed from the cluster.
const string REBALANCE_UNSHARDED_DATA
When true, unsharded data (data without primary keys and without shard keys) will be rebalanced to ot...
IDictionary< string, string > options
Optional parameters.
IList< string > results
Text description of the result of each rank being removed.
IDictionary< string, string > info
Additional information.
A set of parameters for Kinetica.adminRemoveRanks(IList{int},IDictionary{string, string}).
AdminRemoveRanksRequest(IList< int > ranks, IDictionary< string, string > options=null)
Constructs an AdminRemoveRanksRequest object with the specified parameters.
IList< int > ranks
Rank numbers of the ranks to be removed from the cluster.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
AdminRemoveRanksRequest()
Constructs an AdminRemoveRanksRequest object with default parameters.
A set of results returned by Kinetica.adminRemoveRanks(IList{int},IDictionary{string, string}).
const string REBALANCE_SHARDED_DATA
When true, data with primary keys or shard keys will be rebalanced to other ranks prior to rank remov...