Kinetica C# API
Version 7.2.3.0
|
A set of parameters for Kinetica.alterTable. More...
Classes | |
struct | Action |
A set of string constants for the parameter action. More... | |
struct | Options |
A set of string constants for the parameter options. More... | |
Public Member Functions | |
AlterTableRequest () | |
Constructs an AlterTableRequest object with default parameters. More... | |
AlterTableRequest (string table_name, string action, string _value, IDictionary< string, string > options=null) | |
Constructs an AlterTableRequest object with the specified parameters. More... | |
![]() | |
KineticaData (KineticaType type) | |
Constructor from Kinetica Type More... | |
KineticaData (System.Type type=null) | |
Default constructor, with optional System.Type More... | |
object | Get (int fieldPos) |
Retrieve a specific property from this object More... | |
void | Put (int fieldPos, object fieldValue) |
Write a specific property to this object More... | |
Properties | |
string | table_name [get, set] |
Table on which the operation will be performed, in [schema_name. More... | |
string | action [get, set] |
Modification operation to be applied. More... | |
string | _value [get, set] |
The value of the modification, depending on action. More... | |
IDictionary< string, string > | options = new Dictionary<string, string>() [get, set] |
Optional parameters. More... | |
![]() | |
Schema | Schema [get] |
Avro Schema for this class More... | |
Additional Inherited Members | |
![]() | |
static ? RecordSchema | SchemaFromType (System.Type t, KineticaType? ktype=null) |
Create an Avro Schema from a System.Type and a KineticaType. More... | |
A set of parameters for Kinetica.alterTable.
Apply various modifications to a table or view. The available modifications include the following:
Manage a table's columns–a column can be added, removed, or have its type and properties modified, including whether it is dictionary encoded or not.
External tables cannot be modified except for their refresh method.
Create or delete a column, low-cardinality index, chunk skip, geospatial, CAGRA, or HNSW index. This can speed up certain operations when using expressions containing equality or relational operators on indexed columns. This only applies to tables.
Create or delete a foreign key on a particular column.
Manage a range-partitioned or a manual list-partitioned table's partitions.
Set (or reset) the tier strategy of a table or view.
Refresh and manage the refresh mode of a materialized view or an external table.
Set the time-to-live (TTL). This can be applied to tables or views.
Set the global access mode (i.e. locking) for a table. This setting trumps any role-based access controls that may be in place; e.g., a user with write access to a table marked read-only will not be able to insert records into it. The mode can be set to read-only, write-only, read/write, and no access.
Definition at line 59 of file AlterTable.cs.
|
inline |
Constructs an AlterTableRequest object with default parameters.
Definition at line 1208 of file AlterTable.cs.
|
inline |
Constructs an AlterTableRequest object with the specified parameters.
table_name | Table on which the operation will be performed, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table or view. |
action | Modification operation to be applied. Supported values:
|
_value | The value of the modification, depending on action . For example, if action is ADD_COLUMN, this would be the column name; while the column's definition would be covered by the COLUMN_TYPE, COLUMN_PROPERTIES, COLUMN_DEFAULT_VALUE, and ADD_COLUMN_EXPRESSION in options . If action is TTL, it would be the number of minutes for the new TTL. If action is REFRESH, this field would be blank. |
options | Optional parameters.
|
Definition at line 1836 of file AlterTable.cs.
|
getset |
The value of the modification, depending on action.
For example, if action is ADD_COLUMN, this would be the column name; while the column's definition would be covered by the COLUMN_TYPE, COLUMN_PROPERTIES, COLUMN_DEFAULT_VALUE, and ADD_COLUMN_EXPRESSION in options. If action is TTL, it would be the number of minutes for the new TTL. If action is REFRESH, this field would be blank.
Definition at line 987 of file AlterTable.cs.
|
getset |
Modification operation to be applied.
Supported values:
Definition at line 970 of file AlterTable.cs.
|
getset |
Optional parameters.
The default value is an empty Dictionary.
Definition at line 1204 of file AlterTable.cs.
|
getset |
Table on which the operation will be performed, in [schema_name.
]table_name format, using standard name resolution rules.
Must be an existing table or view.
Definition at line 584 of file AlterTable.cs.