7 using System.Collections.Generic;
282 public const string TRUE =
"true";
283 public const string FALSE =
"false";
372 public const string RANGE =
"RANGE";
382 public const string LIST =
"LIST";
387 public const string HASH =
"HASH";
431 public const string TTL =
"ttl";
805 public const string FALSE =
"false";
806 public const string TRUE =
"true";
845 public const string ABORT =
"abort";
896 public const string HEAD =
"head";
1005 public IList<string>
filepaths {
get; set; } =
new List<string>();
1489 public IDictionary<string, string>
options {
get; set; } =
new Dictionary<string, string>();
1996 IDictionary<string, string>
options = null)
1998 this.table_name = table_name ??
"";
1999 this.filepaths = filepaths ??
new List<string>();
2001 this.options =
options ??
new Dictionary<string, string>();
2033 public IDictionary<string, string>
info {
get; set; } =
new Dictionary<string, string>();
const string TRUNCATE_TABLE
If set to true, truncates the table specified by table_name prior to loading the file(s).
Options used when creating a new table.
const string IGNORE_BAD_RECORDS
Malformed records are skipped.
const string PARTITION_KEYS
Comma-separated list of partition keys, which are the columns or column expressions by which records ...
const string TEXT_HEADER_PROPERTY_DELIMITER
For delimited_text file_type only.
const string FOREIGN_KEYS
Semicolon-separated list of foreign keys, of the format '(source_column_name [, ...]) references target_table_name(primary_key_column_name [, ...]) [as foreign_key_name]'.
const string TEXT_ESCAPE_CHARACTER
For delimited_text file_type only.
const string BATCH_SIZE
Specifies number of records to process before inserting.
const string DISTRIBUTED_SHARED
The worker nodes coordinate loading a set of files that are available to all of them.
long count_updated
Number of records updated.
const string IS_RESULT_TABLE
For a table, indicates whether the table is an in-memory table.
InsertRecordsFromFilesRequest()
Constructs an InsertRecordsFromFilesRequest object with default parameters.
const string DRY_RUN
If set to true, no data will be inserted but the file will be read with the applied error_handling mo...
const string FOREIGN_SHARD_KEY
Foreign shard key of the format 'source_column references shard_by_column from target_table(primary_k...
const string TTL
For a table, sets the TTL of the table specified in table_name.
const string COLLECTION_NAME
Name of a collection which is to contain the newly created table.
const string COLUMN_FORMATS
For each target column specified, applies the column-property-bound format to the source data loaded ...
const string PARTITION_TYPE
Partitioning scheme to use.
long count_skipped
Number of records skipped when not running in abort error handling mode.
long count_inserted
Number of records inserted.
string table_name
Value of .
const string TEXT_DELIMITER
For delimited_text file_type only.
const string COLUMNS_TO_LOAD
For delimited_text file_type only.
const string IS_REPLICATED
For a table, affects the distribution scheme for the table's data.
const string FILE_TYPE
File type for the file(s).
const string HEAD
The head node loads all data.
const string TEXT_QUOTE_CHARACTER
For delimited_text file_type only.
const string TEXT_NULL_STRING
For delimited_text file_type only.
const string INTERVAL
Use interval partitioning.
const string TEXT_COMMENT_STRING
For delimited_text file_type only.
const string NUM_TASKS_PER_RANK
Optional: number of tasks for reading file per rank.
IList< string > filepaths
Absolute or relative filepath(s) from where files will be loaded.
A set of results returned by Kinetica.insertRecordsFromFiles(string,IList{string},IDictionary{string, string},IDictionary{string, string}).
IDictionary< string, string > info
Additional information.
const string TYPE_ID
ID of a currently registered type.
const string DELIMITED_TEXT
Indicates the file(s) are in delimited text format, e.g., CSV, TSV, PSV, etc.
const string LIST
Use list partitioning.
IDictionary< string, string > create_table_options
Options used when creating a new table.
const string CHUNK_SIZE
Indicates the number of records per chunk to be used for this table.
IDictionary< string, string > options
Optional parameters.
const string HASH
Use hash partitioning.
string type_id
Type ID for the table.
const string RANGE
Use range partitioning.
const string PARTITION_DEFINITIONS
Comma-separated list of partition definitions, whose format depends on the choice of partition_type...
const string PERMISSIVE
Records with missing columns are populated with nulls if possible; otherwise, the malformed records a...
KineticaData - class to help with Avro Encoding for Kinetica
const string ERROR_HANDLING
Specifies how errors should be handled upon insertion.
const string LOADING_MODE
Specifies how to divide data loading among nodes.
string table_name
Name of the table into which the data will be inserted.
A set of parameters for Kinetica.insertRecordsFromFiles(string,IList{string},IDictionary{string, string},IDictionary{string, string}).
const string IS_AUTOMATIC_PARTITION
If true, a new partition will be created for values which don't fall into an existing partition...
const string STRATEGY_DEFINITION
The tier strategy for the table and its columns.
const string ABORT
Stops current insertion and aborts entire operation when an error is encountered. ...
const string NO_ERROR_IF_EXISTS
If true, prevents an error from occurring if the table already exists and is of the given type...
const string DEFAULT_COLUMN_FORMATS
Specifies the default format to be applied to source data loaded into columns with the corresponding ...
InsertRecordsFromFilesRequest(string table_name, IList< string > filepaths, IDictionary< string, string > create_table_options=null, IDictionary< string, string > options=null)
Constructs an InsertRecordsFromFilesRequest object with the specified parameters. ...
const string DISTRIBUTED_LOCAL
Each worker node loads all files that are available to it.
const string TEXT_HAS_HEADER
For delimited_text file_type only.