Class for fields defined in a record More...
Public Types | |
enum | SortOrder { ascending, descending, ignore } |
Enum for the sorting order of record fields More... | |
Public Member Functions | |
string | GetProperty (string key) |
Returns the field's custom property value given the property name More... | |
override bool | Equals (object obj) |
Compares two field objects More... | |
override int | GetHashCode () |
Hash code function More... | |
Public Attributes | |
readonly string | Name |
Name of the field. More... | |
readonly IList< string > | aliases |
List of aliases for the field name More... | |
Properties | |
int | Pos [get] |
Position of the field within its record. More... | |
string | Documentation [get] |
Documentation for the field, if any. Null if there is no documentation. More... | |
JToken | DefaultValue [get] |
The default value for the field stored as JSON object, if defined. Otherwise, null. More... | |
SortOrder | Ordering [get] |
Order of the field More... | |
Schema | Schema [get] |
Field type's schema More... | |
Class for fields defined in a record
enum Avro.Field.SortOrder |
Enum for the sorting order of record fields
|
inline |
Compares two field objects
obj | field to compare with this field |
|
inline |
Hash code function
|
inline |
Returns the field's custom property value given the property name
key | custom property name |
readonly IList<string> Avro.Field.aliases |
List of aliases for the field name
readonly string Avro.Field.Name |
Name of the field.
|
get |
The default value for the field stored as JSON object, if defined. Otherwise, null.
|
get |
Documentation for the field, if any. Null if there is no documentation.
|
get |
Order of the field
|
get |
Position of the field within its record.