Top Description Interfaces Classes
[default module]

Package org.apache.avro.generic


A generic representation for Avro data.

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:

Interface Summary

Modifier and TypeInterface and Description
public interface
GenericArray<T>

Array that permits reuse of contained elements.

public interface
GenericContainer

Contains data of other types.

public interface
GenericEnumSymbol<E extends GenericEnumSymbol<E>>

An enum symbol.

public interface
GenericFixed

Fixed-size data.

public interface
GenericRecord

A generic instance of a record schema.

public interface
IndexedRecord

A record implementation that permits field access by integer index.

Class Summary

Modifier and TypeClass and Description
public class
GenericData

Utilities for generic Java data.

public class
GenericDatumReader<D>

DatumReader for generic Java objects.

public class
GenericDatumWriter<D>

DatumWriter for generic Java objects.

public class
GenericRecordBuilder

A RecordBuilder for generic records.