7 using System.Collections.Generic;
228 public const string TTL =
"ttl";
375 public const string COLUMN_DEFAULT_VALUE =
"column_default_value";
380 public const string COLUMN_PROPERTIES =
"column_properties";
385 public const string COLUMN_TYPE =
"column_type";
412 public const string COMPRESSION_TYPE =
"compression_type";
413 public const string NONE =
"none";
414 public const string SNAPPY =
"snappy";
415 public const string LZ4 =
"lz4";
416 public const string LZ4HC =
"lz4hc";
422 public const string COPY_VALUES_FROM_COLUMN =
"copy_values_from_column";
426 public const string RENAME_COLUMN =
"rename_column";
448 public const string VALIDATE_CHANGE_COLUMN =
"validate_change_column";
451 public const string TRUE =
"true";
454 public const string FALSE =
"false";
686 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
923 IDictionary<string, string>
options = null)
925 this.table_name = table_name ??
"";
926 this.action = action ??
"";
927 this._value = _value ??
"";
953 public string type_id {
get;
set; }
957 public string type_definition {
get;
set; }
961 public IDictionary<string, IList<string>> properties {
get;
set; } =
new Dictionary<string, IList<string>>();
965 public string label {
get;
set; }
AlterTableRequest(string table_name, string action, string _value, IDictionary< string, string > options=null)
Constructs an AlterTableRequest object with the specified parameters.
const string TTL
Sets the TTL of the table, view, or collection specified in table_name.
A set of parameters for Kinetica.alterTable(string,string,string,IDictionary<string, string>).
const string ADD_COLUMN
Adds the column specified in _value to the table specified in table_name.
const string MOVE_TO_COLLECTION
Moves a table into a collection _value.
string action
Modification operation to be applied Supported values: ALLOW_HOMOGENEOUS_TABLES: Sets whether homogen...
const string CREATE_INDEX
Creates an index on the column name specified in _value.
AlterTableRequest()
Constructs an AlterTableRequest object with default parameters.
const string SET_COLUMN_COMPRESSION
Modifies the compression setting on the column specified in _value.
const string ALLOW_HOMOGENEOUS_TABLES
Sets whether homogeneous tables are allowed in the given collection.
const string DELETE_COLUMN
Deletes the column specified in _value from the table specified in table_name.
string _value
The value of the modification.
const string CHANGE_COLUMN
Changes type and properties of the column specified in _value.
Modification operation to be applied Supported values: ALLOW_HOMOGENEOUS_TABLES: Sets whether homogen...
const string SET_GLOBAL_ACCESS_MODE
Sets the global access mode (i.e.
string table_name
Table on which the operation will be performed.
const string PROTECTED
Sets whether the given table_name should be protected or not.
IDictionary< string, string > options
Optional parameters.
KineticaData - class to help with Avro Encoding for Kinetica
const string DELETE_INDEX
Deletes an existing index on the column name specified in _value.
const string DELETE_FOREIGN_KEY
Deletes a foreign key.
const string CREATE_FOREIGN_KEY
Creates a foreign key using the format 'source_column references target_table(primary_key_column) [ a...
A set of results returned by Kinetica.alterTable(string,string,string,IDictionary<string, string>).
const string RENAME_TABLE
Renames a table, view or collection to _value.