Kinetica   C#   API  Version 7.2.3.1
ColumnTypeExtensions Class Reference

Extension methods for ColumnType. More...

Static Public Member Functions

static ColumnBaseType GetBaseType (this ColumnType columnType)
 Gets the base type for this column type. More...
 
static string GetAvroTypeName (this ColumnBaseType baseType)
 Gets the Avro type name for this base type. More...
 
static string GetAvroTypeName (this ColumnType columnType)
 Gets the Avro type name for this column type. More...
 
static ColumnType FromAvroAndProperties (string avroType, IEnumerable< string >? properties)
 Parse column type from Avro type and properties. More...
 
static ? string GetPropertyName (this ColumnType columnType)
 Gets the Kinetica property name for this column type (if it has one). More...
 

Detailed Description

Extension methods for ColumnType.

Definition at line 103 of file ColumnType.cs.

Member Function Documentation

◆ FromAvroAndProperties()

static ColumnType ColumnTypeExtensions.FromAvroAndProperties ( string  avroType,
IEnumerable< string >?  properties 
)
inlinestatic

Parse column type from Avro type and properties.

Equivalent to Rust's ColumnType::from_avro_and_properties().

Definition at line 169 of file ColumnType.cs.

◆ GetAvroTypeName() [1/2]

static string ColumnTypeExtensions.GetAvroTypeName ( this ColumnBaseType  baseType)
inlinestatic

Gets the Avro type name for this base type.

Equivalent to Rust's ColumnBaseType::avro_type() method.

Definition at line 143 of file ColumnType.cs.

◆ GetAvroTypeName() [2/2]

static string ColumnTypeExtensions.GetAvroTypeName ( this ColumnType  columnType)
inlinestatic

Gets the Avro type name for this column type.

Definition at line 160 of file ColumnType.cs.

◆ GetBaseType()

static ColumnBaseType ColumnTypeExtensions.GetBaseType ( this ColumnType  columnType)
inlinestatic

Gets the base type for this column type.

Equivalent to Rust's ColumnType::base_type() method.

Definition at line 109 of file ColumnType.cs.

◆ GetPropertyName()

static ? string ColumnTypeExtensions.GetPropertyName ( this ColumnType  columnType)
inlinestatic

Gets the Kinetica property name for this column type (if it has one).

Definition at line 224 of file ColumnType.cs.


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