Kinetica C# API  Version 6.2.0.1
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 
59  {
60 
295  public struct Properties
296  {
297 
300  public const string DATA = "data";
301 
305  public const string TEXT_SEARCH = "text_search";
306 
313  public const string STORE_ONLY = "store_only";
314 
330  public const string DISK_OPTIMIZED = "disk_optimized";
331 
337  public const string TIMESTAMP = "timestamp";
338 
346  public const string DECIMAL = "decimal";
347 
353  public const string DATE = "date";
354 
360  public const string TIME = "time";
361 
368  public const string DATETIME = "datetime";
369 
373  public const string CHAR1 = "char1";
374 
378  public const string CHAR2 = "char2";
379 
383  public const string CHAR4 = "char4";
384 
388  public const string CHAR8 = "char8";
389 
393  public const string CHAR16 = "char16";
394 
398  public const string CHAR32 = "char32";
399 
403  public const string CHAR64 = "char64";
404 
408  public const string CHAR128 = "char128";
409 
413  public const string CHAR256 = "char256";
414 
418  public const string INT8 = "int8";
419 
423  public const string INT16 = "int16";
424 
430  public const string IPV4 = "ipv4";
431 
436  public const string WKT = "wkt";
437 
442  public const string PRIMARY_KEY = "primary_key";
443 
448  public const string SHARD_KEY = "shard_key";
449 
463  public const string NULLABLE = "nullable";
464 
471  public const string DICT = "dict";
472 
476  public const string INIT_WITH_NOW = "init_with_now";
477  } // end struct Properties
478 
479 
482  public string type_definition { get; set; }
483 
487  public string label { get; set; }
488 
721  public IDictionary<string, IList<string>> properties { get; set; } = new Dictionary<string, IList<string>>();
722 
725  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
726 
727 
730  public CreateTypeRequest() { }
731 
975  string label,
976  IDictionary<string, IList<string>> properties = null,
977  IDictionary<string, string> options = null)
978  {
979  this.type_definition = type_definition ?? "";
980  this.label = label ?? "";
981  this.properties = properties ?? new Dictionary<string, IList<string>>();
982  this.options = options ?? new Dictionary<string, string>();
983  } // end constructor
984 
985  } // end class CreateTypeRequest
986 
987 
988 
993  {
994 
997  public string type_id { get; set; }
998 
1001  public string type_definition { get; set; }
1002 
1005  public string label { get; set; }
1006 
1009  public IDictionary<string, IList<string>> properties { get; set; } = new Dictionary<string, IList<string>>();
1010 
1011  } // end class CreateTypeResponse
1012 
1013 
1014 
1015 
1016 } // end namespace kinetica
const string TIME
Valid only for &#39;string&#39; columns.
Definition: CreateType.cs:360
CreateTypeRequest()
Constructs a CreateTypeRequest object with default parameters.
Definition: CreateType.cs:730
const string STORE_ONLY
Persist the column value but do not make it available to queries (e.g.
Definition: CreateType.cs:313
const string WKT
Valid only for &#39;string&#39; and &#39;bytes&#39; columns.
Definition: CreateType.cs:436
const string CHAR128
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:408
A set of parameters for Kinetica.createType(string,string,IDictionary<string, IList<string>>,IDictionary<string, string>).
Definition: CreateType.cs:58
IDictionary< string, string > options
Optional parameters.
Definition: CreateType.cs:725
const string CHAR1
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:373
string type_definition
a JSON string describing the columns of the type to be registered.
Definition: CreateType.cs:482
const string DATE
Valid only for &#39;string&#39; columns.
Definition: CreateType.cs:353
const string INIT_WITH_NOW
For columns with attributes of date, time, datetime or timestamp, at insert time, replace empty strin...
Definition: CreateType.cs:476
string label
A user-defined description string which can be used to differentiate between tables and types with ot...
Definition: CreateType.cs:487
const string DISK_OPTIMIZED
Works in conjunction with the data property for string columns.
Definition: CreateType.cs:330
const string INT16
This property provides optimized memory and query performance for int columns.
Definition: CreateType.cs:423
const string TEXT_SEARCH
Valid only for &#39;string&#39; columns.
Definition: CreateType.cs:305
const string CHAR8
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:388
const string DICT
This property indicates that this column should be dictionary encoded.
Definition: CreateType.cs:471
const string CHAR2
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:378
const string DATETIME
Valid only for &#39;string&#39; columns.
Definition: CreateType.cs:368
const string TIMESTAMP
Valid only for &#39;long&#39; columns.
Definition: CreateType.cs:337
const string SHARD_KEY
This property indicates that this column will be part of (or the entire) shard key.
Definition: CreateType.cs:448
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:721
const string DECIMAL
Valid only for &#39;string&#39; columns.
Definition: CreateType.cs:346
const string CHAR4
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:383
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:974
const string CHAR256
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:413
const string IPV4
This property provides optimized memory, disk and query performance for string columns representing I...
Definition: CreateType.cs:430
const string CHAR16
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:393
const string INT8
This property provides optimized memory and query performance for int columns.
Definition: CreateType.cs:418
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:295
const string CHAR64
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:403
const string NULLABLE
This property indicates that this column is nullable.
Definition: CreateType.cs:463
const string PRIMARY_KEY
This property indicates that this column will be part of (or the entire) primary key.
Definition: CreateType.cs:442
A set of results returned by Kinetica.createType(string,string,IDictionary<string, IList<string>>,IDictionary<string, string>).
Definition: CreateType.cs:992
const string DATA
Default property for all numeric and string type columns; makes the column available for GPU queries...
Definition: CreateType.cs:300