Kinetica   C#   API  Version 7.2.3.1
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 namespace kinetica;
10 
33 {
37  public struct Options
38  {
54  public const string REBALANCE_SHARDED_DATA = "rebalance_sharded_data";
55 
56  public const string TRUE = "true";
57  public const string FALSE = "false";
58 
72  public const string REBALANCE_UNSHARDED_DATA = "rebalance_unsharded_data";
73 
83  public const string AGGRESSIVENESS = "aggressiveness";
84  } // end struct Options
85 
96  public IList<string> ranks { get; set; } = new List<string>();
97 
160  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
161 
165 
240  public AdminRemoveRanksRequest( IList<string> ranks,
241  IDictionary<string, string> options = null)
242  {
243  this.ranks = ranks ?? new List<string>();
244  this.options = options ?? new Dictionary<string, string>();
245  } // end constructor
246 } // end class AdminRemoveRanksRequest
247 
252 {
257  public IList<string> removed_ranks { get; set; } = new List<string>();
258 
260  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
261 } // end class AdminRemoveRanksResponse
const string REBALANCE_SHARDED_DATA
If TRUE, sharded data will be rebalanced approximately equally across the cluster.
A set of results returned by Kinetica.adminRemoveRanks.
A set of string constants for the parameter options.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
AdminRemoveRanksRequest()
Constructs an AdminRemoveRanksRequest object with default parameters.
const string REBALANCE_UNSHARDED_DATA
If TRUE, unsharded data (a.k.a.
IList< string > removed_ranks
The number assigned to each rank removed from the cluster.
IDictionary< string, string > options
Optional parameters.
const string AGGRESSIVENESS
Influences how much data is moved at a time during rebalance.
A set of parameters for Kinetica.adminRemoveRanks.
IList< string > ranks
Each array value designates one or more ranks to remove from the cluster.
AdminRemoveRanksRequest(IList< string > ranks, IDictionary< string, string > options=null)
Constructs an AdminRemoveRanksRequest object with the specified parameters.
IDictionary< string, string > info
Additional information.