Kinetica C# API
Version 7.2.3.0
|
A set of parameters for Kinetica.createTableExternal. More...
Classes | |
struct | CreateTableOptions |
A set of string constants for the parameter create_table_options. More... | |
struct | Options |
A set of string constants for the parameter options. More... | |
Public Member Functions | |
CreateTableExternalRequest () | |
Constructs a CreateTableExternalRequest object with default parameters. More... | |
CreateTableExternalRequest (string table_name, IList< string > filepaths, IDictionary< string, IDictionary< string, string >> modify_columns=null, IDictionary< string, string > create_table_options=null, IDictionary< string, string > options=null) | |
Constructs a CreateTableExternalRequest object with the specified parameters. More... | |
CreateTableExternalRequest () | |
Constructs a CreateTableExternalRequest object with default parameters. More... | |
CreateTableExternalRequest (string table_name, IList< string > filepaths, IDictionary< string, IDictionary< string, string >> modify_columns=null, IDictionary< string, string > create_table_options=null, IDictionary< string, string > options=null) | |
Constructs a CreateTableExternalRequest 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... | |
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 to be created, in [schema_name. More... | |
IList< string > | filepaths = new List<string>() [get, set] |
A list of file paths from which data will be sourced; For paths in KiFS, use the URI prefix of kifs:// followed by the path to a file or directory. More... | |
IDictionary< string, IDictionary< string, string > > | modify_columns = new Dictionary<string, IDictionary<string, string>>() [get, set] |
Not implemented yet. More... | |
IDictionary< string, string > | create_table_options = new Dictionary<string, string>() [get, set] |
Options from Kinetica.createTable, allowing the structure of the table to be defined independently of the data source. More... | |
IDictionary< string, string > | options = new Dictionary<string, string>() [get, set] |
Optional parameters. More... | |
![]() | |
Schema | Schema [get] |
Avro Schema for this class More... | |
![]() | |
Schema | Schema [get] |
Additional Inherited Members | |
![]() | |
static ? RecordSchema | SchemaFromType (System.Type t, KineticaType? ktype=null) |
Create an Avro Schema from a System.Type and a KineticaType. More... | |
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.createTableExternal.
Creates a new external table, which is a local database object whose source data is located externally to the database. The source data can be located either in KiFS; on the cluster, accessible to the database; or remotely, accessible via a pre-defined external data source.
The external table can have its structure defined explicitly, via create_table_options, which contains many of the options from Kinetica.createTable; or defined implicitly, inferred from the source data.
Definition at line 27 of file CreateTableExternal.cs.
|
inline |
Constructs a CreateTableExternalRequest object with default parameters.
Definition at line 2394 of file CreateTableExternal.cs.
|
inline |
Constructs a CreateTableExternalRequest object with the specified parameters.
table_name | Name of the table to be created, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria. |
filepaths | A list of file paths from which data will be sourced; For paths in KiFS, use the URI prefix of kifs:// followed by the path to a file or directory. File matching by prefix is supported, e.g. kifs://dir/file would match dir/file_1 and dir/file_2. When prefix matching is used, the path must start with a full, valid KiFS directory name. If an external data source is specified in DATASOURCE_NAME, these file paths must resolve to accessible files at that data source location. Prefix matching is supported. If the data source is hdfs, prefixes must be aligned with directories, i.e. partial file names will not match. If no data source is specified, the files are assumed to be local to the database and must all be accessible to the gpudb user, residing on the path (or relative to the path) specified by the external files directory in the Kinetica configuration file. Wildcards (*) can be used to specify a group of files. Prefix matching is supported, the prefixes must be aligned with directories. 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 (|). |
modify_columns | Not implemented yet. The default value is an empty Dictionary. |
create_table_options | Options from Kinetica.createTable, allowing the structure of the table to be defined independently of the data source.
|
options | Optional parameters.
|
Definition at line 3634 of file CreateTableExternal.cs.
|
inline |
Constructs a CreateTableExternalRequest object with default parameters.
Definition at line 2394 of file CreateTableExternal.cs.
|
inline |
Constructs a CreateTableExternalRequest object with the specified parameters.
table_name | Name of the table to be created, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria. |
filepaths | A list of file paths from which data will be sourced; For paths in KiFS, use the URI prefix of kifs:// followed by the path to a file or directory. File matching by prefix is supported, e.g. kifs://dir/file would match dir/file_1 and dir/file_2. When prefix matching is used, the path must start with a full, valid KiFS directory name. If an external data source is specified in DATASOURCE_NAME, these file paths must resolve to accessible files at that data source location. Prefix matching is supported. If the data source is hdfs, prefixes must be aligned with directories, i.e. partial file names will not match. If no data source is specified, the files are assumed to be local to the database and must all be accessible to the gpudb user, residing on the path (or relative to the path) specified by the external files directory in the Kinetica configuration file. Wildcards (*) can be used to specify a group of files. Prefix matching is supported, the prefixes must be aligned with directories. 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 (|). |
modify_columns | Not implemented yet. The default value is an empty Dictionary. |
create_table_options | Options from Kinetica.createTable, allowing the structure of the table to be defined independently of the data source.
|
options | Optional parameters.
|
Definition at line 3634 of file CreateTableExternal.cs.
|
getset |
Options from Kinetica.createTable, allowing the structure of the table to be defined independently of the data source.
The default value is an empty Dictionary.
Definition at line 1453 of file CreateTableExternal.cs.
|
getset |
A list of file paths from which data will be sourced; For paths in KiFS, use the URI prefix of kifs:// followed by the path to a file or directory.
File matching by prefix is supported, e.g. kifs://dir/file would match dir/file_1 and dir/file_2. When prefix matching is used, the path must start with a full, valid KiFS directory name.
If an external data source is specified in DATASOURCE_NAME, these file paths must resolve to accessible files at that data source location. Prefix matching is supported. If the data source is hdfs, prefixes must be aligned with directories, i.e. partial file names will not match.
If no data source is specified, the files are assumed to be local to the database and must all be accessible to the gpudb user, residing on the path (or relative to the path) specified by the external files directory in the Kinetica configuration file. Wildcards (*) can be used to specify a group of files. Prefix matching is supported, the prefixes must be aligned with directories.
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 1179 of file CreateTableExternal.cs.
|
getset |
Not implemented yet.
The default value is an empty Dictionary.
Definition at line 1184 of file CreateTableExternal.cs.
|
getset |
Optional parameters.
The default value is an empty Dictionary.
Definition at line 2390 of file CreateTableExternal.cs.
|
getset |
Name of the table to be created, in [schema_name.
]table_name format, using standard name resolution rules and meeting table naming criteria.
Definition at line 1151 of file CreateTableExternal.cs.