Kinetica C# API  Version 6.0.1.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
AdminSetShardAssignments.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 
19  {
20 
23 
26  public long version { get; set; }
27 
30  public bool partial_reassignment { get; set; }
31 
34  public IList<int> shard_assignments_rank { get; set; } = new List<int>();
35 
38  public IList<int> shard_assignments_tom { get; set; } = new List<int>();
39 
42  public IList<int> assignment_index { get; set; } = new List<int>();
43 
46  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
47 
48 
53 
67  IList<int> shard_assignments_rank,
68  IList<int> shard_assignments_tom,
69  IList<int> assignment_index,
70  IDictionary<string, string> options = null)
71  {
72  this.version = version;
73  this.partial_reassignment = partial_reassignment;
74  this.shard_assignments_rank = shard_assignments_rank ?? new List<int>();
75  this.shard_assignments_tom = shard_assignments_tom ?? new List<int>();
76  this.assignment_index = assignment_index ?? new List<int>();
77  this.options = options ?? new Dictionary<string, string>();
78  } // end constructor
79 
80 
83  } // end class AdminSetShardAssignmentsRequest
84 
85 
86 
90  {
91 
94 
97  public long version { get; set; }
98 
99 
102  } // end class AdminSetShardAssignmentsResponse
103 
104 
105 
106 
107 } // end namespace kinetica
A set of parameters for /admin/setshardassignments.
A set of results returned by /admin/setshardassignments.
AdminSetShardAssignmentsRequest()
Constructs an AdminSetShardAssignmentsRequest object with default parameters.
AdminSetShardAssignmentsRequest(long version, bool partial_reassignment, IList< int > shard_assignments_rank, IList< int > shard_assignments_tom, IList< int > assignment_index, IDictionary< string, string > options=null)
Constructs an AdminSetShardAssignmentsRequest object with the specified parameters.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14