Class AvroRecordSchema

All Implemented Interfaces:
Serializable, SchemaProvider

public class AvroRecordSchema extends GetterBasedSchemaProviderV2
A SchemaProvider for AVRO generated SpecificRecords and POJOs.

This provider infers a schema from generated SpecificRecord objects, and creates schemas and rows that bind to the appropriate fields. This provider also infers schemas from Java POJO objects, creating a schema that matches that inferred by the AVRO libraries.

See Also: