7 using System.Collections.Generic;
441 public const string TTL =
"ttl";
830 public const string NONE =
"none";
832 public const string LZ4 =
"lz4";
833 public const string LZ4HC =
"lz4hc";
867 public const string TRUE =
"true";
872 public const string FALSE =
"false";
1459 public IDictionary<string, string>
options {
get; set; } =
new Dictionary<string, string>();
1970 IDictionary<string, string>
options = null)
1972 this.table_name = table_name ??
"";
1973 this.action = action ??
"";
1974 this._value = _value ??
"";
1975 this.options =
options ??
new Dictionary<string, string>();
2008 public IDictionary<string, IList<string>>
properties {
get; set; } =
new Dictionary<string, IList<string>>();
2015 public IDictionary<string, string>
info {
get; set; } =
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.
const string SET_STRATEGY_DEFINITION
Sets the tier strategy for the table and its columns to the one specified in _value, replacing the existing tier strategy in its entirety.
const string REFRESH
For a materialized view, replays all the table creation commands required to create the view...
const string SET_REFRESH_SPAN
Sets the future time-offset(in seconds) for the view refresh to stop.
const string GEOSPATIAL
Create or delete a geospatial index
string action
Modification operation that was performed.
const string CANCEL_DATASOURCE_SUBSCRIPTION
Permanently unsubscribe a data source that is loading continuously as a stream.
const string SET_REFRESH_STOP_TIME
Sets the time to stop periodic refreshes of this materialized view to the datetime string specified i...
const string REMOVE_SHARD_KEYS
Removes the shard key property from all columns, so that the table will be considered randomly sharde...
string type_id
return the type_id (when changing a table, a new type may be created)
const string TTL
Sets the time-to-live in minutes of the table or view specified in table_name.
const string COPY_VALUES_FROM_COLUMN
[DEPRECATED–please use add_column_expression instead.
const string SET_REFRESH_START_TIME
Sets the time to start periodic refreshes of this materialized view to the datetime string specified ...
A set of parameters for Kinetica.alterTable(string,string,string,IDictionary{string, string}).
const string FALSE
Don't reset the timer; expiration countdown will continue from where it is, as if the table had not b...
const string ADD_COLUMN
Adds the column specified in _value to the table specified in table_name.
const string CHANGE_OWNER
Change the owner resource group of the table.
string table_name
Table on which the operation was performed.
const string VALIDATE_CHANGE_COLUMN
When changing a column, validate the change before applying it (or not).
const string MOVE_TO_COLLECTION
[DEPRECATED–please use move_to_schema and use Kinetica.createSchema(string,IDictionary{string, string}) to create the schema if non-existent] Moves a table or view into a schema named _value.
const string SET_REFRESH_METHOD
For a materialized view, sets the method by which the view is refreshed to the method specified in _v...
const string SET_REFRESH_EXECUTE_AS
Sets the user name to refresh this materialized view to the value specified in _value.
string action
Modification operation to be applied Supported values: ALLOW_HOMOGENEOUS_TABLES: No longer supported;...
string _value
The value of the modification that was performed.
const string CREATE_INDEX
Creates a column (attribute) index, chunk skip index, or geospatial index (depending on the specified...
const string COLUMN_TYPE
When adding or changing a column, set the column type (strings, separated by a comma: int...
const string TRUE
Reset the expiration countdown timer to the table's configured TTL.
const string COLUMN
Create or delete a column (attribute) index.
AlterTableRequest()
Constructs an AlterTableRequest object with default parameters.
const string INDEX_TYPE
Type of index to create, when action is create_index, or to delete, when action is delete_index...
const string COLUMN_PROPERTIES
When adding or changing a column, set the column properties (strings, separated by a comma: data...
const string SET_COLUMN_COMPRESSION
No longer supported; action will be ignored.
string type_definition
return the type_definition (when changing a table, a new type may be created)
const string ADD_COLUMN_EXPRESSION
When adding a column, an optional expression to use for the new column's values.
const string DELETE_PARTITION
Deletes the partition specified in _value (and all of its data) from either a range-partitioned or ma...
const string ALLOW_HOMOGENEOUS_TABLES
No longer supported; action will be ignored.
const string COLUMN_DEFAULT_VALUE
When adding a column, set a default value for existing records.
const string DELETE_COLUMN
Deletes the column specified in _value from the table specified in table_name.
string _value
The value of the modification, depending on .
const string CHANGE_COLUMN
Changes type and properties of the column specified in _value.
const string MOVE_TO_SCHEMA
Moves a table or view into a schema named _value.
const string REMOVE_PARTITION
Removes the partition specified in _value (and relocates all of its data to the default partition) fr...
const string UPDATE_LAST_ACCESS_TIME
Indicates whether the time-to-live (TTL) expiration countdown timer should be reset to the table's TT...
const string RESUME_DATASOURCE_SUBSCRIPTION
Resubscribe to a paused data source subscription.
Modification operation to be applied Supported values: ALLOW_HOMOGENEOUS_TABLES: No longer supported;...
const string CHUNK_SKIP
Create or delete a chunk skip index.
const string SET_REFRESH_PERIOD
Sets the time interval in seconds at which to refresh this materialized view to the value specified i...
string label
return the type label (when changing a table, a new type may be created)
const string SET_GLOBAL_ACCESS_MODE
Sets the global access mode (i.e.
string table_name
Table on which the operation will be performed, in [schema_name.
const string STRATEGY_DEFINITION
Optional parameter for specifying the tier strategy for the table and its columns when action is set_...
const string PROTECTED
No longer used.
IDictionary< string, string > options
Optional parameters.
const string COMPRESSION_TYPE
No longer supported; option will be ignored.
IDictionary< string, IList< string > > properties
return the type properties (when changing a table, a new type may be created)
KineticaData - class to help with Avro Encoding for Kinetica
const string DELETE_INDEX
Deletes a column (attribute) index, chunk skip index, or geospatial index (depending on the specified...
const string RENAME_COLUMN
When changing a column, specify new column name.
const string DELETE_FOREIGN_KEY
Deletes a foreign key.
const string ADD_PARTITION
Adds the partition specified in _value, to either a range-partitioned or manual list-partitioned tabl...
const string PAUSE_DATASOURCE_SUBSCRIPTION
Temporarily unsubscribe a data source that is loading continuously as a stream.
const string CREATE_FOREIGN_KEY
Creates a foreign key specified in _value using the format '(source_column_name [, ...]) references target_table_name(primary_key_column_name [, ...]) [as foreign_key_name]'.
A set of results returned by Kinetica.alterTable(string,string,string,IDictionary{string, string}).
IDictionary< string, string > info
Additional information.
const string RENAME_TABLE
Renames a table or view within its current schema to _value.
const string REMOVE_TEXT_SEARCH_ATTRIBUTES
Removes text search attribute from all columns.