Kinetica   C#   API  Version 7.2.3.0
Avro.Specific.ObjectCreator Class Reference

Classes

struct  NameCtorKey
 

Public Member Functions

delegate object CtorDelegate ()
 
Type GetType (Schema schema)
 Gets the type for the specified schema More...
 
Type GetType (string name, Schema.Type schemaType)
 Gets the type of the specified type name More...
 
CtorDelegate GetConstructor (string name, Schema.Type schemaType, Type type)
 Gets the default constructor for the specified type More...
 
object New (string name, Schema.Type schemaType)
 Creates new instance of the given type More...
 

Properties

static ObjectCreator Instance [get]
 

Detailed Description

Definition at line 27 of file ObjectCreator.cs.

Member Function Documentation

◆ CtorDelegate()

delegate object Avro.Specific.ObjectCreator.CtorDelegate ( )

◆ GetConstructor()

CtorDelegate Avro.Specific.ObjectCreator.GetConstructor ( string  name,
Schema.Type  schemaType,
Type  type 
)
inline

Gets the default constructor for the specified type

Parameters
namename of object for the type
schemaTypeschema type for the object
typetype of the object
Returns
Default constructor for the type

Definition at line 284 of file ObjectCreator.cs.

◆ GetType() [1/2]

Type Avro.Specific.ObjectCreator.GetType ( Schema  schema)
inline

Gets the type for the specified schema

Parameters
schema
Returns

Definition at line 174 of file ObjectCreator.cs.

◆ GetType() [2/2]

Type Avro.Specific.ObjectCreator.GetType ( string  name,
Schema.Type  schemaType 
)
inline

Gets the type of the specified type name

Parameters
namename of the object to get type of
schemaTypeschema type for the object
Returns
Type

Definition at line 261 of file ObjectCreator.cs.

◆ New()

object Avro.Specific.ObjectCreator.New ( string  name,
Schema.Type  schemaType 
)
inline

Creates new instance of the given type

Parameters
namefully qualified name of the type
schemaTypetype of schema
Returns
new object of the given type

Definition at line 305 of file ObjectCreator.cs.

Property Documentation

◆ Instance

ObjectCreator Avro.Specific.ObjectCreator.Instance
staticget

Definition at line 30 of file ObjectCreator.cs.


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