Kinetica   C#   API  Version 7.2.3.0
Avro.PropertyMap Class Reference

Inherits Dictionary< string, string >.

Public Member Functions

void Parse (JToken jtok)
 Parses the custom properties from the given JSON object and stores them into the schema's list of custom properties More...
 
void Set (string key, string value)
 Adds a custom property to the schema More...
 
void WriteJson (JsonTextWriter writer)
 Writes the schema's custom properties in JSON format More...
 
override bool Equals (object obj)
 Function to compare equality of two PropertyMaps More...
 
override int GetHashCode ()
 Hashcode function More...
 

Detailed Description

Definition at line 27 of file Property.cs.

Member Function Documentation

◆ Equals()

override bool Avro.PropertyMap.Equals ( object  obj)
inline

Function to compare equality of two PropertyMaps

Parameters
objother PropertyMap
Returns
true if contents of the two maps are the same, false otherwise

Definition at line 90 of file Property.cs.

◆ GetHashCode()

override int Avro.PropertyMap.GetHashCode ( )
inline

Hashcode function

Returns

Definition at line 115 of file Property.cs.

◆ Parse()

void Avro.PropertyMap.Parse ( JToken  jtok)
inline

Parses the custom properties from the given JSON object and stores them into the schema's list of custom properties

Parameters
jtokJSON object to prase

Definition at line 39 of file Property.cs.

◆ Set()

void Avro.PropertyMap.Set ( string  key,
string  value 
)
inline

Adds a custom property to the schema

Parameters
keycustom property name
valuecustom property value

Definition at line 56 of file Property.cs.

◆ WriteJson()

void Avro.PropertyMap.WriteJson ( JsonTextWriter  writer)
inline

Writes the schema's custom properties in JSON format

Parameters
writerJSON writer

Definition at line 74 of file Property.cs.


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