Converts Avro's GenericRecords to Spark's GenericRowWithSchemas.
Converts Avro's GenericRecords to Spark's GenericRowWithSchemas.
This method relies on the Avro schema being set into the incoming record.
This method caches StructTypes for schema names, thus, it is SENSITIVE to schema naming. If a schema is changed, make sure to either, call 'reset' on the current instance or create a new one.
Cleans up the cache of StructTypes.
Cleans up the cache of StructTypes.
There should be no reason to invoke this method unless a schema already processed by this instance has changed.
This class provides methods to convert Avro's GenericRecords to Spark's GenericRowWithSchemas.