A set of string constants for the parameter AppendRecordsRequest.options. More…
Static Public Attributes | |
| const string | OFFSET = “offset” |
| A positive integer indicating the number of initial results to skip from AppendRecordsRequest.source_table_name. | |
| const string | LIMIT = “limit” |
| A positive integer indicating the maximum number of results to be returned from AppendRecordsRequest.source_table_name. | |
| const string | EXPRESSION = “expression” |
| Filter expression to apply to the AppendRecordsRequest.source_table_name. | |
| const string | ORDER_BY = “order_by” |
| Comma-separated list of the columns to be sorted by from source table (specified by AppendRecordsRequest.source_table_name), e.g., ‘timestamp asc, x desc’. | |
| const string | UPDATE_ON_EXISTING_PK = “update_on_existing_pk” |
| Specifies the record collision policy for inserting source table records (specified by AppendRecordsRequest.source_table_name) into a target table (specified by AppendRecordsRequest.table_name) with a primary key. | |
| const string | TRUE = “true” |
| A boolean constant for the AppendRecordsRequest.Options options. | |
| const string | FALSE = “false” |
| A boolean constant for the AppendRecordsRequest.Options options. | |
| const string | ENABLE_INPLACE_UPDATES = “enable_inplace_updates” |
| Applies only when upserting (when UPDATE_ON_EXISTING_PK is TRUE). | |
| const string | IGNORE_EXISTING_PK = “ignore_existing_pk” |
| Specifies the record collision error-suppression policy for inserting source table records (specified by AppendRecordsRequest.source_table_name) into a target table (specified by AppendRecordsRequest.table_name) with a primary key, only used when not in upsert mode (upsert mode is disabled when UPDATE_ON_EXISTING_PK is FALSE). | |
| const string | PK_CONFLICT_PREDICATE_HIGHER = “pk_conflict_predicate_higher” |
| The record with higher value for the column resolves the primary-key insert conflict. | |
| const string | PK_CONFLICT_PREDICATE_LOWER = “pk_conflict_predicate_lower” |
| The record with lower value for the column resolves the primary-key insert conflict. | |
| const string | TRUNCATE_STRINGS = “truncate_strings” |
| If set to TRUE, it allows inserting longer strings into smaller charN string columns by truncating the longer strings to fit. | |
Detailed Description
A set of string constants for the parameter AppendRecordsRequest.options.
Optional parameters.
Definition at line 26 of file AppendRecords.cs.
Member Data Documentation
◆ ENABLE_INPLACE_UPDATES
| static |
Applies only when upserting (when UPDATE_ON_EXISTING_PK is TRUE).
If set to TRUE, an existing record matched by primary key is modified in place. If set to FALSE, it is updated by deleting the existing record and inserting a replacement (delete and insert), which prevents the change from being reflected in dependent materialized views until they are refreshed. Supported values:
The default value is TRUE.
Definition at line 133 of file AppendRecords.cs.
◆ EXPRESSION
| static |
Filter expression to apply to the AppendRecordsRequest.source_table_name.
The default value is ”.
Definition at line 47 of file AppendRecords.cs.
◆ FALSE
| static |
A boolean constant for the AppendRecordsRequest.Options options.
Definition at line 105 of file AppendRecords.cs.
◆ IGNORE_EXISTING_PK
| static |
Specifies the record collision error-suppression policy for inserting source table records (specified by AppendRecordsRequest.source_table_name) into a target table (specified by AppendRecordsRequest.table_name) with a primary key, only used when not in upsert mode (upsert mode is disabled when UPDATE_ON_EXISTING_PK is FALSE).
If set to TRUE, any source table record being inserted that is rejected for having primary key values that match those of an existing target table record will be ignored with no error generated. If FALSE, the rejection of any source table record for having primary key values matching an existing target table record will result in an error being raised. If the specified table does not have a primary key or if upsert mode is in effect (UPDATE_ON_EXISTING_PK is TRUE), then this option has no effect. Supported values:
- TRUE: Ignore source table records whose primary key values collide with those of target table records.
- FALSE: Raise an error for any source table record whose primary key values collide with those of a target table record.
The default value is FALSE.
Definition at line 179 of file AppendRecords.cs.
◆ LIMIT
| static |
A positive integer indicating the maximum number of results to be returned from AppendRecordsRequest.source_table_name.
Or END_OF_SET (-9999) to indicate that the max number of results should be returned. The default value is ‘-9999’.
Definition at line 42 of file AppendRecords.cs.
◆ OFFSET
| static |
A positive integer indicating the number of initial results to skip from AppendRecordsRequest.source_table_name.
Default is 0. The minimum allowed value is 0. The maximum allowed value is MAX_INT. The default value is ‘0’.
Definition at line 34 of file AppendRecords.cs.
◆ ORDER_BY
| static |
Comma-separated list of the columns to be sorted by from source table (specified by AppendRecordsRequest.source_table_name), e.g., ‘timestamp asc, x desc’.
The ORDER_BY columns do not have to be present in AppendRecordsRequest.field_map. The default value is ”.
Definition at line 58 of file AppendRecords.cs.
◆ PK_CONFLICT_PREDICATE_HIGHER
| static |
The record with higher value for the column resolves the primary-key insert conflict.
The default value is ”.
Definition at line 184 of file AppendRecords.cs.
◆ PK_CONFLICT_PREDICATE_LOWER
| static |
The record with lower value for the column resolves the primary-key insert conflict.
The default value is ”.
Definition at line 189 of file AppendRecords.cs.
◆ TRUE
| static |
A boolean constant for the AppendRecordsRequest.Options options.
Definition at line 101 of file AppendRecords.cs.
◆ TRUNCATE_STRINGS
| static |
◆ UPDATE_ON_EXISTING_PK
| static |
Specifies the record collision policy for inserting source table records (specified by AppendRecordsRequest.source_table_name) into a target table (specified by AppendRecordsRequest.table_name) with a primary key.
If set to TRUE, any existing table record with primary key values that match those of a source table record being inserted will be replaced by that new record (the new data will be “upserted”). If set to FALSE, any existing table record with primary key values that match those of a source table record being inserted will remain unchanged, while the source record will be rejected and an error handled as determined by IGNORE_EXISTING_PK. If the specified table does not have a primary key, then this option has no effect. Supported values:
- TRUE: Upsert new records when primary keys match existing records.
- FALSE: Reject new records when primary keys match existing records.
The default value is FALSE.
Definition at line 97 of file AppendRecords.cs.
The documentation for this struct was generated from the following files:
- _build/public-os_ubuntu24.04-arch_amd64-cc_gcc_13.3.0/install/Kinetica/Protocol/AppendRecords.cs
- Kinetica/Protocol/AppendRecords.cs