|
| | 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 10 of file KineticaType.cs.
◆ KineticaType() [1/5]
| 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 653 of file KineticaType.cs.
◆ KineticaType() [2/5]
| 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 665 of file KineticaType.cs.
◆ KineticaType() [3/5]
| 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 676 of file KineticaType.cs.
◆ KineticaType() [4/5]
| KineticaType.KineticaType |
( |
string |
typeSchema | ) |
|
|
inline |
◆ KineticaType() [5/5]
| 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 699 of file KineticaType.cs.
◆ create()
| string 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 737 of file KineticaType.cs.
◆ fromClass() [1/2]
| static KineticaType 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 499 of file KineticaType.cs.
◆ fromClass() [2/2]
| static KineticaType 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 514 of file KineticaType.cs.
◆ fromDynamicSchema()
| static KineticaType 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 294 of file KineticaType.cs.
◆ fromObject() [1/2]
| static KineticaType 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 624 of file KineticaType.cs.
◆ fromObject() [2/2]
| static KineticaType 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 639 of file KineticaType.cs.
◆ fromTable()
◆ fromTypeID()
◆ getColumn() [1/2]
| Column KineticaType.getColumn |
( |
int |
index | ) |
|
|
inline |
◆ getColumn() [2/2]
| Column KineticaType.getColumn |
( |
string |
name | ) |
|
|
inline |
◆ getColumnCount()
| int KineticaType.getColumnCount |
( |
| ) |
|
|
inline |
◆ getColumnIndex()
| int KineticaType.getColumnIndex |
( |
string |
name | ) |
|
|
inline |
◆ getColumns()
| IList<Column> KineticaType.getColumns |
( |
| ) |
|
|
inline |
◆ getLabel()
| string KineticaType.getLabel |
( |
| ) |
|
|
inline |
◆ getSchema()
| Schema KineticaType.getSchema |
( |
| ) |
|
|
inline |
◆ getSchemaString()
| string KineticaType.getSchemaString |
( |
| ) |
|
|
inline |
◆ getSourceType()
| Type? KineticaType.getSourceType |
( |
| ) |
|
|
inline |
◆ getTypeID()
| string KineticaType.getTypeID |
( |
| ) |
|
|
inline |
◆ hasColumn()
| bool KineticaType.hasColumn |
( |
string |
name | ) |
|
|
inline |
◆ saveSourceType()
| void 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 725 of file KineticaType.cs.
The documentation for this class was generated from the following file: