|
Kinetica C# API
Version 7.0.19.0
|
A set of parameters for Kinetica.insertRecordsFromFiles(string,IList{string},IDictionary{string, string},IDictionary{string, string}). More...
Inheritance diagram for kinetica.InsertRecordsFromFilesRequest:
Collaboration diagram for kinetica.InsertRecordsFromFilesRequest:Classes | |
| struct | CreateTableOptions |
| Options used when creating a new table. More... | |
| struct | Options |
| Optional parameters. More... | |
Public Member Functions | |
| InsertRecordsFromFilesRequest () | |
| Constructs an InsertRecordsFromFilesRequest object with default parameters. More... | |
| 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. More... | |
Public Member Functions inherited from kinetica.KineticaData | |
| 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] |
| Name of the table into which the data will be inserted. More... | |
| IList< string > | filepaths [get, set] |
| Absolute or relative filepath(s) from where files will be loaded. More... | |
| IDictionary< string, string > | create_table_options = new List<string>() [get, set] |
| Options used when creating a new table. More... | |
| IDictionary< string, string > | options = new Dictionary<string, string>() [get, set] |
| Optional parameters. More... | |
Properties inherited from kinetica.KineticaData | |
| Schema | Schema [get] |
| Avro Schema for this class More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from kinetica.KineticaData | |
| 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.insertRecordsFromFiles(string,IList{string},IDictionary{string, string},IDictionary{string, string}).
Reads from one or more files located on the server and inserts the data into a new or existing table.
For CSV files, there are two loading schemes: positional and name-based. The name-based loading scheme is enabled when the file has a header present and text_has_header is set to true. In this scheme, the source file(s) field names must match the target table's column names exactly; however, the source file can have more fields than the target table has columns. If error_handling is set to permissive, the source file can have fewer fields than the target table has columns. If the name-based loading scheme is being used, names matching the file header's names may be provided to columns_to_load instead of numbers, but ranges are not supported.
Returns once all files are processed.
Definition at line 34 of file InsertRecordsFromFiles.cs.
|
inline |
Constructs an InsertRecordsFromFilesRequest object with default parameters.
Definition at line 1494 of file InsertRecordsFromFiles.cs.
|
inline |
Constructs an InsertRecordsFromFilesRequest object with the specified parameters.
| table_name | Name of the table into which the data will be inserted. If the table does not exist, the table will be created using either an existing type_id or the type inferred from the file. |
| filepaths | Absolute or relative filepath(s) from where files will be loaded. Relative filepaths are relative to the defined external_files_directory parameter in the server configuration. The filepaths may include wildcards (*). If the first path ends in .tsv, the text delimiter will be defaulted to a tab character. If the first path ends in .psv, the text delimiter will be defaulted to a pipe character (|). |
| create_table_options | Options used when creating a new table.
|
| options | Optional parameters.
|
Definition at line 1993 of file InsertRecordsFromFiles.cs.
|
getset |
Options used when creating a new table.
The default value is an empty Dictionary.
Definition at line 1224 of file InsertRecordsFromFiles.cs.
|
getset |
Absolute or relative filepath(s) from where files will be loaded.
Relative filepaths are relative to the defined external_files_directory parameter in the server configuration. The filepaths may include wildcards (*). If the first path ends in .tsv, the text delimiter will be defaulted to a tab character. If the first path ends in .psv, the text delimiter will be defaulted to a pipe character (|).
Definition at line 1005 of file InsertRecordsFromFiles.cs.
|
getset |
Optional parameters.
The default value is an empty Dictionary.
Definition at line 1489 of file InsertRecordsFromFiles.cs.
|
getset |
Name of the table into which the data will be inserted.
If the table does not exist, the table will be created using either an existing type_id or the type inferred from the file.
Definition at line 995 of file InsertRecordsFromFiles.cs.