Kinetica C# API  Version 6.1.0.0
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 
57  {
58 
291  public struct Properties
292  {
293 
296  public const string DATA = "data";
297 
301  public const string TEXT_SEARCH = "text_search";
302 
309  public const string STORE_ONLY = "store_only";
310 
326  public const string DISK_OPTIMIZED = "disk_optimized";
327 
333  public const string TIMESTAMP = "timestamp";
334 
341  public const string DECIMAL = "decimal";
342 
348  public const string DATE = "date";
349 
355  public const string TIME = "time";
356 
362  public const string DATETIME = "datetime";
363 
368  public const string CHAR1 = "char1";
369 
374  public const string CHAR2 = "char2";
375 
380  public const string CHAR4 = "char4";
381 
386  public const string CHAR8 = "char8";
387 
392  public const string CHAR16 = "char16";
393 
398  public const string CHAR32 = "char32";
399 
404  public const string CHAR64 = "char64";
405 
410  public const string CHAR128 = "char128";
411 
416  public const string CHAR256 = "char256";
417 
421  public const string INT8 = "int8";
422 
426  public const string INT16 = "int16";
427 
433  public const string IPV4 = "ipv4";
434 
439  public const string WKT = "wkt";
440 
443  public const string PRIMARY_KEY = "primary_key";
444 
447  public const string SHARD_KEY = "shard_key";
448 
462  public const string NULLABLE = "nullable";
463 
470  public const string DICT = "dict";
471  } // end struct Properties
472 
473 
476  public string type_definition { get; set; }
477 
481  public string label { get; set; }
482 
713  public IDictionary<string, IList<string>> properties { get; set; } = new Dictionary<string, IList<string>>();
714 
716  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
717 
718 
721  public CreateTypeRequest() { }
722 
963  string label,
964  IDictionary<string, IList<string>> properties = null,
965  IDictionary<string, string> options = null)
966  {
967  this.type_definition = type_definition ?? "";
968  this.label = label ?? "";
969  this.properties = properties ?? new Dictionary<string, IList<string>>();
970  this.options = options ?? new Dictionary<string, string>();
971  } // end constructor
972 
973  } // end class CreateTypeRequest
974 
975 
976 
981  {
982 
985  public string type_id { get; set; }
986 
989  public string type_definition { get; set; }
990 
993  public string label { get; set; }
994 
997  public IDictionary<string, IList<string>> properties { get; set; } = new Dictionary<string, IList<string>>();
998 
999  } // end class CreateTypeResponse
1000 
1001 
1002 
1003 
1004 } // end namespace kinetica
const string TIME
Valid only for &#39;string&#39; columns.
Definition: CreateType.cs:355
CreateTypeRequest()
Constructs a CreateTypeRequest object with default parameters.
Definition: CreateType.cs:721
const string STORE_ONLY
Persist the column value but do not make it available to queries (e.g.
Definition: CreateType.cs:309
const string WKT
Valid only for &#39;string&#39; and &#39;bytes&#39; columns.
Definition: CreateType.cs:439
const string CHAR128
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:410
A set of parameters for Kinetica.createType(string,string,IDictionary<string, IList<string>>,IDictionary<string, string>).
Definition: CreateType.cs:56
IDictionary< string, string > options
Optional parameters.
Definition: CreateType.cs:716
const string CHAR1
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:368
string type_definition
a JSON string describing the columns of the type to be registered.
Definition: CreateType.cs:476
const string DATE
Valid only for &#39;string&#39; columns.
Definition: CreateType.cs:348
string label
A user-defined description string which can be used to differentiate between tables and types with ot...
Definition: CreateType.cs:481
const string DISK_OPTIMIZED
Works in conjunction with the &#39;data&#39; property for string columns.
Definition: CreateType.cs:326
const string INT16
This property provides optimized memory and query performance for int columns.
Definition: CreateType.cs:426
const string TEXT_SEARCH
Valid only for &#39;string&#39; columns.
Definition: CreateType.cs:301
const string CHAR8
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:386
const string DICT
This property indicates that this column should be dictionary encoded.
Definition: CreateType.cs:470
const string CHAR2
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:374
const string DATETIME
Valid only for &#39;string&#39; columns.
Definition: CreateType.cs:362
const string TIMESTAMP
Valid only for &#39;long&#39; columns.
Definition: CreateType.cs:333
const string SHARD_KEY
This property indicates that this column will be part of (or the entire) shard key.
Definition: CreateType.cs:447
const string CHAR32
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:398
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:713
const string DECIMAL
Valid only for &#39;string&#39; columns.
Definition: CreateType.cs:341
const string CHAR4
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:380
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:962
const string CHAR256
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:416
const string IPV4
This property provides optimized memory, disk and query performance for string columns representing I...
Definition: CreateType.cs:433
const string CHAR16
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:392
const string INT8
This property provides optimized memory and query performance for int columns.
Definition: CreateType.cs:421
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:291
const string CHAR64
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:404
const string NULLABLE
This property indicates that this column is nullable.
Definition: CreateType.cs:462
const string PRIMARY_KEY
This property indicates that this column will be part of (or the entire) primary key.
Definition: CreateType.cs:443
A set of results returned by Kinetica.createType(string,string,IDictionary<string, IList<string>>,IDictionary<string, string>).
Definition: CreateType.cs:980
const string DATA
Default property for all numeric and string type columns; makes the column available for GPU queries...
Definition: CreateType.cs:296