| Interface | Description | 
|---|---|
| GenericArray<T> | Array that permits reuse of contained elements. | 
| GenericContainer | Contains data of other types. | 
| GenericData.InstanceSupplier | |
| GenericEnumSymbol<E extends GenericEnumSymbol<E>> | An enum symbol. | 
| GenericFixed | Fixed-size data. | 
| GenericRecord | A generic instance of a record schema. | 
| IndexedRecord | A record implementation that permits field access by integer index. | 
| Class | Description | 
|---|---|
| GenericData | Utilities for generic Java data. | 
| GenericData.Array<T> | Default implementation of an array. | 
| GenericData.EnumSymbol | Default implementation of  GenericEnumSymbol. | 
| GenericData.Fixed | Default implementation of  GenericFixed. | 
| GenericData.Record | Default implementation of  GenericRecord. | 
| GenericDatumReader<D> | DatumReaderfor generic Java objects. | 
| GenericDatumWriter<D> | DatumWriterfor generic Java objects. | 
| GenericRecordBuilder | A RecordBuilder for generic records. | 
| Enum | Description | 
|---|---|
| GenericData.StringType | Used to specify the Java type for a string schema. | 
This representation is best for applications which deal with dynamic data, whose schemas are not known until runtime.
Avro schemas are mapped to Java types as follows:
GenericRecord.
GenericEnumSymbol.
Collection.
Map.
GenericFixed.
CharSequence.
ByteBuffer.
Integer.
Long.
Float.
Double.
Boolean.
Copyright © 2009–2020 The Apache Software Foundation. All rights reserved.