7 using System.Collections.Generic;
283 public const string TTL =
"ttl";
497 public const string COLUMN_DEFAULT_VALUE =
"column_default_value";
502 public const string COLUMN_PROPERTIES =
"column_properties";
507 public const string COLUMN_TYPE =
"column_type";
534 public const string COMPRESSION_TYPE =
"compression_type";
535 public const string NONE =
"none";
536 public const string SNAPPY =
"snappy";
537 public const string LZ4 =
"lz4";
538 public const string LZ4HC =
"lz4hc";
541 public const string COPY_VALUES_FROM_COLUMN =
"copy_values_from_column";
545 public const string RENAME_COLUMN =
"rename_column";
567 public const string VALIDATE_CHANGE_COLUMN =
"validate_change_column";
568 public const string TRUE =
"true";
569 public const string FALSE =
"false";
585 public const string UPDATE_LAST_ACCESS_TIME =
"update_last_access_time";
590 public const string ADD_COLUMN_EXPRESSION =
"add_column_expression";
899 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
1213 IDictionary<string, string>
options = null)
1215 this.table_name = table_name ??
"";
1216 this.action = action ??
"";
1217 this._value = _value ??
"";
1243 public string type_id {
get;
set; }
1247 public string type_definition {
get;
set; }
1251 public IDictionary<string, IList<string>> properties {
get;
set; } =
new Dictionary<string, IList<string>>();
1255 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 REFRESH
Replays all the table creation commands required to create this materialized view.
const string TTL
Sets the time-to-live in minutes of the table, view, or collection specified in table_name.
const string SET_REFRESH_START_TIME
Sets the time to start periodic refreshes of this materialized view to datetime string with format 'Y...
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.
const string SET_REFRESH_METHOD
Sets the method by which this materialized view is refreshed - one of 'manual', 'periodic', 'on_change'.
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.
const string MEMORY_TTL
Sets the time-to-live in minutes for the individual chunks of the columns of the table, view, or collection specified in table_name to free their memory if unused longer than the given time.
Modification operation to be applied Supported values: ALLOW_HOMOGENEOUS_TABLES: Sets whether homogen...
const string SET_REFRESH_PERIOD
Sets the time interval in seconds at which to refresh this materialized view.
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_name [, ...]) references target_table_name(pri...
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.
const string REMOVE_TEXT_SEARCH_ATTRIBUTES
remove text_search attribute from all columns, if exists.