Provides access to custom properties (those not defined in the Avro spec) in a JSON object.
More...
|
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...
|
|
Provides access to custom properties (those not defined in the Avro spec) in a JSON object.
◆ Equals()
override bool Avro.PropertyMap.Equals |
( |
object |
obj | ) |
|
|
inline |
Function to compare equality of two PropertyMaps
- Parameters
-
- Returns
- true if contents of the two maps are the same, false otherwise
◆ GetHashCode()
override int Avro.PropertyMap.GetHashCode |
( |
| ) |
|
|
inline |
Hashcode function
- Returns
◆ 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
-
◆ Set()
void Avro.PropertyMap.Set |
( |
string |
key, |
|
|
string |
value |
|
) |
| |
|
inline |
Adds a custom property to the schema
- Parameters
-
key | custom property name |
value | custom property value |
◆ WriteJson()
void Avro.PropertyMap.WriteJson |
( |
JsonTextWriter |
writer | ) |
|
|
inline |
Writes the schema's custom properties in JSON format
- Parameters
-
The documentation for this class was generated from the following file:
- src/apache/main/Schema/Property.cs