7 using System.Collections.Generic;
47 public const string FIRST =
"first";
51 public const string LAST =
"last";
55 public const string BEFORE =
"before";
59 public const string AFTER =
"after";
105 public const string TRUE =
"true";
106 public const string FALSE =
"false";
130 public string name {
get;
set; }
144 public IDictionary<string, IDictionary<string, string>>
tier_attributes {
get;
set; } =
new Dictionary<string, IDictionary<string, string>>();
181 public string ranking {
get;
set; } = Ranking.EMPTY_STRING;
264 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
408 IDictionary<
string, IDictionary<string, string>>
tier_attributes =
null,
411 IDictionary<string, string>
options =
null)
413 this.name =
name ??
"";
428 public string name {
get;
set; }
431 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
const string MAX_SCHEDULING_PRIORITY
Maximum priority of a scheduled task for this group.
IDictionary< string, IDictionary< string, string > > tier_attributes
Optional map containing tier names and their respective attribute group limits.
A set of parameters for Kinetica.alterResourceGroup.
string ranking
If the resource group ranking is to be updated, this indicates the relative ranking among existing re...
A set of results returned by Kinetica.alterResourceGroup.
AlterResourceGroupRequest()
Constructs an AlterResourceGroupRequest object with default parameters.
KineticaData - class to help with Avro Encoding for Kinetica
const string AFTER
Place this resource group after the one specified by adjoining_resource_group in the ordering.
A set of string constants for the parameter tier_attributes.
string name
Value of name.
IDictionary< string, string > info
Additional information.
const string LAST
Make this resource group the new last one in the ordering.
const string MAX_DATA
Maximum amount of data, per rank, in bytes, that can be used by all database objects within this grou...
A set of string constants for the parameter ranking.
string name
Name of the group to be altered.
IDictionary< string, string > options
Optional parameters.
A set of string constants for the parameter options.
AlterResourceGroupRequest(string name, IDictionary< string, IDictionary< string, string >> tier_attributes=null, string ranking=null, string adjoining_resource_group=null, IDictionary< string, string > options=null)
Constructs an AlterResourceGroupRequest object with the specified parameters.
const string PERSIST
If TRUE and a system-level change was requested, the system configuration will be written to disk upo...
const string FIRST
Make this resource group the new first one in the ordering.
const string BEFORE
Place this resource group before the one specified by adjoining_resource_group in the ordering.
const string MAX_MEMORY
Maximum amount of memory usable at one time, per rank, per GPU, for the VRAM tier; or maximum amount ...
const string EMPTY_STRING
Don't change the ranking.
const string MAX_TIER_PRIORITY
Maximum priority of a tiered object for this group.
string adjoining_resource_group
If ranking is BEFORE or AFTER, this field indicates the resource group before or after which the curr...
const string IS_DEFAULT_GROUP
If TRUE, this request applies to the global default resource group.
const string MAX_CPU_CONCURRENCY
Maximum number of simultaneous threads that will be used to execute a request, per rank,...