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)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected AvroWrapper<D> |
createAvroWrapper()
Creates a new empty
AvroKey instance. |
close, deserialize, getReaderSchema, getWriterSchema, openprotected AvroWrapper<D> createAvroWrapper()
AvroKey instance.createAvroWrapper in class AvroDeserializer<AvroWrapper<D>,D>Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.