Kinetica   C#   API  Version 7.2.3.0
kinetica.CreateTableRequest Class Reference

A set of parameters for Kinetica.createTable. More...

+ Inheritance diagram for kinetica.CreateTableRequest:
+ Collaboration diagram for kinetica.CreateTableRequest:

Classes

struct  Options
 A set of string constants for the parameter options. More...
 

Public Member Functions

 CreateTableRequest ()
 Constructs a CreateTableRequest object with default parameters. More...
 
 CreateTableRequest (string table_name, string type_id, IDictionary< string, string > options=null)
 Constructs a CreateTableRequest 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 to be created, in [schema_name. More...
 
string type_id [get, set]
 ID of a currently registered type. 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...
 

Detailed Description

A set of parameters for Kinetica.createTable.

Creates a new table. If a new table is being created, the type of the table is given by type_id, which must be the ID of a currently registered type (i.e. one created via Kinetica.createType).

A table may optionally be designated to use a replicated distribution scheme, or be assigned: foreign keys to other tables, a partitioning scheme, and/or a tier strategy.

Definition at line 27 of file CreateTable.cs.

Constructor & Destructor Documentation

◆ CreateTableRequest() [1/2]

kinetica.CreateTableRequest.CreateTableRequest ( )
inline

Constructs a CreateTableRequest object with default parameters.

Definition at line 752 of file CreateTable.cs.

◆ CreateTableRequest() [2/2]

kinetica.CreateTableRequest.CreateTableRequest ( string  table_name,
string  type_id,
IDictionary< string, string >  options = null 
)
inline

Constructs a CreateTableRequest object with the specified parameters.

Parameters
table_nameName of the table to be created, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria. Error for requests with existing table of the same name and type ID may be suppressed by using the NO_ERROR_IF_EXISTS option.
type_idID of a currently registered type. All objects added to the newly created table will be of this type.
optionsOptional parameters. The default value is an empty Dictionary.

Definition at line 1144 of file CreateTable.cs.

Property Documentation

◆ options

IDictionary<string, string> kinetica.CreateTableRequest.options = new Dictionary<string, string>()
getset

Optional parameters.

The default value is an empty Dictionary.

Definition at line 748 of file CreateTable.cs.

◆ table_name

string kinetica.CreateTableRequest.table_name
getset

Name of the table to be created, in [schema_name.

]table_name format, using standard name resolution rules and meeting table naming criteria.

Error for requests with existing table of the same name and type ID may be suppressed by using the NO_ERROR_IF_EXISTS option.

Definition at line 368 of file CreateTable.cs.

◆ type_id

string kinetica.CreateTableRequest.type_id
getset

ID of a currently registered type.

All objects added to the newly created table will be of this type.

Definition at line 373 of file CreateTable.cs.


The documentation for this class was generated from the following file: