Kinetica C# API  Version 6.0.1.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
CreateType.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 
54  {
55 
63  public struct Properties
64  {
65 
68  public const string DATA = "data";
69 
73  public const string TEXT_SEARCH = "text_search";
74 
80  public const string STORE_ONLY = "store_only";
81 
88  public const string DISK_OPTIMIZED = "disk_optimized";
89 
95  public const string TIMESTAMP = "timestamp";
96 
103  public const string DECIMAL = "decimal";
104 
109  public const string DATE = "date";
110 
115  public const string TIME = "time";
116 
121  public const string CHAR1 = "char1";
122 
127  public const string CHAR2 = "char2";
128 
133  public const string CHAR4 = "char4";
134 
139  public const string CHAR8 = "char8";
140 
145  public const string CHAR16 = "char16";
146 
151  public const string CHAR32 = "char32";
152 
157  public const string CHAR64 = "char64";
158 
163  public const string CHAR128 = "char128";
164 
169  public const string CHAR256 = "char256";
170 
174  public const string INT8 = "int8";
175 
179  public const string INT16 = "int16";
180 
186  public const string IPV4 = "ipv4";
187 
190  public const string PRIMARY_KEY = "primary_key";
191 
194  public const string SHARD_KEY = "shard_key";
195 
209  public const string NULLABLE = "nullable";
210  } // end struct Properties
211 
212 
215  public string type_definition { get; set; }
216 
220  public string label { get; set; }
221 
227  public IDictionary<string, IList<string>> properties { get; set; } = new Dictionary<string, IList<string>>();
228 
230  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
231 
232 
235  public CreateTypeRequest() { }
236 
254  string label,
255  IDictionary<string, IList<string>> properties = null,
256  IDictionary<string, string> options = null)
257  {
258  this.type_definition = type_definition ?? "";
259  this.label = label ?? "";
260  this.properties = properties ?? new Dictionary<string, IList<string>>();
261  this.options = options ?? new Dictionary<string, string>();
262  } // end constructor
263 
264  } // end class CreateTypeRequest
265 
266 
267 
270  {
271 
274  public string type_id { get; set; }
275 
278  public string type_definition { get; set; }
279 
282  public string label { get; set; }
283 
286  public IDictionary<string, IList<string>> properties { get; set; } = new Dictionary<string, IList<string>>();
287 
288  } // end class CreateTypeResponse
289 
290 
291 
292 
293 } // end namespace kinetica
const string TIME
Valid only for &#39;string&#39; columns.
Definition: CreateType.cs:115
CreateTypeRequest()
Constructs a CreateTypeRequest object with default parameters.
Definition: CreateType.cs:235
const string STORE_ONLY
Persist the column value but do not make it available to queries (e.g.
Definition: CreateType.cs:80
const string CHAR128
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:163
A set of parameters for /create/type.
Definition: CreateType.cs:53
IDictionary< string, string > options
Optional parameters.
Definition: CreateType.cs:230
IDictionary< string, IList< string > > properties
Value of .
Definition: CreateType.cs:286
const string CHAR1
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:121
string type_definition
a JSON string describing the columns of the type to be registered.
Definition: CreateType.cs:215
const string DATE
Valid only for &#39;string&#39; columns.
Definition: CreateType.cs:109
string label
A user-defined description string which can be used to differentiate between tables and types with ot...
Definition: CreateType.cs:220
const string DISK_OPTIMIZED
Works in conjunction with the &#39;data&#39; property for string columns.
Definition: CreateType.cs:88
string type_id
An identifier representing the created type.
Definition: CreateType.cs:274
const string INT16
This property provides optimized memory and query performance for int columns.
Definition: CreateType.cs:179
const string TEXT_SEARCH
Valid only for &#39;string&#39; columns.
Definition: CreateType.cs:73
const string CHAR8
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:139
const string CHAR2
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:127
const string TIMESTAMP
Valid only for &#39;long&#39; columns.
Definition: CreateType.cs:95
const string SHARD_KEY
This property indicates that this column will be part of (or the entire) shard key.
Definition: CreateType.cs:194
const string CHAR32
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:151
IDictionary< string, IList< string > > properties
Each key-value pair specifies the properties to use for a given column where the key is the column na...
Definition: CreateType.cs:227
const string DECIMAL
Valid only for &#39;string&#39; columns.
Definition: CreateType.cs:103
const string CHAR4
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:133
CreateTypeRequest(string type_definition, string label, IDictionary< string, IList< string >> properties=null, IDictionary< string, string > options=null)
Constructs a CreateTypeRequest object with the specified parameters.
Definition: CreateType.cs:253
string type_definition
Value of .
Definition: CreateType.cs:278
const string CHAR256
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:169
const string IPV4
This property provides optimized memory, disk and query performance for string columns representing I...
Definition: CreateType.cs:186
const string CHAR16
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:145
string label
Value of .
Definition: CreateType.cs:282
const string INT8
This property provides optimized memory and query performance for int columns.
Definition: CreateType.cs:174
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
Each key-value pair specifies the properties to use for a given column where the key is the column na...
Definition: CreateType.cs:63
const string CHAR64
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:157
const string NULLABLE
This property indicates that this column is nullable.
Definition: CreateType.cs:209
const string PRIMARY_KEY
This property indicates that this column will be part of (or the entire) primary key.
Definition: CreateType.cs:190
A set of results returned by /create/type.
Definition: CreateType.cs:269
const string DATA
Default property for all numeric and string type columns; makes the column available for GPU queries...
Definition: CreateType.cs:68