List of all members.
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.
|
void | Set (string key, string value) |
| Adds a custom property to the schema.
|
void | WriteJson (JsonTextWriter writer) |
| Writes the schema's custom properties in JSON format.
|
override bool | Equals (object obj) |
| Function to compare equality of two PropertyMaps.
|
override int | GetHashCode () |
| Hashcode function.
|
Member Function Documentation
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
override int Avro::PropertyMap::GetHashCode |
( |
|
) |
[inline] |
Hashcode function.
- Returns:
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:
-
| jtok | JSON object to prase |
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 |
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