7 using System.Collections.Generic;
73 public const string TTL =
"ttl";
160 public const string TRUE =
"true";
163 public const string FALSE =
"false";
222 public IDictionary<string, string>
options {
get; set; } =
new Dictionary<string, string>();
282 IDictionary<string, string>
options = null)
284 this.table_name = table_name ??
"";
285 this.action = action ??
"";
286 this._value = _value ??
"";
287 this.options =
options ??
new Dictionary<string, string>();
AlterTableRequest(string table_name, string action, string _value, IDictionary< string, string > options=null)
Constructs an AlterTableRequest object with the specified parameters.
string action
Modification operation that was performed.
const string TTL
Sets the TTL of the table, view, or collection specified in <member name="table_name">.
const string COPY_VALUES_FROM_COLUMN
when adding or changing a column: enter column name - from where to copy values.
A set of parameters for /alter/table.
const string ADD_COLUMN
Add a column <member name="_value"> to the table.
string table_name
Table on which the operation was performed.
const string VALIDATE_CHANGE_COLUMN
Validate the type change before applying column_change request.
string action
Modification operation to be applied Values: create_index, delete_index, allow_homogeneous_tables, protected, ttl, add_column, delete_column, change_column, rename_table.
string _value
The value of the modification that was performed.
const string CREATE_INDEX
Creates an index on the column name specified in <member name="_value">.
const string COLUMN_TYPE
when adding or changing a column: set the column type (strings, separated by a comma: int...
AlterTableRequest()
Constructs an AlterTableRequest object with default parameters.
const string COLUMN_PROPERTIES
when adding or changing a column: set the column properties (strings, separated by a comma: data...
const string ALLOW_HOMOGENEOUS_TABLES
Sets whether homogeneous tables are allowed in the given collection.
const string COLUMN_DEFAULT_VALUE
when adding a column: set a default value, for existing data.
const string DELETE_COLUMN
Delete a column <member name="_value"> from the table
string _value
The value of the modification.
const string CHANGE_COLUMN
Change properties of a column <member name="_value"> in the table.
Modification operation to be applied Values: create_index, delete_index, allow_homogeneous_tables, protected, ttl, add_column, delete_column, change_column, rename_table.
string table_name
Table on which the operation will be performed.
const string PROTECTED
Sets whether the given <member name="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 <member name="_value">. ...
A set of results returned by /alter/table.
const string RENAME_TABLE
Rename a table, view or collection to <member name="_value">.