Class AvroValueDeserializer<D>

java.lang.Object
org.apache.avro.hadoop.io.AvroDeserializer<AvroWrapper<D>,D>
org.apache.avro.hadoop.io.AvroValueDeserializer<D>
Type Parameters:
D - The java type of the avro data to deserialize.
All Implemented Interfaces:
Deserializer<AvroWrapper<D>>

public class AvroValueDeserializer<D> extends AvroDeserializer<AvroWrapper<D>,D>
Deserializes AvroValue objects within Hadoop.
See Also:
  • Constructor Details

    • AvroValueDeserializer

      public AvroValueDeserializer(Schema writerSchema, Schema readerSchema, ClassLoader classLoader)
      Constructor.
      Parameters:
      writerSchema - The Avro writer schema for the data to deserialize.
      readerSchema - The Avro reader schema for the data to deserialize.
    • AvroValueDeserializer

      public AvroValueDeserializer(Schema writerSchema, Schema readerSchema, DatumReader<D> datumReader)
      Constructor.
      Parameters:
      writerSchema - The Avro writer schema for the data to deserialize.
      readerSchema - The Avro reader schema for the data to deserialize.
      datumReader - The Avro datum reader to use for deserialization.
  • Method Details