Kinetica C# API  Version 6.2.0.1
kinetica.KineticaType.Column Class Reference

Public Types

enum  ColumnType {
  ColumnType.BYTES = Avro.EnumSchema.Type.Bytes,
  ColumnType.DOUBLE = Avro.EnumSchema.Type.Double,
  ColumnType.FLOAT = Avro.EnumSchema.Type.Float,
  ColumnType.INT = Avro.EnumSchema.Type.Int,
  ColumnType.LONG = Avro.EnumSchema.Type.Long,
  ColumnType.STRING = Avro.EnumSchema.Type.String,
  ColumnType.DEFAULT = Avro.EnumSchema.Type.Error
}
 

Public Member Functions

 Column (string name, ColumnType type, IList< string > properties=null)
 Creates a Column object from the given name, type, and properties. More...
 
string getName ()
 Returns the name of the column. More...
 
ColumnType getType ()
 Returns the enumeration for the column type. More...
 
bool isNullable ()
 Returns if the column is nullable. More...
 
IList< string > getProperties ()
 Returns the properties for the column. More...
 
string getTypeString ()
 Returns the string format of the data type. More...
 
override string ToString ()
 

Detailed Description

Definition at line 11 of file KineticaType.cs.

Member Enumeration Documentation

◆ ColumnType

Enumerator
BYTES 
DOUBLE 
FLOAT 
INT 
LONG 
STRING 
DEFAULT 

Definition at line 13 of file KineticaType.cs.

Constructor & Destructor Documentation

◆ Column()

kinetica.KineticaType.Column.Column ( string  name,
ColumnType  type,
IList< string >  properties = null 
)
inline

Creates a Column object from the given name, type, and properties.

Parameters
name
type
properties

Definition at line 35 of file KineticaType.cs.

Member Function Documentation

◆ getName()

string kinetica.KineticaType.Column.getName ( )
inline

Returns the name of the column.

Returns

Definition at line 49 of file KineticaType.cs.

◆ getProperties()

IList<string> kinetica.KineticaType.Column.getProperties ( )
inline

Returns the properties for the column.

Returns

Definition at line 67 of file KineticaType.cs.

◆ getType()

ColumnType kinetica.KineticaType.Column.getType ( )
inline

Returns the enumeration for the column type.

Returns

Definition at line 55 of file KineticaType.cs.

◆ getTypeString()

string kinetica.KineticaType.Column.getTypeString ( )
inline

Returns the string format of the data type.

Returns

Definition at line 75 of file KineticaType.cs.

◆ isNullable()

bool kinetica.KineticaType.Column.isNullable ( )
inline

Returns if the column is nullable.

Returns

Definition at line 61 of file KineticaType.cs.

◆ ToString()

override string kinetica.KineticaType.Column.ToString ( )
inline

Definition at line 131 of file KineticaType.cs.


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