This method was overriden so that every collection is read as a Scala's mutable.ListBuffer instead of Avro's GenericData.ARRAY.
This method was overriden so that every collection is read as a Scala's mutable.ListBuffer instead of Avro's GenericData.ARRAY.
This method was overriden since Avro's original implementation relies on Java HashMaps, which are not directly translatable to Spark MapType.
This method was overriden since Avro's original implementation relies on Java HashMaps, which are not directly translatable to Spark MapType.
This method was overriden to force all Strings to be read as Scala strings instead of Avro's org.apache.avro.util.Utf8.
This method was overriden to force all Strings to be read as Scala strings instead of Avro's org.apache.avro.util.Utf8.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
Avro uses its own representations of Strings and Arrays, as well as a Java HashMap to back map records.
As those types are not directly translatable to Scala, this class overrides SpecificDatumReader to manually perform the translations at runtime.