- getFields
If this is a record, returns the fields in it. The returned list is in the order
of their positions.
- getType
Return the type of this schema.
- toString
Render this as JSON [http://json.org/].
- getTypes
If this is a union, returns its types.
- getField
If this is a record, returns the Field with the given name fieldName. If there
is no field by that n
- create
Create a schema for a primitive type.
- getElementType
If this is an array, returns its element type.
- createRecord
Create an anonymous record schema.
- getName
If this is a record, enum or fixed, returns its name, otherwise the name of the
primitive type.
- getValueType
If this is a map, returns its value type.
- setFields
If this is a record, set its fields. The fields can be set only once in a
schema.
- getFullName
If this is a record, enum or fixed, returns its namespace-qualified name,
otherwise returns the name