Kinetica C# API  Version 6.2.0.1
kinetica.KineticaData Class Reference

KineticaData - class to help with Avro Encoding for Kinetica More...

+ Inheritance diagram for kinetica.KineticaData:

Public Member Functions

 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...
 

Static Public Member Functions

static RecordSchema SchemaFromType (System.Type t, KineticaType ktype=null)
 Create an Avro Schema from a System.Type and a KineticaType. More...
 

Properties

Schema Schema [get]
 Avro Schema for this class More...
 

Detailed Description

KineticaData - class to help with Avro Encoding for Kinetica

Definition at line 14 of file KineticaData.cs.

Constructor & Destructor Documentation

◆ KineticaData() [1/2]

kinetica.KineticaData.KineticaData ( KineticaType  type)
inline

Constructor from Kinetica Type

Parameters
typeType received from Kinetica Server

Definition at line 34 of file KineticaData.cs.

◆ KineticaData() [2/2]

kinetica.KineticaData.KineticaData ( System.Type  type = null)
inline

Default constructor, with optional System.Type

Parameters
typeSystem.Type for this class to map

Definition at line 44 of file KineticaData.cs.

Member Function Documentation

◆ Get()

object kinetica.KineticaData.Get ( int  fieldPos)
inline

Retrieve a specific property from this object

Parameters
fieldPosIndex of property to retrieve
Returns
Value of the requested property

Definition at line 56 of file KineticaData.cs.

◆ Put()

void kinetica.KineticaData.Put ( int  fieldPos,
object  fieldValue 
)
inline

Write a specific property to this object

Parameters
fieldPosIndex of the property to write
fieldValueNew value to be written

Definition at line 66 of file KineticaData.cs.

◆ SchemaFromType()

static RecordSchema kinetica.KineticaData.SchemaFromType ( System.Type  t,
KineticaType  ktype = null 
)
inlinestatic

Create an Avro Schema from a System.Type and a KineticaType.

Parameters
tSystem.Type to be processed.
ktypeKineticaType to be processed;
Returns

Definition at line 79 of file KineticaData.cs.

Property Documentation

◆ Schema

Schema kinetica.KineticaData.Schema
get

Avro Schema for this class

Definition at line 23 of file KineticaData.cs.


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