Kinetica   C#   API  Version 7.2.3.0
AlterTier.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 {
25  {
29  public struct Options
30  {
33  public const string CAPACITY = "capacity";
34 
40  public const string HIGH_WATERMARK = "high_watermark";
41 
48  public const string LOW_WATERMARK = "low_watermark";
49 
54  public const string WAIT_TIMEOUT = "wait_timeout";
55 
70  public const string PERSIST = "persist";
71 
72  public const string TRUE = "true";
73  public const string FALSE = "false";
74 
79  public const string RANK = "rank";
80  } // end struct Options
81 
85  public string name { get; set; }
86 
146  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
147 
150  public AlterTierRequest() { }
151 
216  public AlterTierRequest( string name,
217  IDictionary<string, string> options = null)
218  {
219  this.name = name ?? "";
220  this.options = options ?? new Dictionary<string, string>();
221  } // end constructor
222  } // end class AlterTierRequest
223 
228  {
231  public string name { get; set; }
232 
234  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
235  } // end class AlterTierResponse
236 } // end namespace kinetica
const string WAIT_TIMEOUT
Timeout in seconds for reading from or writing to this resource.
Definition: AlterTier.cs:54
const string CAPACITY
Maximum size in bytes this tier may hold at once.
Definition: AlterTier.cs:33
A set of results returned by Kinetica.alterTier.
Definition: AlterTier.cs:227
string name
Value of name.
Definition: AlterTier.cs:231
const string HIGH_WATERMARK
Threshold of usage of this tier's resource that once exceeded, will trigger watermark-based eviction ...
Definition: AlterTier.cs:40
string name
Name of the tier to be altered.
Definition: AlterTier.cs:85
const string LOW_WATERMARK
Threshold of resource usage that once fallen below after crossing the HIGH_WATERMARK,...
Definition: AlterTier.cs:48
const string RANK
Apply the requested change only to a specific rank.
Definition: AlterTier.cs:79
A set of parameters for Kinetica.alterTier.
Definition: AlterTier.cs:24
A set of string constants for the parameter options.
Definition: AlterTier.cs:29
IDictionary< string, string > info
Additional information.
Definition: AlterTier.cs:234
AlterTierRequest(string name, IDictionary< string, string > options=null)
Constructs an AlterTierRequest object with the specified parameters.
Definition: AlterTier.cs:216
const string PERSIST
If TRUE the system configuration will be written to disk upon successful application of this request.
Definition: AlterTier.cs:70
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
AlterTierRequest()
Constructs an AlterTierRequest object with default parameters.
Definition: AlterTier.cs:150
IDictionary< string, string > options
Optional parameters.
Definition: AlterTier.cs:146