Kinetica C# API
Version 7.1.10.0
|
A set of parameters for Kinetica.mergeRecords(string,IList{string},IList{IDictionary{string, string}},IDictionary{string, string}). More...
Classes | |
struct | Options |
Optional parameters. More... | |
Public Member Functions | |
MergeRecordsRequest () | |
Constructs a MergeRecordsRequest object with default parameters. More... | |
MergeRecordsRequest (string table_name, IList< string > source_table_names, IList< IDictionary< string, string >> field_maps, IDictionary< string, string > options=null) | |
Constructs a MergeRecordsRequest 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] |
The name of the new result table for the records to be merged into, in [schema_name. More... | |
IList< string > | source_table_names [get, set] |
The list of names of source tables to get the records from, each in [schema_name. More... | |
IList< IDictionary< string, string > > | field_maps = new List<string>() [get, set] |
Contains a list of source/target column mappings, one mapping for each source table listed in being merged into the target table specified by . More... | |
IDictionary< string, string > | options = new List<IDictionary<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.mergeRecords(string,IList{string},IList{IDictionary{string, string}},IDictionary{string, string}).
Create a new empty result table (specified by table_name), and insert all records from source tables (specified by source_table_names) based on the field mapping information (specified by field_maps).
For merge records details and examples, see Merge Records. For limitations, see Merge Records Limitations and Cautions.
The field map (specified by field_maps) holds the user-specified maps of target table column names to source table columns. The array of field_maps must match one-to-one with the source_table_names, e.g., there's a map present in field_maps for each table listed in source_table_names.
Definition at line 39 of file MergeRecords.cs.
|
inline |
Constructs a MergeRecordsRequest object with default parameters.
Definition at line 383 of file MergeRecords.cs.
|
inline |
Constructs a MergeRecordsRequest object with the specified parameters.
table_name | The name of the new result table for the records to be merged into, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria. Must NOT be an existing table. |
source_table_names | The list of names of source tables to get the records from, each in [schema_name.]table_name format, using standard name resolution rules. Must be existing table names. |
field_maps | Contains a list of source/target column mappings, one mapping for each source table listed in being merged into the target table specified by . Each mapping contains the target column names (as keys) that the data in the mapped source columns or column expressions (as values) will be merged into. All of the source columns being merged into a given target column must match in type, as that type will determine the type of the new target column. |
options | Optional parameters.
|
Definition at line 519 of file MergeRecords.cs.
|
getset |
Contains a list of source/target column mappings, one mapping for each source table listed in being merged into the target table specified by .
Each mapping contains the target column names (as keys) that the data in the mapped source columns or column expressions (as values) will be merged into. All of the source columns being merged into a given target column must match in type, as that type will determine the type of the new target column.
Definition at line 271 of file MergeRecords.cs.
|
getset |
Optional parameters.
The default value is an empty Dictionary.
Definition at line 378 of file MergeRecords.cs.
|
getset |
The list of names of source tables to get the records from, each in [schema_name.
]table_name format, using standard name resolution rules. Must be existing table names.
Definition at line 258 of file MergeRecords.cs.
|
getset |
The name of the new result table for the records to be merged into, in [schema_name.
]table_name format, using standard name resolution rules and meeting table naming criteria. Must NOT be an existing table.
Definition at line 251 of file MergeRecords.cs.