org.apache.avro.generic.package.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spark-core Show documentation
Show all versions of spark-core Show documentation
Shaded version of Apache Spark 2.x.x for Presto
The newest version!
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 - 2025 Weber Informatics LLC | Privacy Policy