D
- The java type of the avro data to deserialize.public class AvroValueDeserializer<D> extends AvroDeserializer<AvroWrapper<D>,D>
org.apache.avro.io.AvroDeserializer
Constructor and Description |
---|
AvroValueDeserializer(Schema writerSchema,
Schema readerSchema,
ClassLoader classLoader)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected AvroWrapper<D> |
createAvroWrapper()
Creates a new empty
AvroValue instance. |
close, deserialize, getReaderSchema, getWriterSchema, open
public AvroValueDeserializer(Schema writerSchema, Schema readerSchema, ClassLoader classLoader)
writerSchema
- The Avro writer schema for the data to deserialize.readerSchema
- The Avro reader schema for the data to deserialize.protected AvroWrapper<D> createAvroWrapper()
AvroValue
instance.createAvroWrapper
in class AvroDeserializer<AvroWrapper<D>,D>
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.