Kinetica C# API  Version 7.0.19.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 
59  {
60 
304  public struct Properties
305  {
306 
309  public const string DATA = "data";
310 
314  public const string TEXT_SEARCH = "text_search";
315 
322  public const string STORE_ONLY = "store_only";
323 
337  public const string DISK_OPTIMIZED = "disk_optimized";
338 
344  public const string TIMESTAMP = "timestamp";
345 
350  public const string ULONG = "ulong";
351 
359  public const string DECIMAL = "decimal";
360 
366  public const string DATE = "date";
367 
373  public const string TIME = "time";
374 
381  public const string DATETIME = "datetime";
382 
386  public const string CHAR1 = "char1";
387 
391  public const string CHAR2 = "char2";
392 
396  public const string CHAR4 = "char4";
397 
401  public const string CHAR8 = "char8";
402 
406  public const string CHAR16 = "char16";
407 
411  public const string CHAR32 = "char32";
412 
416  public const string CHAR64 = "char64";
417 
421  public const string CHAR128 = "char128";
422 
426  public const string CHAR256 = "char256";
427 
431  public const string INT8 = "int8";
432 
436  public const string INT16 = "int16";
437 
443  public const string IPV4 = "ipv4";
444 
449  public const string WKT = "wkt";
450 
455  public const string PRIMARY_KEY = "primary_key";
456 
461  public const string SHARD_KEY = "shard_key";
462 
476  public const string NULLABLE = "nullable";
477 
485  public const string DICT = "dict";
486 
490  public const string INIT_WITH_NOW = "init_with_now";
491  } // end struct Properties
492 
493 
496  public string type_definition { get; set; }
497 
501  public string label { get; set; }
502 
744  public IDictionary<string, IList<string>> properties { get; set; } = new Dictionary<string, IList<string>>();
745 
748  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
749 
750 
753  public CreateTypeRequest() { }
754 
1007  string label,
1008  IDictionary<string, IList<string>> properties = null,
1009  IDictionary<string, string> options = null)
1010  {
1011  this.type_definition = type_definition ?? "";
1012  this.label = label ?? "";
1013  this.properties = properties ?? new Dictionary<string, IList<string>>();
1014  this.options = options ?? new Dictionary<string, string>();
1015  } // end constructor
1016 
1017  } // end class CreateTypeRequest
1018 
1019 
1020 
1025  {
1026 
1029  public string type_id { get; set; }
1030 
1033  public string type_definition { get; set; }
1034 
1037  public string label { get; set; }
1038 
1041  public IDictionary<string, IList<string>> properties { get; set; } = new Dictionary<string, IList<string>>();
1042 
1044  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
1045 
1046  } // end class CreateTypeResponse
1047 
1048 
1049 
1050 
1051 } // end namespace kinetica
const string TIME
Valid only for &#39;string&#39; columns.
Definition: CreateType.cs:373
CreateTypeRequest()
Constructs a CreateTypeRequest object with default parameters.
Definition: CreateType.cs:753
const string STORE_ONLY
Persist the column value but do not make it available to queries (e.g.
Definition: CreateType.cs:322
const string WKT
Valid only for &#39;string&#39; and &#39;bytes&#39; columns.
Definition: CreateType.cs:449
const string CHAR128
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:421
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:748
IDictionary< string, IList< string > > properties
Value of .
Definition: CreateType.cs:1041
IDictionary< string, string > info
Additional information.
Definition: CreateType.cs:1044
const string CHAR1
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:386
string type_definition
a JSON string describing the columns of the type to be registered.
Definition: CreateType.cs:496
const string DATE
Valid only for &#39;string&#39; columns.
Definition: CreateType.cs:366
const string INIT_WITH_NOW
For &#39;date&#39;, &#39;time&#39;, &#39;datetime&#39;, or &#39;timestamp&#39; column types, replace empty strings and invalid timest...
Definition: CreateType.cs:490
string label
A user-defined description string which can be used to differentiate between tables and types with ot...
Definition: CreateType.cs:501
const string DISK_OPTIMIZED
Works in conjunction with the data property for string columns.
Definition: CreateType.cs:337
string type_id
An identifier representing the created type.
Definition: CreateType.cs:1029
const string INT16
This property provides optimized memory and query performance for int columns.
Definition: CreateType.cs:436
const string TEXT_SEARCH
Valid only for &#39;string&#39; columns.
Definition: CreateType.cs:314
const string CHAR8
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:401
const string DICT
This property indicates that this column should be dictionary encoded.
Definition: CreateType.cs:485
const string CHAR2
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:391
const string DATETIME
Valid only for &#39;string&#39; columns.
Definition: CreateType.cs:381
const string TIMESTAMP
Valid only for &#39;long&#39; columns.
Definition: CreateType.cs:344
const string SHARD_KEY
This property indicates that this column will be part of (or the entire) shard key.
Definition: CreateType.cs:461
const string CHAR32
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:411
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:744
const string DECIMAL
Valid only for &#39;string&#39; columns.
Definition: CreateType.cs:359
const string CHAR4
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:396
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:1006
string type_definition
Value of .
Definition: CreateType.cs:1033
const string CHAR256
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:426
const string IPV4
This property provides optimized memory, disk and query performance for string columns representing I...
Definition: CreateType.cs:443
const string CHAR16
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:406
const string ULONG
Valid only for &#39;string&#39; columns.
Definition: CreateType.cs:350
string label
Value of .
Definition: CreateType.cs:1037
const string INT8
This property provides optimized memory and query performance for int columns.
Definition: CreateType.cs:431
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:304
const string CHAR64
This property provides optimized memory, disk and query performance for string columns.
Definition: CreateType.cs:416
const string NULLABLE
This property indicates that this column is nullable.
Definition: CreateType.cs:476
const string PRIMARY_KEY
This property indicates that this column will be part of (or the entire) primary key.
Definition: CreateType.cs:455
A set of results returned by Kinetica.createType(string,string,IDictionary{string, IList{string}},IDictionary{string, string}).
Definition: CreateType.cs:1024
const string DATA
Default property for all numeric and string type columns; makes the column available for GPU queries...
Definition: CreateType.cs:309