All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.avro.generic.package.html Maven / Gradle / Ivy






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:

  • Schema records are implemented as {@link org.apache.avro.generic.GenericRecord}.
  • Schema enums are implemented as {@link org.apache.avro.generic.GenericEnumSymbol}.
  • Schema arrays are implemented as {@link java.util.Collection}.
  • Schema maps are implemented as {@link java.util.Map}.
  • Schema fixed are implemented as {@link org.apache.avro.generic.GenericFixed}.
  • Schema strings are implemented as {@link java.lang.CharSequence}.
  • Schema bytes are implemented as {@link java.nio.ByteBuffer}.
  • Schema ints are implemented as {@link java.lang.Integer}.
  • Schema longs are implemented as {@link java.lang.Long}.
  • Schema floats are implemented as {@link java.lang.Float}.
  • Schema doubles are implemented as {@link java.lang.Double}.
  • Schema booleans are implemented as {@link java.lang.Boolean}.




© 2015 - 2024 Weber Informatics LLC | Privacy Policy