|
| KineticaType (IList< Column > columns) |
| Create a KineticaType object with the given column information. More...
|
|
| KineticaType (string label, IList< Column > columns) |
| Create a KineticaType object with the given column and label information. More...
|
|
| KineticaType (string label, IList< Column > columns, IDictionary< string, IList< string >> properties) |
| Create a KineticaType object with the given column, label, and property information. More...
|
|
| KineticaType (string typeSchema) |
| Create a KineticaType object using the string-formatted schema for the type. More...
|
|
| KineticaType (string label, string typeSchema, IDictionary< string, IList< string >> properties, string? typeId=null) |
| Create a KineticaType object using the string-formatted schema and properties for its columns. More...
|
|
string | getLabel () |
|
IList< Column > | getColumns () |
|
Column | getColumn (int index) |
|
Column | getColumn (string name) |
|
int | getColumnCount () |
|
int | getColumnIndex (string name) |
|
bool | hasColumn (string name) |
|
Schema | getSchema () |
|
Type? | getSourceType () |
|
string | getSchemaString () |
|
string | getTypeID () |
|
void | saveSourceType (Type sourceType) |
| Saves the given type as this KineticaType's source type. More...
|
|
string | create (Kinetica kinetica) |
| Given a handle to the server, creates a type in the database based on this data type. More...
|
|
|
static KineticaType | fromTable (Kinetica kinetica, string tableName) |
| Create a KineticaType object based on an existing table in the database. More...
|
|
static KineticaType | fromTypeID (Kinetica kinetica, string typeId) |
| Create a KineticaType object based on an existing type in the database. More...
|
|
static KineticaType | fromDynamicSchema (string dynamicTableSchemaString, Object[] columnHeaders, Object[] columnTypes) |
| Create a KineticaType object based on information provided in a dynamic schema. More...
|
|
static KineticaType | fromClass (Type recordClass, IDictionary< string, IList< string >> properties=null) |
| Create a KineticaType object from properties of a record class and Kinetica column properties. More...
|
|
static KineticaType | fromClass (Type recordClass, string label, IDictionary< string, IList< string >>? properties=null) |
| Create a KineticaType object from properties of a record class and Kinetica column properties. More...
|
|
static KineticaType | fromObject (Object recordObj, IDictionary< string, IList< string >> properties=null) |
| Create a KineticaType object from properties of a record object and Kinetica column properties. More...
|
|
static KineticaType | fromObject (Object recordObj, string label="", IDictionary< string, IList< string >> properties=null) |
| Create a KineticaType object from properties of a record object and Kinetica column properties. More...
|
|
Definition at line 9 of file KineticaType.cs.
◆ KineticaType() [1/5]
kinetica.KineticaType.KineticaType |
( |
IList< Column > |
columns | ) |
|
|
inline |
Create a KineticaType object with the given column information.
- Parameters
-
columns | A list of Columns with information on all the columns for the type. |
Definition at line 533 of file KineticaType.cs.
◆ KineticaType() [2/5]
kinetica.KineticaType.KineticaType |
( |
string |
label, |
|
|
IList< Column > |
columns |
|
) |
| |
|
inline |
Create a KineticaType object with the given column and label information.
- Parameters
-
label | The label for the type. |
columns | A list of Columns with information on all the columns for the type. |
Definition at line 545 of file KineticaType.cs.
◆ KineticaType() [3/5]
kinetica.KineticaType.KineticaType |
( |
string |
label, |
|
|
IList< Column > |
columns, |
|
|
IDictionary< string, IList< string >> |
properties |
|
) |
| |
|
inline |
Create a KineticaType object with the given column, label, and property information.
- Parameters
-
label | The label for the type. |
columns | A list of Columns with information on all the columns for the type. |
properties | A per-column property information |
Definition at line 556 of file KineticaType.cs.
◆ KineticaType() [4/5]
kinetica.KineticaType.KineticaType |
( |
string |
typeSchema | ) |
|
|
inline |
◆ KineticaType() [5/5]
kinetica.KineticaType.KineticaType |
( |
string |
label, |
|
|
string |
typeSchema, |
|
|
IDictionary< string, IList< string >> |
properties, |
|
|
string? |
typeId = null |
|
) |
| |
|
inline |
Create a KineticaType object using the string-formatted schema and properties for its columns.
- Parameters
-
label | The label for the type. |
typeSchema | The string-formatted schema for the type. |
properties | A per-column based set of properties. |
typeId | An optional ID for this type with which to identify it in the database. |
Definition at line 579 of file KineticaType.cs.
◆ create()
string kinetica.KineticaType.create |
( |
Kinetica |
kinetica | ) |
|
|
inline |
Given a handle to the server, creates a type in the database based on this data type.
- Parameters
-
kinetica | The handle to the database server. |
- Returns
- The ID with which the database identifies this type.
Definition at line 617 of file KineticaType.cs.
◆ fromClass() [1/2]
static KineticaType kinetica.KineticaType.fromClass |
( |
Type |
recordClass, |
|
|
IDictionary< string, IList< string >> |
properties = null |
|
) |
| |
|
inlinestatic |
Create a KineticaType object from properties of a record class and Kinetica column properties.
It ignores any properties inherited from base classes, and also ignores any member fields of the class.
For integer, long, float, and double column types, the user can use the nullable type (e.g. int?) to declare the column to be nullable. The properties does not need to contain the ColumnProperty.NULLABLE property. However, for string type columns, instead of using nullable type, use the regular string type; additionally, add the ColumnProperty.NULLABLE in properties .
- Parameters
-
recordClass | A class type. |
properties | Properties for the columns. |
- Returns
Definition at line 379 of file KineticaType.cs.
◆ fromClass() [2/2]
static KineticaType kinetica.KineticaType.fromClass |
( |
Type |
recordClass, |
|
|
string |
label, |
|
|
IDictionary< string, IList< string >>? |
properties = null |
|
) |
| |
|
inlinestatic |
Create a KineticaType object from properties of a record class and Kinetica column properties.
It ignores any properties inherited from base classes, and also ignores any member fields of the class.
- Parameters
-
recordClass | A class type. |
label | Any label for the type. |
properties | Properties for the columns. |
- Returns
Definition at line 394 of file KineticaType.cs.
◆ fromDynamicSchema()
static KineticaType kinetica.KineticaType.fromDynamicSchema |
( |
string |
dynamicTableSchemaString, |
|
|
Object [] |
columnHeaders, |
|
|
Object [] |
columnTypes |
|
) |
| |
|
inlinestatic |
Create a KineticaType object based on information provided in a dynamic schema.
- Parameters
-
dynamicTableSchemaString | The dynamic schema string. |
columnHeaders | List of column names. |
columnTypes | List of column types. |
- Returns
Definition at line 201 of file KineticaType.cs.
◆ fromObject() [1/2]
static KineticaType kinetica.KineticaType.fromObject |
( |
Object |
recordObj, |
|
|
IDictionary< string, IList< string >> |
properties = null |
|
) |
| |
|
inlinestatic |
Create a KineticaType object from properties of a record object and Kinetica column properties.
It ignores any properties inherited from base classes, and also ignores any member fields of the class.
- Parameters
-
recordObj | A record object. |
properties | Properties for the columns. |
- Returns
Definition at line 504 of file KineticaType.cs.
◆ fromObject() [2/2]
static KineticaType kinetica.KineticaType.fromObject |
( |
Object |
recordObj, |
|
|
string |
label = "" , |
|
|
IDictionary< string, IList< string >> |
properties = null |
|
) |
| |
|
inlinestatic |
Create a KineticaType object from properties of a record object and Kinetica column properties.
It ignores any properties inherited from base classes, and also ignores any member fields of the class.
- Parameters
-
recordObj | A record object. |
label | Any label for the type. |
properties | Properties for the columns. |
- Returns
Definition at line 519 of file KineticaType.cs.
◆ fromTable()
◆ fromTypeID()
◆ getColumn() [1/2]
Column kinetica.KineticaType.getColumn |
( |
int |
index | ) |
|
|
inline |
◆ getColumn() [2/2]
Column kinetica.KineticaType.getColumn |
( |
string |
name | ) |
|
|
inline |
◆ getColumnCount()
int kinetica.KineticaType.getColumnCount |
( |
| ) |
|
|
inline |
◆ getColumnIndex()
int kinetica.KineticaType.getColumnIndex |
( |
string |
name | ) |
|
|
inline |
◆ getColumns()
IList<Column> kinetica.KineticaType.getColumns |
( |
| ) |
|
|
inline |
◆ getLabel()
string kinetica.KineticaType.getLabel |
( |
| ) |
|
|
inline |
◆ getSchema()
Schema kinetica.KineticaType.getSchema |
( |
| ) |
|
|
inline |
◆ getSchemaString()
string kinetica.KineticaType.getSchemaString |
( |
| ) |
|
|
inline |
◆ getSourceType()
Type? kinetica.KineticaType.getSourceType |
( |
| ) |
|
|
inline |
◆ getTypeID()
string kinetica.KineticaType.getTypeID |
( |
| ) |
|
|
inline |
◆ hasColumn()
bool kinetica.KineticaType.hasColumn |
( |
string |
name | ) |
|
|
inline |
◆ saveSourceType()
void kinetica.KineticaType.saveSourceType |
( |
Type |
sourceType | ) |
|
|
inline |
Saves the given type as this KineticaType's source type.
- Parameters
-
sourceType | The type that works as the source. |
Definition at line 605 of file KineticaType.cs.
The documentation for this class was generated from the following file: