Returns the org.apache.avro.generic.GenericData
or primitive type
representation of the supplied object.
Returns the org.apache.avro.generic.GenericData
or primitive type
representation of the supplied object.
Returns the corresponding AvroType to this AvroTypeIO wrapper.
Returns the corresponding AvroType to this AvroTypeIO wrapper.
Returns this AvroTypeIO instance.
Returns this AvroTypeIO instance.
Attempts to create an object of type T by reading the required data from the supplied binary stream.
Attempts to create an object of type T by reading the required data from the supplied binary stream.
Writes a serialized representation of the supplied object according to the Avro specification for binary encoding.
Writes a serialized representation of the supplied object according to the Avro specification for binary encoding. Throws an AvroSerializationException if writing is unsuccessful.