D - The java type of the avro data to deserialize.public class AvroKeyDeserializer<D> extends AvroDeserializer<AvroWrapper<D>,D>
org.apache.avro.io.AvroDeserializer| Constructor and Description | 
|---|
AvroKeyDeserializer(Schema writerSchema,
                   Schema readerSchema,
                   ClassLoader classLoader)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected AvroWrapper<D> | 
createAvroWrapper()
Creates a new empty  
AvroKey instance. | 
close, deserialize, getReaderSchema, getWriterSchema, openpublic AvroKeyDeserializer(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()
AvroKey instance.createAvroWrapper in class AvroDeserializer<AvroWrapper<D>,D>Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.