public class AvroSerialization<T> extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.io.serializer.Serialization<AvroWrapper<T>>
Serialization
used by jobs configured with AvroJob
.Constructor and Description |
---|
AvroSerialization() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Class<?> c) |
org.apache.hadoop.io.serializer.Deserializer<AvroWrapper<T>> |
getDeserializer(Class<AvroWrapper<T>> c)
Returns the specified map output deserializer.
|
org.apache.hadoop.io.serializer.Serializer<AvroWrapper<T>> |
getSerializer(Class<AvroWrapper<T>> c)
Returns the specified output serializer.
|
public boolean accept(Class<?> c)
accept
in interface org.apache.hadoop.io.serializer.Serialization<AvroWrapper<T>>
public org.apache.hadoop.io.serializer.Deserializer<AvroWrapper<T>> getDeserializer(Class<AvroWrapper<T>> c)
getDeserializer
in interface org.apache.hadoop.io.serializer.Serialization<AvroWrapper<T>>
public org.apache.hadoop.io.serializer.Serializer<AvroWrapper<T>> getSerializer(Class<AvroWrapper<T>> c)
getSerializer
in interface org.apache.hadoop.io.serializer.Serialization<AvroWrapper<T>>
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.